diff --git a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.Designer.cs b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.Designer.cs index c3334a8..c2e3f24 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.Designer.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.Designer.cs @@ -56,148 +56,103 @@ this.tbFrameRate = new System.Windows.Forms.TextBox(); this.tbGain = new System.Windows.Forms.TextBox(); this.tbExposure = new System.Windows.Forms.TextBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // cbDeviceList // - this.cbDeviceList.AccessibleDescription = null; - this.cbDeviceList.AccessibleName = null; resources.ApplyResources(this.cbDeviceList, "cbDeviceList"); - this.cbDeviceList.BackgroundImage = null; - this.cbDeviceList.Font = null; this.cbDeviceList.FormattingEnabled = true; this.cbDeviceList.Name = "cbDeviceList"; // // pictureBox1 // - this.pictureBox1.AccessibleDescription = null; - this.pictureBox1.AccessibleName = null; resources.ApplyResources(this.pictureBox1, "pictureBox1"); this.pictureBox1.BackColor = System.Drawing.SystemColors.ControlDarkDark; - this.pictureBox1.BackgroundImage = null; - this.pictureBox1.Font = null; - this.pictureBox1.ImageLocation = null; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.TabStop = false; // // groupBox1 // - this.groupBox1.AccessibleDescription = null; - this.groupBox1.AccessibleName = null; resources.ApplyResources(this.groupBox1, "groupBox1"); - this.groupBox1.BackgroundImage = null; this.groupBox1.Controls.Add(this.bnClose); this.groupBox1.Controls.Add(this.bnOpen); this.groupBox1.Controls.Add(this.bnEnum); - this.groupBox1.Font = null; this.groupBox1.Name = "groupBox1"; this.groupBox1.TabStop = false; // // bnClose // - this.bnClose.AccessibleDescription = null; - this.bnClose.AccessibleName = null; resources.ApplyResources(this.bnClose, "bnClose"); - this.bnClose.BackgroundImage = null; - this.bnClose.Font = null; this.bnClose.Name = "bnClose"; this.bnClose.UseVisualStyleBackColor = true; this.bnClose.Click += new System.EventHandler(this.bnClose_Click); // // bnOpen // - this.bnOpen.AccessibleDescription = null; - this.bnOpen.AccessibleName = null; resources.ApplyResources(this.bnOpen, "bnOpen"); - this.bnOpen.BackgroundImage = null; - this.bnOpen.Font = null; this.bnOpen.Name = "bnOpen"; this.bnOpen.UseVisualStyleBackColor = true; this.bnOpen.Click += new System.EventHandler(this.bnOpen_Click); // // bnEnum // - this.bnEnum.AccessibleDescription = null; - this.bnEnum.AccessibleName = null; resources.ApplyResources(this.bnEnum, "bnEnum"); - this.bnEnum.BackgroundImage = null; - this.bnEnum.Font = null; this.bnEnum.Name = "bnEnum"; this.bnEnum.UseVisualStyleBackColor = true; this.bnEnum.Click += new System.EventHandler(this.bnEnum_Click); // // groupBox2 // - this.groupBox2.AccessibleDescription = null; - this.groupBox2.AccessibleName = null; resources.ApplyResources(this.groupBox2, "groupBox2"); - this.groupBox2.BackgroundImage = null; this.groupBox2.Controls.Add(this.bnTriggerExec); this.groupBox2.Controls.Add(this.cbSoftTrigger); this.groupBox2.Controls.Add(this.bnStopGrab); this.groupBox2.Controls.Add(this.bnStartGrab); this.groupBox2.Controls.Add(this.bnTriggerMode); this.groupBox2.Controls.Add(this.bnContinuesMode); - this.groupBox2.Font = null; this.groupBox2.Name = "groupBox2"; this.groupBox2.TabStop = false; // // bnTriggerExec // - this.bnTriggerExec.AccessibleDescription = null; - this.bnTriggerExec.AccessibleName = null; resources.ApplyResources(this.bnTriggerExec, "bnTriggerExec"); - this.bnTriggerExec.BackgroundImage = null; - this.bnTriggerExec.Font = null; this.bnTriggerExec.Name = "bnTriggerExec"; this.bnTriggerExec.UseVisualStyleBackColor = true; this.bnTriggerExec.Click += new System.EventHandler(this.bnTriggerExec_Click); // // cbSoftTrigger // - this.cbSoftTrigger.AccessibleDescription = null; - this.cbSoftTrigger.AccessibleName = null; resources.ApplyResources(this.cbSoftTrigger, "cbSoftTrigger"); - this.cbSoftTrigger.BackgroundImage = null; - this.cbSoftTrigger.Font = null; this.cbSoftTrigger.Name = "cbSoftTrigger"; this.cbSoftTrigger.UseVisualStyleBackColor = true; this.cbSoftTrigger.CheckedChanged += new System.EventHandler(this.cbSoftTrigger_CheckedChanged); // // bnStopGrab // - this.bnStopGrab.AccessibleDescription = null; - this.bnStopGrab.AccessibleName = null; resources.ApplyResources(this.bnStopGrab, "bnStopGrab"); - this.bnStopGrab.BackgroundImage = null; - this.bnStopGrab.Font = null; this.bnStopGrab.Name = "bnStopGrab"; this.bnStopGrab.UseVisualStyleBackColor = true; this.bnStopGrab.Click += new System.EventHandler(this.bnStopGrab_Click); // // bnStartGrab // - this.bnStartGrab.AccessibleDescription = null; - this.bnStartGrab.AccessibleName = null; resources.ApplyResources(this.bnStartGrab, "bnStartGrab"); - this.bnStartGrab.BackgroundImage = null; - this.bnStartGrab.Font = null; this.bnStartGrab.Name = "bnStartGrab"; this.bnStartGrab.UseVisualStyleBackColor = true; this.bnStartGrab.Click += new System.EventHandler(this.bnStartGrab_Click); // // bnTriggerMode // - this.bnTriggerMode.AccessibleDescription = null; - this.bnTriggerMode.AccessibleName = null; resources.ApplyResources(this.bnTriggerMode, "bnTriggerMode"); - this.bnTriggerMode.BackgroundImage = null; - this.bnTriggerMode.Font = null; this.bnTriggerMode.Name = "bnTriggerMode"; this.bnTriggerMode.TabStop = true; this.bnTriggerMode.UseMnemonic = false; @@ -206,11 +161,7 @@ // // bnContinuesMode // - this.bnContinuesMode.AccessibleDescription = null; - this.bnContinuesMode.AccessibleName = null; resources.ApplyResources(this.bnContinuesMode, "bnContinuesMode"); - this.bnContinuesMode.BackgroundImage = null; - this.bnContinuesMode.Font = null; this.bnContinuesMode.Name = "bnContinuesMode"; this.bnContinuesMode.TabStop = true; this.bnContinuesMode.UseVisualStyleBackColor = true; @@ -218,68 +169,45 @@ // // groupBox3 // - this.groupBox3.AccessibleDescription = null; - this.groupBox3.AccessibleName = null; resources.ApplyResources(this.groupBox3, "groupBox3"); - this.groupBox3.BackgroundImage = null; this.groupBox3.Controls.Add(this.bnSavePng); this.groupBox3.Controls.Add(this.bnSaveTiff); this.groupBox3.Controls.Add(this.bnSaveJpg); this.groupBox3.Controls.Add(this.bnSaveBmp); - this.groupBox3.Font = null; this.groupBox3.Name = "groupBox3"; this.groupBox3.TabStop = false; // // bnSavePng // - this.bnSavePng.AccessibleDescription = null; - this.bnSavePng.AccessibleName = null; resources.ApplyResources(this.bnSavePng, "bnSavePng"); - this.bnSavePng.BackgroundImage = null; - this.bnSavePng.Font = null; this.bnSavePng.Name = "bnSavePng"; this.bnSavePng.UseVisualStyleBackColor = true; this.bnSavePng.Click += new System.EventHandler(this.bnSavePng_Click); // // bnSaveTiff // - this.bnSaveTiff.AccessibleDescription = null; - this.bnSaveTiff.AccessibleName = null; resources.ApplyResources(this.bnSaveTiff, "bnSaveTiff"); - this.bnSaveTiff.BackgroundImage = null; - this.bnSaveTiff.Font = null; this.bnSaveTiff.Name = "bnSaveTiff"; this.bnSaveTiff.UseVisualStyleBackColor = true; this.bnSaveTiff.Click += new System.EventHandler(this.bnSaveTiff_Click); // // bnSaveJpg // - this.bnSaveJpg.AccessibleDescription = null; - this.bnSaveJpg.AccessibleName = null; resources.ApplyResources(this.bnSaveJpg, "bnSaveJpg"); - this.bnSaveJpg.BackgroundImage = null; - this.bnSaveJpg.Font = null; this.bnSaveJpg.Name = "bnSaveJpg"; this.bnSaveJpg.UseVisualStyleBackColor = true; this.bnSaveJpg.Click += new System.EventHandler(this.bnSaveJpg_Click); // // bnSaveBmp // - this.bnSaveBmp.AccessibleDescription = null; - this.bnSaveBmp.AccessibleName = null; resources.ApplyResources(this.bnSaveBmp, "bnSaveBmp"); - this.bnSaveBmp.BackgroundImage = null; - this.bnSaveBmp.Font = null; this.bnSaveBmp.Name = "bnSaveBmp"; this.bnSaveBmp.UseVisualStyleBackColor = true; this.bnSaveBmp.Click += new System.EventHandler(this.bnSaveBmp_Click); // // groupBox4 // - this.groupBox4.AccessibleDescription = null; - this.groupBox4.AccessibleName = null; resources.ApplyResources(this.groupBox4, "groupBox4"); - this.groupBox4.BackgroundImage = null; this.groupBox4.Controls.Add(this.bnSetParam); this.groupBox4.Controls.Add(this.bnGetParam); this.groupBox4.Controls.Add(this.label3); @@ -288,98 +216,79 @@ this.groupBox4.Controls.Add(this.tbFrameRate); this.groupBox4.Controls.Add(this.tbGain); this.groupBox4.Controls.Add(this.tbExposure); - this.groupBox4.Font = null; this.groupBox4.Name = "groupBox4"; this.groupBox4.TabStop = false; // // bnSetParam // - this.bnSetParam.AccessibleDescription = null; - this.bnSetParam.AccessibleName = null; resources.ApplyResources(this.bnSetParam, "bnSetParam"); - this.bnSetParam.BackgroundImage = null; - this.bnSetParam.Font = null; this.bnSetParam.Name = "bnSetParam"; this.bnSetParam.UseVisualStyleBackColor = true; this.bnSetParam.Click += new System.EventHandler(this.bnSetParam_Click); // // bnGetParam // - this.bnGetParam.AccessibleDescription = null; - this.bnGetParam.AccessibleName = null; resources.ApplyResources(this.bnGetParam, "bnGetParam"); - this.bnGetParam.BackgroundImage = null; - this.bnGetParam.Font = null; this.bnGetParam.Name = "bnGetParam"; this.bnGetParam.UseVisualStyleBackColor = true; this.bnGetParam.Click += new System.EventHandler(this.bnGetParam_Click); // // label3 // - this.label3.AccessibleDescription = null; - this.label3.AccessibleName = null; resources.ApplyResources(this.label3, "label3"); - this.label3.Font = null; this.label3.Name = "label3"; // // label2 // - this.label2.AccessibleDescription = null; - this.label2.AccessibleName = null; resources.ApplyResources(this.label2, "label2"); - this.label2.Font = null; this.label2.Name = "label2"; // // label1 // - this.label1.AccessibleDescription = null; - this.label1.AccessibleName = null; resources.ApplyResources(this.label1, "label1"); - this.label1.Font = null; this.label1.Name = "label1"; // // tbFrameRate // - this.tbFrameRate.AccessibleDescription = null; - this.tbFrameRate.AccessibleName = null; resources.ApplyResources(this.tbFrameRate, "tbFrameRate"); - this.tbFrameRate.BackgroundImage = null; - this.tbFrameRate.Font = null; this.tbFrameRate.Name = "tbFrameRate"; // // tbGain // - this.tbGain.AccessibleDescription = null; - this.tbGain.AccessibleName = null; resources.ApplyResources(this.tbGain, "tbGain"); - this.tbGain.BackgroundImage = null; - this.tbGain.Font = null; this.tbGain.Name = "tbGain"; // // tbExposure // - this.tbExposure.AccessibleDescription = null; - this.tbExposure.AccessibleName = null; resources.ApplyResources(this.tbExposure, "tbExposure"); - this.tbExposure.BackgroundImage = null; - this.tbExposure.Font = null; this.tbExposure.Name = "tbExposure"; // + // pictureBox2 + // + resources.ApplyResources(this.pictureBox2, "pictureBox2"); + this.pictureBox2.BackColor = System.Drawing.SystemColors.ControlDarkDark; + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.TabStop = false; + // + // pictureBox3 + // + resources.ApplyResources(this.pictureBox3, "pictureBox3"); + this.pictureBox3.BackColor = System.Drawing.SystemColors.ControlDarkDark; + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.TabStop = false; + // // Form1 // - this.AccessibleDescription = null; - this.AccessibleName = null; resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackgroundImage = null; + this.Controls.Add(this.pictureBox3); + this.Controls.Add(this.pictureBox2); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.cbDeviceList); - this.Font = null; - this.Icon = null; this.MaximizeBox = false; this.Name = "Form1"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); @@ -390,6 +299,8 @@ this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); } @@ -423,6 +334,8 @@ private System.Windows.Forms.Button bnGetParam; private System.Windows.Forms.Button bnSavePng; private System.Windows.Forms.Button bnSaveTiff; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox3; } } diff --git a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.cs b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.cs index 087a5e5..47482ab 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.cs @@ -994,5 +994,9 @@ namespace BasicDemo // ch: 反初始化SDK | en: Finalize SDK MyCamera.MV_CC_Finalize_NET(); } + + + + } } diff --git a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.resx b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.resx index 6011b29..68e136a 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.resx +++ b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.resx @@ -118,30 +118,327 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 49 - - - 632, 483 + + 921, 549 - + 4 - - Search Device + + bnSaveTiff - - 5 + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Get Parameter + + groupBox4 + + + groupBox1 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 87, 23 + + + 666, 272 + + + False + + + bnEnum + + + Exposure Time + + + $this + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Open Device 0 - - 18, 137 + + False + + + 666, 364 + + + 4 + + + groupBox2 + + + 0 + + + 4 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bnTriggerMode + + + 20, 20 + + + Trigger Once + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + + 632, 483 + + + 137, 25 + + + 2 + + + 0 + + + 100, 21 + + + 0 + + + 92, 23 + + + 1 + + + 138, 16 + + + 142, 69 + + + 83, 23 + + + 1 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox2 + + + 20, 57 + + + 20, 69 + + + groupBox3 + + + True + + + $this + + + Trigger Mode + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox4 + + + groupBox3 + + + groupBox3 + + + False + + + tbGain + + + Form1 + + + Picture Storage + + + 5 + + + groupBox4 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox2 + + + False + + + Start + + + 7 + + + 95, 23 + + + 6 + + + groupBox4 + + + False + + + 142, 20 + + + 5 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + Frame Rate + + + 1288, 80 + + + 85, 23 + + + 100, 21 + + + 0 + + + $this + + + 20, 28 + + + 142, 57 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 83, 12 + + + 2 + + + label3 + + + label2 + + + Save as JPG + + + 3 + + + groupBox2 + + + $this + + + Initialization + + + Close Device + + + True + + + $this + + + Trigger by Software + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 5 + + + Machine Vision Camera SDK Basic Demo (C#) + + + False + + + 4 + + + 2 + + + 92, 23 + + + 137, 137 + + + Get Parameter + + + 93, 23 System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -149,688 +446,431 @@ Continuous - - 0 + + 5 - + + groupBox3 + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - False + + Image Acquisition - - 20, 26 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox4 - - - bnStopGrab - - - tbFrameRate - - - 2 - - - 2 - - - bnEnum - - - Picture Storage - - - 17, 12 - - - 1 - - - 87, 23 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Trigger Once - - - True - - - True - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - 4 - - - 85, 23 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - 20, 57 - - - 0 - - - Frame Rate - - - 1 - - - 3 - - - groupBox4 - - - 2 - - - 20, 69 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 7 - - - 666, 272 - - - 2 - - - 4 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 137, 95 - - - bnTriggerExec - - - False - - - 1 - - - Form1 - - - 83, 12 - - - 83, 16 - - - Exposure Time - - - 0 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Machine Vision Camera SDK Basic Demo (C#) - - - 95, 16 - - + groupBox4 1 - - 5 - - - 1 - - - groupBox2 - - - 3 - - - bnSaveTiff - - - Save as JPG - - - 137, 59 - - - bnContinuesMode - - - False - - - 4 - - - 2 - - - True - - - 100, 21 - - - 3 - - - 7 - - - bnClose - - - 88, 23 - - - True - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox1 - - - bnSaveBmp - - - False - - - 95, 23 - - - 1 - - - 6 - - - 243, 109 - - - groupBox4 - - - groupBox3 - - - 666, 12 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 20, 28 - - - groupBox4 - - - 142, 62 - - - bnGetParam - - - 83, 23 - - - 210, 23 - - - 83, 23 - - - Parameters - - - groupBox2 - - - True - - - 4 - - - False - - - 138, 16 - - - System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 666, 128 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 5 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 29, 12 - - - 0 - - - 95, 23 - - - $this - - - 0 - - - Stop - - - 150, 99 - - - 2 - - - bnStartGrab - - - $this - - - label2 - - - label3 - - - 20, 98 - - - False - - - 137, 25 - - - 142, 57 - - - 100, 21 - - - 142, 69 - - - 243, 168 - - - bnOpen - - - 20, 62 - - - $this - - - 0 - - - groupBox2 - - - Close Device - - - False - - - Image Acquisition - - - False - - - False - - - 3 - - - Trigger Mode - - - Open Device - - - $this - - - 0 - - - 20, 20 - - - groupBox2 - - - 243, 134 - - - Set Parameter - - - 2 - - - 2 - - - pictureBox1 - - - 3 - - - groupBox2 - - - bnSaveJpg - - - 20, 62 - - - 3 - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Start - - - cbDeviceList - - - cbSoftTrigger - - - tbExposure - - - 666, 364 - - - 632, 20 - - - 5 - - - groupBox1 - - - 93, 23 - - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - 20, 20 - - - 95, 23 - - - 6 + + 6, 12 bnSavePng - - groupBox4 + + 5 - - System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - 142, 20 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - Gain - - - 2 - - - 100, 21 - - - 1 - - - 0 - - - Save as BMP - - - True - - - groupBox4 - - - 137, 137 - - - groupBox3 - - - 92, 23 - - - 92, 23 - - - 4 - - - 1 - - - groupBox3 - - - 0 - - + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 142, 26 + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 632, 20 + + + 95, 16 5 - - groupBox4 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 2 Save as PNG - - Trigger by Software + + 3 - - False + + 1 - - tbGain + + 20, 20 - - 921, 549 + + System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 6, 103 - - - 0 - - - 2 - - + $this - - groupBox2 - 243, 86 - + + groupBox4 + + + Search Device + + + 2 + + + 88, 23 + + + 2 + + + 4 + + + Stop + + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 6 + + + pictureBox1 + + + 243, 109 + + + bnTriggerExec + + + 29, 12 + + False - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 18, 137 - - 5 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox2 - - - Initialization + + 100, 21 groupBox4 - - bnSetParam + + groupBox2 + + + bnContinuesMode + + + 83, 16 + + + $this + + + 1 + + + 7 + + + 1 + + + 3 + + + 142, 26 + + + 648, 80 + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 95, 23 + + + 2 + + + 142, 62 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbExposure + + + 20, 26 + + + False + + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + 4, 4, 4, 4 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Parameters + + + True + + + True + + + 7 + + + Set Parameter + + + 150, 99 + + + 666, 128 + + + 2 + + + 1 + + + False + + + bnSaveJpg + + + 1 + + + 3 + + + 20, 98 + + + bnGetParam + + + pictureBox3 + + + 137, 95 + + + groupBox1 + + + groupBox1 + + + 3 + + + True + + + groupBox1 + + + bnOpen + + + False + + + 1 label1 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Gain - - Save as TIFF + + $this - - 6, 12 + + True - + + bnStartGrab + + + 6 + + + groupBox4 + + + 17, 49 + + False - - bnTriggerMode + + 137, 59 - - groupBox3 + + 95, 23 65, 12 - + + 0 + + + 4 + + + 243, 168 + + + tbFrameRate + + + 20, 62 + + + 2 + + + 2 + + + bnSaveBmp + + + 6, 103 + + + groupBox4 + + + False + + + cbDeviceList + + + 3 + + + Save as TIFF + + + 6 + + groupBox3 - - groupBox1 + + 17, 12 + + + Save as BMP + + + False + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 7 + + + 243, 134 + + + groupBox2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 210, 23 + + + 1 + + + 666, 12 + + + cbSoftTrigger + + + pictureBox2 + + + groupBox2 + + + bnStopGrab + + + bnSetParam + + + 0 + + + 3 + + + 20, 62 + + + 0 + + + 0 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 83, 23 + + + bnClose + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 True - Chinese (Simplified) + zh-CHS \ No newline at end of file diff --git a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.zh-CHS.resx b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.zh-CHS.resx index 207a6f0..95b0ad8 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.zh-CHS.resx +++ b/外科辅料和患者防护罩激光抗性测试仪/BasicDemo/BasicDemo.zh-CHS.resx @@ -117,74 +117,194 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 关闭设备 - - - 88, 23 + + 26, 18 - - 打开设备 + + + 4, 4, 4, 4 - - 查找设备 + + 946, 26 + + + 10, 80 + + + 4, 4, 4, 4 + + + 605, 647 + + + 13, 810 + + + 4, 4, 4, 4 + + + 4, 4, 4, 4 + + + 301, 132 初始化 + + 156, 82 + + + 4, 4, 4, 4 + + + 132, 34 + + + 关闭设备 + + + 16, 82 + + + 4, 4, 4, 4 + + + 132, 34 + + + 打开设备 + + + 16, 30 + + + 4, 4, 4, 4 + + + 232, 34 + + + 查找设备 + + + 337, 821 + + + 4, 4, 4, 4 + + + 4, 4, 4, 4 + + + 456, 127 + + + 采集图像 + - 142, 99 + 300, 72 + + + 4, 4, 4, 4 - 88, 23 + 132, 34 软触发一次 + + 286, 35 + + + 4, 4, 4, 4 + - 60, 16 + 88, 22 软触发 + + 158, 72 + + + 4, 4, 4, 4 + - 88, 23 + 132, 34 停止采集 + + 17, 72 + + + 4, 4, 4, 4 + - 88, 23 + 132, 34 开始采集 + + 173, 34 + + + 4, 4, 4, 4 + - 71, 16 + 105, 22 触发模式 + + 58, 34 + + + 4, 4, 4, 4 + - 71, 16 + 105, 22 连续模式 - - 采集图像 + + 814, 821 + + + 4, 4, 4, 4 + + + 4, 4, 4, 4 + + + 364, 121 + + + 保存图片 False - NoControl + + 213, 79 + + + 4, 4, 4, 4 + - 88, 23 + 132, 34 保存PNG @@ -195,89 +315,170 @@ NoControl + + 30, 80 + + + 4, 4, 4, 4 + - 88, 23 + 132, 34 保存TIFF - 142, 25 + 213, 30 + + + 4, 4, 4, 4 - 88, 23 + 132, 34 保存JPG - 20, 25 + 30, 31 + + + 4, 4, 4, 4 - 88, 23 + 132, 34 保存BMP - - 243, 97 + + 1186, 816 - - 保存图片 + + 4, 4, 4, 4 + + + 4, 4, 4, 4 + + + 679, 126 + + + 参数 - 142, 122 + 314, 78 + + + 4, 4, 4, 4 - 88, 23 + 132, 34 设置参数 - 20, 122 + 102, 78 + + + 4, 4, 4, 4 - 88, 23 + 132, 34 获取参数 + + 7, 42 + + + 4, 0, 4, 0 + - 29, 12 + 44, 18 帧率 + + 230, 42 + + + 4, 0, 4, 0 + + + 44, 18 + 增益 + + 464, 42 + + + 4, 0, 4, 0 + - 29, 12 + 44, 18 曝光 + + 69, 39 + + + 4, 4, 4, 4 + - 93, 21 + 138, 28 + + + 292, 32 + + + 4, 4, 4, 4 - 93, 21 + 138, 28 + + + 526, 39 + + + 4, 4, 4, 4 - 93, 21 + 138, 28 - - 666, 375 + + NoControl - - 243, 157 + + 639, 80 - - 参数 + + 4, 4, 4, 4 + + + 632, 647 + + + NoControl + + + 4, 4, 4, 4 + + + 577, 647 + + + 9, 18 - 921, 543 + 1878, 944 MvCamera SDK CS演示程序