This commit is contained in:
ChiKyun Kim
2025-09-23 15:41:16 +09:00
parent 02028afc27
commit b037dd53e6
74 changed files with 4269 additions and 7917 deletions

View File

@@ -64,19 +64,13 @@
this.btCartDetR = new System.Windows.Forms.Button();
this.btCartDetL = new System.Windows.Forms.Button();
this.btCartDetC = new System.Windows.Forms.Button();
this.btdoorr3 = new System.Windows.Forms.Button();
this.btdoorr1 = new System.Windows.Forms.Button();
this.btdoorf3 = new System.Windows.Forms.Button();
this.btdoorr2 = new System.Windows.Forms.Button();
this.btdoorf1 = new System.Windows.Forms.Button();
this.btdoorf2 = new System.Windows.Forms.Button();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.bsLang = new System.Windows.Forms.BindingSource(this.components);
this.dataSet1 = new Project.DataSet1();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.btDefIO = new System.Windows.Forms.Button();
this.btDefError = new System.Windows.Forms.Button();
this.btOpenZPL = new System.Windows.Forms.Button();
this.bsLang = new System.Windows.Forms.BindingSource(this.components);
this.dataSet1 = new Project.DataSet1();
this.bsRecipient = new System.Windows.Forms.BindingSource(this.components);
this.bsMailForm = new System.Windows.Forms.BindingSource(this.components);
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
@@ -87,9 +81,9 @@
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsLang)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
this.tabPage4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
@@ -183,13 +177,14 @@
this.groupBox1.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.groupBox1.Location = new System.Drawing.Point(5, 5);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(596, 403);
this.groupBox1.Size = new System.Drawing.Size(596, 409);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Function Control";
//
// btSystemBypass
//
this.btSystemBypass.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btSystemBypass.Location = new System.Drawing.Point(53, 349);
this.btSystemBypass.Name = "btSystemBypass";
this.btSystemBypass.Size = new System.Drawing.Size(479, 42);
@@ -200,6 +195,7 @@
//
// button7
//
this.button7.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button7.Location = new System.Drawing.Point(230, 279);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(124, 43);
@@ -210,7 +206,7 @@
//
// btbuzAfterFinish
//
this.btbuzAfterFinish.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btbuzAfterFinish.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btbuzAfterFinish.Location = new System.Drawing.Point(18, 30);
this.btbuzAfterFinish.Name = "btbuzAfterFinish";
this.btbuzAfterFinish.Size = new System.Drawing.Size(135, 43);
@@ -221,6 +217,7 @@
//
// button13
//
this.button13.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button13.Location = new System.Drawing.Point(53, 215);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(128, 42);
@@ -231,6 +228,7 @@
//
// button14
//
this.button14.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button14.Location = new System.Drawing.Point(404, 213);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(128, 42);
@@ -241,7 +239,7 @@
//
// button3
//
this.button3.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold);
this.button3.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button3.Location = new System.Drawing.Point(230, 89);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(124, 43);
@@ -252,6 +250,7 @@
//
// btmag2
//
this.btmag2.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btmag2.Location = new System.Drawing.Point(230, 233);
this.btmag2.Name = "btmag2";
this.btmag2.Size = new System.Drawing.Size(124, 43);
@@ -262,6 +261,7 @@
//
// btRoomLamp
//
this.btRoomLamp.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btRoomLamp.Location = new System.Drawing.Point(429, 30);
this.btRoomLamp.Name = "btRoomLamp";
this.btRoomLamp.Size = new System.Drawing.Size(135, 43);
@@ -272,7 +272,7 @@
//
// button6
//
this.button6.Font = new System.Drawing.Font("맑은 고딕", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button6.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button6.Location = new System.Drawing.Point(404, 75);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(163, 49);
@@ -283,6 +283,7 @@
//
// btPickerVac
//
this.btPickerVac.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPickerVac.Location = new System.Drawing.Point(230, 133);
this.btPickerVac.Name = "btPickerVac";
this.btPickerVac.Size = new System.Drawing.Size(124, 43);
@@ -293,6 +294,7 @@
//
// btPort1
//
this.btPort1.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPort1.ForeColor = System.Drawing.Color.Black;
this.btPort1.Location = new System.Drawing.Point(230, 187);
this.btPort1.Name = "btPort1";
@@ -304,6 +306,7 @@
//
// btmag1
//
this.btmag1.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btmag1.Location = new System.Drawing.Point(404, 299);
this.btmag1.Name = "btmag1";
this.btmag1.Size = new System.Drawing.Size(128, 42);
@@ -314,6 +317,7 @@
//
// btTWLamp
//
this.btTWLamp.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btTWLamp.Location = new System.Drawing.Point(292, 30);
this.btTWLamp.Name = "btTWLamp";
this.btTWLamp.Size = new System.Drawing.Size(135, 43);
@@ -324,6 +328,7 @@
//
// btBuz
//
this.btBuz.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btBuz.Location = new System.Drawing.Point(155, 30);
this.btBuz.Name = "btBuz";
this.btBuz.Size = new System.Drawing.Size(135, 43);
@@ -334,6 +339,7 @@
//
// btmag0
//
this.btmag0.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btmag0.Location = new System.Drawing.Point(53, 301);
this.btmag0.Name = "btmag0";
this.btmag0.Size = new System.Drawing.Size(128, 42);
@@ -344,7 +350,7 @@
//
// button5
//
this.button5.Font = new System.Drawing.Font("맑은 고딕", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button5.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.button5.Location = new System.Drawing.Point(18, 77);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(163, 49);
@@ -355,6 +361,7 @@
//
// btPort0
//
this.btPort0.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPort0.ForeColor = System.Drawing.Color.Black;
this.btPort0.Location = new System.Drawing.Point(53, 258);
this.btPort0.Name = "btPort0";
@@ -366,6 +373,7 @@
//
// btPort2
//
this.btPort2.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPort2.ForeColor = System.Drawing.Color.Black;
this.btPort2.Location = new System.Drawing.Point(404, 256);
this.btPort2.Name = "btPort2";
@@ -377,6 +385,7 @@
//
// btLeftVac
//
this.btLeftVac.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btLeftVac.Location = new System.Drawing.Point(53, 172);
this.btLeftVac.Name = "btLeftVac";
this.btLeftVac.Size = new System.Drawing.Size(128, 42);
@@ -387,6 +396,7 @@
//
// btPrintR
//
this.btPrintR.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPrintR.ForeColor = System.Drawing.Color.Black;
this.btPrintR.Location = new System.Drawing.Point(404, 127);
this.btPrintR.Name = "btPrintR";
@@ -398,6 +408,7 @@
//
// btPrintL
//
this.btPrintL.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btPrintL.ForeColor = System.Drawing.Color.Black;
this.btPrintL.Location = new System.Drawing.Point(53, 129);
this.btPrintL.Name = "btPrintL";
@@ -409,6 +420,7 @@
//
// btRightVac
//
this.btRightVac.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold);
this.btRightVac.Location = new System.Drawing.Point(404, 170);
this.btRightVac.Name = "btRightVac";
this.btRightVac.Size = new System.Drawing.Size(128, 42);
@@ -424,17 +436,11 @@
this.groupBox2.Controls.Add(this.btCartDetR);
this.groupBox2.Controls.Add(this.btCartDetL);
this.groupBox2.Controls.Add(this.btCartDetC);
this.groupBox2.Controls.Add(this.btdoorr3);
this.groupBox2.Controls.Add(this.btdoorr1);
this.groupBox2.Controls.Add(this.btdoorf3);
this.groupBox2.Controls.Add(this.btdoorr2);
this.groupBox2.Controls.Add(this.btdoorf1);
this.groupBox2.Controls.Add(this.btdoorf2);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.groupBox2.Font = new System.Drawing.Font("맑은 고딕", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.groupBox2.Location = new System.Drawing.Point(5, 408);
this.groupBox2.Location = new System.Drawing.Point(5, 414);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(596, 177);
this.groupBox2.Size = new System.Drawing.Size(596, 171);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Sensor Control";
@@ -442,9 +448,9 @@
// btDetectPrintR
//
this.btDetectPrintR.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btDetectPrintR.Location = new System.Drawing.Point(466, 32);
this.btDetectPrintR.Location = new System.Drawing.Point(112, 38);
this.btDetectPrintR.Name = "btDetectPrintR";
this.btDetectPrintR.Size = new System.Drawing.Size(100, 43);
this.btDetectPrintR.Size = new System.Drawing.Size(100, 58);
this.btDetectPrintR.TabIndex = 24;
this.btDetectPrintR.Text = "Print Detect-R";
this.btDetectPrintR.UseVisualStyleBackColor = true;
@@ -453,9 +459,9 @@
// btDetectPrintL
//
this.btDetectPrintL.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btDetectPrintL.Location = new System.Drawing.Point(365, 32);
this.btDetectPrintL.Location = new System.Drawing.Point(12, 38);
this.btDetectPrintL.Name = "btDetectPrintL";
this.btDetectPrintL.Size = new System.Drawing.Size(100, 43);
this.btDetectPrintL.Size = new System.Drawing.Size(100, 58);
this.btDetectPrintL.TabIndex = 23;
this.btDetectPrintL.Text = "Print Detect-L";
this.btDetectPrintL.UseVisualStyleBackColor = true;
@@ -464,9 +470,9 @@
// btCartDetR
//
this.btCartDetR.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btCartDetR.Location = new System.Drawing.Point(219, 122);
this.btCartDetR.Location = new System.Drawing.Point(213, 99);
this.btCartDetR.Name = "btCartDetR";
this.btCartDetR.Size = new System.Drawing.Size(100, 43);
this.btCartDetR.Size = new System.Drawing.Size(100, 58);
this.btCartDetR.TabIndex = 20;
this.btCartDetR.Text = "Cart Detect(R)";
this.btCartDetR.UseVisualStyleBackColor = true;
@@ -475,9 +481,9 @@
// btCartDetL
//
this.btCartDetL.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btCartDetL.Location = new System.Drawing.Point(16, 122);
this.btCartDetL.Location = new System.Drawing.Point(12, 99);
this.btCartDetL.Name = "btCartDetL";
this.btCartDetL.Size = new System.Drawing.Size(100, 43);
this.btCartDetL.Size = new System.Drawing.Size(100, 58);
this.btCartDetL.TabIndex = 21;
this.btCartDetL.Text = "Cart Detect(L)";
this.btCartDetL.UseVisualStyleBackColor = true;
@@ -486,80 +492,14 @@
// btCartDetC
//
this.btCartDetC.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btCartDetC.Location = new System.Drawing.Point(118, 122);
this.btCartDetC.Location = new System.Drawing.Point(112, 99);
this.btCartDetC.Name = "btCartDetC";
this.btCartDetC.Size = new System.Drawing.Size(100, 43);
this.btCartDetC.Size = new System.Drawing.Size(100, 58);
this.btCartDetC.TabIndex = 22;
this.btCartDetC.Text = "Cart Detect(C)";
this.btCartDetC.UseVisualStyleBackColor = true;
this.btCartDetC.Click += new System.EventHandler(this.button7_Click);
//
// btdoorr3
//
this.btdoorr3.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorr3.Location = new System.Drawing.Point(219, 32);
this.btdoorr3.Name = "btdoorr3";
this.btdoorr3.Size = new System.Drawing.Size(100, 43);
this.btdoorr3.TabIndex = 19;
this.btdoorr3.Text = "DOOR-R3";
this.btdoorr3.UseVisualStyleBackColor = true;
this.btdoorr3.Click += new System.EventHandler(this.btSafetyP3_Click);
//
// btdoorr1
//
this.btdoorr1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorr1.Location = new System.Drawing.Point(16, 32);
this.btdoorr1.Name = "btdoorr1";
this.btdoorr1.Size = new System.Drawing.Size(100, 43);
this.btdoorr1.TabIndex = 0;
this.btdoorr1.Text = "DOOR-R1";
this.btdoorr1.UseVisualStyleBackColor = true;
this.btdoorr1.Click += new System.EventHandler(this.button2_Click_1);
//
// btdoorf3
//
this.btdoorf3.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorf3.Location = new System.Drawing.Point(219, 77);
this.btdoorf3.Name = "btdoorf3";
this.btdoorf3.Size = new System.Drawing.Size(100, 43);
this.btdoorf3.TabIndex = 2;
this.btdoorf3.Text = "DOOR-F3";
this.btdoorf3.UseVisualStyleBackColor = true;
this.btdoorf3.Click += new System.EventHandler(this.btLoaderDetect_Click);
//
// btdoorr2
//
this.btdoorr2.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorr2.Location = new System.Drawing.Point(118, 32);
this.btdoorr2.Name = "btdoorr2";
this.btdoorr2.Size = new System.Drawing.Size(100, 43);
this.btdoorr2.TabIndex = 2;
this.btdoorr2.Text = "DOOR-R2";
this.btdoorr2.UseVisualStyleBackColor = true;
this.btdoorr2.Click += new System.EventHandler(this.button4_Click);
//
// btdoorf1
//
this.btdoorf1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorf1.Location = new System.Drawing.Point(16, 77);
this.btdoorf1.Name = "btdoorf1";
this.btdoorf1.Size = new System.Drawing.Size(100, 43);
this.btdoorf1.TabIndex = 5;
this.btdoorf1.Text = "DOOR-F1";
this.btdoorf1.UseVisualStyleBackColor = true;
this.btdoorf1.Click += new System.EventHandler(this.btSafetyCvIn_Click);
//
// btdoorf2
//
this.btdoorf2.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
this.btdoorf2.Location = new System.Drawing.Point(118, 77);
this.btdoorf2.Name = "btdoorf2";
this.btdoorf2.Size = new System.Drawing.Size(100, 43);
this.btdoorf2.TabIndex = 8;
this.btdoorf2.Text = "DOOR-F2";
this.btdoorf2.UseVisualStyleBackColor = true;
this.btdoorf2.Click += new System.EventHandler(this.btSafetyCvOut_Click);
//
// tabPage1
//
this.tabPage1.Controls.Add(this.propertyGrid1);
@@ -571,16 +511,6 @@
this.tabPage1.Text = "Advanced Settings";
this.tabPage1.UseVisualStyleBackColor = true;
//
// bsLang
//
this.bsLang.DataMember = "language";
this.bsLang.DataSource = this.dataSet1;
//
// dataSet1
//
this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// tabPage4
//
this.tabPage4.Controls.Add(this.btDefIO);
@@ -595,9 +525,9 @@
//
// btDefIO
//
this.btDefIO.Location = new System.Drawing.Point(23, 135);
this.btDefIO.Location = new System.Drawing.Point(13, 118);
this.btDefIO.Name = "btDefIO";
this.btDefIO.Size = new System.Drawing.Size(189, 43);
this.btDefIO.Size = new System.Drawing.Size(234, 43);
this.btDefIO.TabIndex = 48;
this.btDefIO.Text = "Define I/O Description";
this.btDefIO.UseVisualStyleBackColor = true;
@@ -605,9 +535,9 @@
//
// btDefError
//
this.btDefError.Location = new System.Drawing.Point(23, 75);
this.btDefError.Location = new System.Drawing.Point(13, 65);
this.btDefError.Name = "btDefError";
this.btDefError.Size = new System.Drawing.Size(189, 43);
this.btDefError.Size = new System.Drawing.Size(234, 43);
this.btDefError.TabIndex = 47;
this.btDefError.Text = "Define Error Messages";
this.btDefError.UseVisualStyleBackColor = true;
@@ -615,14 +545,24 @@
//
// btOpenZPL
//
this.btOpenZPL.Location = new System.Drawing.Point(23, 15);
this.btOpenZPL.Location = new System.Drawing.Point(13, 12);
this.btOpenZPL.Name = "btOpenZPL";
this.btOpenZPL.Size = new System.Drawing.Size(189, 43);
this.btOpenZPL.Size = new System.Drawing.Size(234, 43);
this.btOpenZPL.TabIndex = 46;
this.btOpenZPL.Text = "Open ZPL";
this.btOpenZPL.UseVisualStyleBackColor = true;
this.btOpenZPL.Click += new System.EventHandler(this.btOpenZPL_Click);
//
// bsLang
//
this.bsLang.DataMember = "language";
this.bsLang.DataSource = this.dataSet1;
//
// dataSet1
//
this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// bsRecipient
//
this.bsRecipient.DataMember = "MailRecipient";
@@ -639,8 +579,7 @@
//
// fSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(614, 686);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.panel1);
@@ -660,9 +599,9 @@
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bsLang)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
@@ -682,15 +621,9 @@
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btdoorr2;
private System.Windows.Forms.Button btdoorr1;
private System.Windows.Forms.Button btdoorf1;
private System.Windows.Forms.Button btBuz;
private System.Windows.Forms.Button btdoorf2;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button btdoorf3;
private System.Windows.Forms.ErrorProvider errorProvider1;
private System.Windows.Forms.Button btdoorr3;
private System.Windows.Forms.Button btTWLamp;
private System.Windows.Forms.BindingSource bsRecipient;
private System.Windows.Forms.BindingSource bsMailForm;

View File

@@ -47,14 +47,6 @@ namespace Project
this.propertyGrid1.SelectedObject = this.dummySetting;
this.propertyGrid1.Refresh();
//Function usage
btdoorr1.BackColor = dummySetting.Disable_safty_R0 ? Color.Tomato : Color.Lime;
btdoorr2.BackColor = dummySetting.Disable_safty_R1 ? Color.Tomato : Color.Lime;
btdoorr3.BackColor = dummySetting.Disable_safty_R2 ? Color.Tomato : Color.Lime;
btdoorf1.BackColor = dummySetting.Disable_safty_F0 ? Color.Tomato : Color.Lime;
btdoorf2.BackColor = dummySetting.Disable_safty_F1 ? Color.Tomato : Color.Lime;
btdoorf3.BackColor = dummySetting.Disable_safty_F2 ? Color.Tomato : Color.Lime;
btBuz.BackColor = dummySetting.Disable_Buzzer == false ? Color.Lime : Color.Tomato;
this.btTWLamp.BackColor = dummySetting.Disable_TowerLamp ? Color.Tomato : Color.Lime;
this.btRoomLamp.BackColor = dummySetting.Disable_RoomLight == true ? Color.Tomato : Color.Lime;
@@ -213,54 +205,7 @@ namespace Project
but.BackColor = dummySetting.Disable_RoomLight == true ? Color.Tomato : Color.Lime;
}
private void button4_Click_1(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_SidQtyCheck = !dummySetting.Disable_SidQtyCheck;
but.BackColor = dummySetting.Disable_SidQtyCheck == true ? Color.Tomato : Color.Lime;
}
private void button2_Click_1(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_R0 = !dummySetting.Disable_safty_R0;
but.BackColor = dummySetting.Disable_safty_R0 ? Color.Tomato : Color.Lime;
}
private void button4_Click(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_R1 = !dummySetting.Disable_safty_R1;
but.BackColor = dummySetting.Disable_safty_R1 ? Color.Tomato : Color.Lime;
}
private void btSafetyP3_Click(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_R2 = !dummySetting.Disable_safty_R2;
but.BackColor = dummySetting.Disable_safty_R2 ? Color.Tomato : Color.Lime;
}
private void btSafetyCvIn_Click(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_F0 = !dummySetting.Disable_safty_F0;
but.BackColor = dummySetting.Disable_safty_F0 ? Color.Tomato : Color.Lime;
}
private void btSafetyCvOut_Click(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_F1 = !dummySetting.Disable_safty_F1;
but.BackColor = dummySetting.Disable_safty_F1 ? Color.Tomato : Color.Lime;
}
private void btLoaderDetect_Click(object sender, EventArgs e)
{
var but = sender as Button;
dummySetting.Disable_safty_F2 = !dummySetting.Disable_safty_F2;
but.BackColor = dummySetting.Disable_safty_F2 ? Color.Tomato : Color.Lime;
}
private void btLeftVac_Click(object sender, EventArgs e)
{
@@ -404,7 +349,7 @@ namespace Project
private void btOpenZPL_Click(object sender, EventArgs e)
{
var fi = new System.IO.FileInfo("zpl.txt");
var fi = new System.IO.FileInfo( UTIL.MakePath("data","zpl.txt"));
if (fi.Exists == false)
{
System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);