diff --git a/INT69DC_7C/Forms/FormCommunication.Designer.cs b/INT69DC_7C/Forms/FormCommunication.Designer.cs index 18f6096..f899f5a 100644 --- a/INT69DC_7C/Forms/FormCommunication.Designer.cs +++ b/INT69DC_7C/Forms/FormCommunication.Designer.cs @@ -37,7 +37,6 @@ this.labelTitleSlaveID = new SmartX.SmartLabel(); this.buttonSerialSend = new System.Windows.Forms.Button(); this.buttonSerialSave = new System.Windows.Forms.Button(); - this.labelProtocolDescriptionCOM3_2 = new SmartX.SmartLabel(); this.labelProtocolDescriptionCOM3_1 = new SmartX.SmartLabel(); this.labelABFoodTimeoutInterval = new SmartX.SmartLabel(); this.labelTitleTimeout = new SmartX.SmartLabel(); @@ -66,7 +65,6 @@ this.labelTitleServerPort = new SmartX.SmartLabel(); this.labelServerStatus = new SmartX.SmartLabel(); this.smartGroupBox1 = new SmartX.SmartGroupBox(); - this.labelProtocolDescriptionEthernet_2 = new SmartX.SmartLabel(); this.labelProtocolDescriptionEthernet_1 = new SmartX.SmartLabel(); this.labelStartAddress = new SmartX.SmartLabel(); this.labelTitleStartAddress = new SmartX.SmartLabel(); @@ -184,7 +182,6 @@ this.groupBoxComm.Controls.Add(this.labelTitleSlaveID); this.groupBoxComm.Controls.Add(this.buttonSerialSend); this.groupBoxComm.Controls.Add(this.buttonSerialSave); - this.groupBoxComm.Controls.Add(this.labelProtocolDescriptionCOM3_2); this.groupBoxComm.Controls.Add(this.labelProtocolDescriptionCOM3_1); this.groupBoxComm.Controls.Add(this.labelABFoodTimeoutInterval); this.groupBoxComm.Controls.Add(this.labelTitleTimeout); @@ -271,25 +268,6 @@ this.buttonSerialSave.Text = "SAVE"; this.buttonSerialSave.Click += new System.EventHandler(this.buttonSerialSave_Click); // - // labelProtocolDescriptionCOM3_2 - // - this.labelProtocolDescriptionCOM3_2.BackPictureBox = this.smartForm1; - this.labelProtocolDescriptionCOM3_2.BackPictureBox1 = null; - this.labelProtocolDescriptionCOM3_2.BackPictureBox2 = null; - this.labelProtocolDescriptionCOM3_2.BorderColor = System.Drawing.Color.Black; - this.labelProtocolDescriptionCOM3_2.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.labelProtocolDescriptionCOM3_2.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular); - this.labelProtocolDescriptionCOM3_2.InitVisible = true; - this.labelProtocolDescriptionCOM3_2.LineSpacing = 0F; - this.labelProtocolDescriptionCOM3_2.Location = new System.Drawing.Point(47, 110); - this.labelProtocolDescriptionCOM3_2.Name = "labelProtocolDescriptionCOM3_2"; - this.labelProtocolDescriptionCOM3_2.Size = new System.Drawing.Size(320, 20); - this.labelProtocolDescriptionCOM3_2.TabIndex = 25; - this.labelProtocolDescriptionCOM3_2.Text = "COM3 Protocol Description"; - this.labelProtocolDescriptionCOM3_2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelProtocolDescriptionCOM3_2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelProtocolDescriptionCOM3_2.Wordwrap = false; - // // labelProtocolDescriptionCOM3_1 // this.labelProtocolDescriptionCOM3_1.BackPictureBox = this.smartForm1; @@ -302,12 +280,12 @@ this.labelProtocolDescriptionCOM3_1.LineSpacing = 0F; this.labelProtocolDescriptionCOM3_1.Location = new System.Drawing.Point(47, 84); this.labelProtocolDescriptionCOM3_1.Name = "labelProtocolDescriptionCOM3_1"; - this.labelProtocolDescriptionCOM3_1.Size = new System.Drawing.Size(320, 20); + this.labelProtocolDescriptionCOM3_1.Size = new System.Drawing.Size(320, 46); this.labelProtocolDescriptionCOM3_1.TabIndex = 23; this.labelProtocolDescriptionCOM3_1.Text = "COM3 Protocol Description"; this.labelProtocolDescriptionCOM3_1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelProtocolDescriptionCOM3_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelProtocolDescriptionCOM3_1.Wordwrap = false; + this.labelProtocolDescriptionCOM3_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelProtocolDescriptionCOM3_1.Wordwrap = true; // // labelABFoodTimeoutInterval // @@ -798,7 +776,6 @@ // this.smartGroupBox1.BackPictureBox = this.smartForm1; this.smartGroupBox1.BackPictureBox1 = null; - this.smartGroupBox1.Controls.Add(this.labelProtocolDescriptionEthernet_2); this.smartGroupBox1.Controls.Add(this.labelProtocolDescriptionEthernet_1); this.smartGroupBox1.Controls.Add(this.labelStartAddress); this.smartGroupBox1.Controls.Add(this.labelTitleStartAddress); @@ -840,25 +817,6 @@ this.smartGroupBox1.Text = "TCP_Local"; this.smartGroupBox1.TextColor = System.Drawing.Color.Black; // - // labelProtocolDescriptionEthernet_2 - // - this.labelProtocolDescriptionEthernet_2.BackPictureBox = this.smartForm1; - this.labelProtocolDescriptionEthernet_2.BackPictureBox1 = null; - this.labelProtocolDescriptionEthernet_2.BackPictureBox2 = null; - this.labelProtocolDescriptionEthernet_2.BorderColor = System.Drawing.Color.Black; - this.labelProtocolDescriptionEthernet_2.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.labelProtocolDescriptionEthernet_2.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular); - this.labelProtocolDescriptionEthernet_2.InitVisible = true; - this.labelProtocolDescriptionEthernet_2.LineSpacing = 0F; - this.labelProtocolDescriptionEthernet_2.Location = new System.Drawing.Point(71, 133); - this.labelProtocolDescriptionEthernet_2.Name = "labelProtocolDescriptionEthernet_2"; - this.labelProtocolDescriptionEthernet_2.Size = new System.Drawing.Size(320, 20); - this.labelProtocolDescriptionEthernet_2.TabIndex = 231; - this.labelProtocolDescriptionEthernet_2.Text = "COM3 Protocol Description"; - this.labelProtocolDescriptionEthernet_2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelProtocolDescriptionEthernet_2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelProtocolDescriptionEthernet_2.Wordwrap = false; - // // labelProtocolDescriptionEthernet_1 // this.labelProtocolDescriptionEthernet_1.BackPictureBox = this.smartForm1; @@ -871,12 +829,12 @@ this.labelProtocolDescriptionEthernet_1.LineSpacing = 0F; this.labelProtocolDescriptionEthernet_1.Location = new System.Drawing.Point(71, 107); this.labelProtocolDescriptionEthernet_1.Name = "labelProtocolDescriptionEthernet_1"; - this.labelProtocolDescriptionEthernet_1.Size = new System.Drawing.Size(320, 20); + this.labelProtocolDescriptionEthernet_1.Size = new System.Drawing.Size(320, 46); this.labelProtocolDescriptionEthernet_1.TabIndex = 230; this.labelProtocolDescriptionEthernet_1.Text = "COM3 Protocol Description"; this.labelProtocolDescriptionEthernet_1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; - this.labelProtocolDescriptionEthernet_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.labelProtocolDescriptionEthernet_1.Wordwrap = false; + this.labelProtocolDescriptionEthernet_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top; + this.labelProtocolDescriptionEthernet_1.Wordwrap = true; // // labelStartAddress // @@ -1566,7 +1524,6 @@ private SmartX.SmartButton buttonBack; private SmartX.SmartLabel labelTitle; private SmartX.SmartGroupBox groupBoxComm; - private SmartX.SmartLabel labelProtocolDescriptionCOM3_2; private SmartX.SmartLabel labelProtocolDescriptionCOM3_1; private SmartX.SmartLabel labelABFoodTimeoutInterval; private SmartX.SmartLabel labelTitleTimeout; @@ -1631,7 +1588,6 @@ private SmartX.SmartLabel labelTitleStartAddress; private SmartX.SmartLabel labelSlaveID; private SmartX.SmartLabel labelTitleSlaveID; - private SmartX.SmartLabel labelProtocolDescriptionEthernet_2; private SmartX.SmartLabel labelProtocolDescriptionEthernet_1; private System.Windows.Forms.Button button10LaneSend; private System.Windows.Forms.Button button1LaneSend; diff --git a/INT69DC_7C/Forms/FormCommunication.cs b/INT69DC_7C/Forms/FormCommunication.cs index af78189..08b5a1f 100644 --- a/INT69DC_7C/Forms/FormCommunication.cs +++ b/INT69DC_7C/Forms/FormCommunication.cs @@ -332,8 +332,8 @@ namespace INT69DC_7C.Forms data = this.ParentForm.Protocol_OPT3(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem); else if (this.ParentForm.SystemConfig.EthernetMode == 4) data = this.ParentForm.Protocol_OPT5(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem); - else if(this.ParentForm.SystemConfig.EthernetMode == 5) - data = this.ParentForm.Protocol_OPT6(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData); + else if (this.ParentForm.SystemConfig.EthernetMode == 5) + data = this.ParentForm.Protocol_OPT6(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData, this.ParentForm.CurrentProductItem); switch (this.ParentForm.SystemConfig.EthernetOperationMode) { @@ -364,7 +364,7 @@ namespace INT69DC_7C.Forms else if (this.ParentForm.SystemConfig.EthernetMode == 4) data = this.ParentForm.Protocol_OPT5(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData[lane - 1], lane, this.ParentForm.CurrentProductItem); else if (this.ParentForm.SystemConfig.EthernetMode == 5) - data = this.ParentForm.Protocol_OPT6(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData[lane - 1], lane); + data = this.ParentForm.Protocol_OPT6(this.ParentForm.SystemConfig, this.ParentForm.CollectionWeightData[lane - 1], lane, this.ParentForm.CurrentProductItem); switch (this.ParentForm.SystemConfig.EthernetOperationMode) { @@ -521,28 +521,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],"; - this.labelProtocolDescriptionEthernet_2.Text = "WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],"; - this.labelProtocolDescriptionEthernet_2.Text = "WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -553,28 +541,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],"; - this.labelProtocolDescriptionEthernet_2.Text = "GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],"; - this.labelProtocolDescriptionEthernet_2.Text = "GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -585,28 +561,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionEthernet_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -618,26 +582,26 @@ namespace INT69DC_7C.Forms { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionEthernet_2.Text = "TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; + this.labelProtocolDescriptionEthernet_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } else { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionEthernet_2.Text = "TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]]"; + this.labelProtocolDescriptionEthernet_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionEthernet_2.Text = "TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]]"; + this.labelProtocolDescriptionEthernet_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { - this.labelProtocolDescriptionEthernet_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionEthernet_2.Text = "TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; + this.labelProtocolDescriptionEthernet_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } } #endregion @@ -645,7 +609,6 @@ namespace INT69DC_7C.Forms else { this.labelProtocolDescriptionEthernet_1.Text = ""; - this.labelProtocolDescriptionEthernet_2.Text = ""; } } private void UpdateProtocolDescriptionCom3Display() @@ -654,7 +617,6 @@ namespace INT69DC_7C.Forms { #region OPT1 this.labelProtocolDescriptionCOM3_1.Text = "Private use"; - this.labelProtocolDescriptionCOM3_2.Text = ""; #endregion } else if (this.comboBoxSerial3Mode.SelectedIndex == 2) @@ -664,28 +626,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],"; - this.labelProtocolDescriptionCOM3_2.Text = "WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],"; - this.labelProtocolDescriptionCOM3_2.Text = "WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -696,28 +646,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],"; - this.labelProtocolDescriptionCOM3_2.Text = "GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],"; - this.labelProtocolDescriptionCOM3_2.Text = "GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -728,36 +666,23 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionCOM3_2.Text = "{SIGN[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],{SIGN[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],"; - this.labelProtocolDescriptionCOM3_2.Text = "SIGN[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],SIGN[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],"; - this.labelProtocolDescriptionCOM3_2.Text = "SIGN[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],LANE[2],SIGN[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],"; - this.labelProtocolDescriptionCOM3_2.Text = "{SIGN[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],{SIGN[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } else if (this.comboBoxSerial3Mode.SelectedIndex == 5) { #region Printer - this.labelProtocolDescriptionCOM3_1.Text = "NO[4], LANE[2], GRADE[1], WEIGHT[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "COUNT[9]"; + this.labelProtocolDescriptionCOM3_1.Text = "NO[4], LANE[2], GRADE[1], WEIGHT[6],COUNT[9]"; #endregion } else if (this.comboBoxSerial3Mode.SelectedIndex == 6) @@ -767,28 +692,16 @@ namespace INT69DC_7C.Forms || this.ParentForm.SystemConfig.EquipmentMode == 7) { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; else - { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],"; - this.labelProtocolDescriptionCOM3_2.Text = "TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; - } + this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } #endregion } @@ -800,26 +713,26 @@ namespace INT69DC_7C.Forms { if (this.ParentForm.SystemConfig.IsIndividualTransmission == false) { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionCOM3_2.Text = "TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; + this.labelProtocolDescriptionCOM3_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } else { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionCOM3_2.Text = "TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]]"; + this.labelProtocolDescriptionCOM3_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } } else { if (this.ParentForm.SystemConfig.IsIntegratedTransmission == false) { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionCOM3_2.Text = "TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]]"; + this.labelProtocolDescriptionCOM3_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],LANE[2],GRD[1],WEIGHT[6],ETX[1]"; } else { - this.labelProtocolDescriptionCOM3_1.Text = "STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],"; - this.labelProtocolDescriptionCOM3_2.Text = "TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; + this.labelProtocolDescriptionCOM3_1.Text = + "STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1]"; } } #endregion @@ -828,7 +741,6 @@ namespace INT69DC_7C.Forms { #region None this.labelProtocolDescriptionCOM3_1.Text = "COM3 Protocol Description"; - this.labelProtocolDescriptionCOM3_2.Text = "COM3 Protocol Description"; #endregion } } diff --git a/INT69DC_7C/Forms/FormInformation.cs b/INT69DC_7C/Forms/FormInformation.cs index 89adf88..1c22a34 100644 --- a/INT69DC_7C/Forms/FormInformation.cs +++ b/INT69DC_7C/Forms/FormInformation.cs @@ -142,7 +142,7 @@ namespace INT69DC_7C.Forms } private void DefaultSetting() { - this.labelDisplayVer.Text = "12.2.2"; + this.labelDisplayVer.Text = "12.2.3"; if(this.ParentForm.SystemConfig.EquipmentMode == 7) this.labelTitleMainboardName.Text = "INT68M-2A"; else diff --git a/INT69DC_7C/Forms/FormMain.cs b/INT69DC_7C/Forms/FormMain.cs index db0803d..b2f318c 100644 --- a/INT69DC_7C/Forms/FormMain.cs +++ b/INT69DC_7C/Forms/FormMain.cs @@ -1965,9 +1965,9 @@ namespace INT69DC_7C.Forms { #region 개별 전송 if (this.SystemConfig.IsWeightViewForward == true) - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[0], 1); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[0], 1, this.CurrentProductItem); else - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[this.CollectionWeightData.Count - 1], this.CollectionWeightData.Count); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[this.CollectionWeightData.Count - 1], this.CollectionWeightData.Count, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion @@ -2271,7 +2271,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[1], 2); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[1], 2, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -2572,7 +2572,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[2], 3); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[2], 3, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -2873,7 +2873,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[3], 4); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[3], 4, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -3174,7 +3174,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[4], 5); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[4], 5, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -3475,7 +3475,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[5], 6); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[5], 6, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -3776,7 +3776,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[6], 7); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[6], 7, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -4075,7 +4075,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[7], 8); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[7], 8, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -4371,7 +4371,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[8], 9); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[8], 9, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -4666,7 +4666,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[9], 10); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[9], 10, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -4959,7 +4959,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[10], 11); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[10], 11, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -5251,7 +5251,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[11], 12); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData[11], 12, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -5601,7 +5601,7 @@ namespace INT69DC_7C.Forms else if (this.SystemConfig.EthernetMode == 5) { #region OPT6 - etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData); + etherStringData = this.Protocol_OPT6(this.SystemConfig, this.CollectionWeightData, this.CurrentProductItem); this.SendEthernetData(etherStringData); #endregion } @@ -8708,9 +8708,8 @@ namespace INT69DC_7C.Forms return sb.ToString(); } - private string Protocol_OPT6_NotStxEtx(SystemConfigurationItem system, Collection datas) + private string Protocol_OPT6_NotStxEtx(SystemConfigurationItem system, Collection datas, ProductItem pItem) { - string value = ""; int toTalAll = 0, toTalPass = 0, totalNg = 0; StringBuilder sb = new StringBuilder(); @@ -8724,12 +8723,14 @@ namespace INT69DC_7C.Forms sb.Append(string.Format("IN{0:D3}", system.EquipmentID)); sb.Append(string.Format("{0:D4}", system.ProductNumber)); - value = toTalPass.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = totalNg.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = toTalAll.ToString(); - sb.Append(value.PadLeft(9, ' ')); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.UnderRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.PassRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.OverRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.TareRange, system.DecimalPlaces))); + + sb.Append(Helper.StringBlankFillDigits7(toTalPass.ToString())); + sb.Append(Helper.StringBlankFillDigits7(totalNg.ToString())); + sb.Append(Helper.StringBlankFillDigits9(toTalAll.ToString())); for (int i = 0; i < system.EquipmentColumns; i++) { @@ -8749,7 +8750,7 @@ namespace INT69DC_7C.Forms return sb.ToString(); } - private string Protocol_OPT6_NotStxEtx_1(SystemConfigurationItem system, Collection datas) + private string Protocol_OPT6_NotStxEtx_1(SystemConfigurationItem system, Collection datas, ProductItem pItem) { string value = ""; int toTalAll = 0, toTalPass = 0, totalNg = 0; @@ -8765,12 +8766,14 @@ namespace INT69DC_7C.Forms sb.Append(string.Format("IN{0:D3}", system.EquipmentID)); sb.Append(string.Format("{0:D4}", system.ProductNumber)); - value = toTalPass.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = totalNg.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = toTalAll.ToString(); - sb.Append(value.PadLeft(9, ' ')); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.UnderRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.PassRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.OverRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.TareRange, system.DecimalPlaces))); + + sb.Append(Helper.StringBlankFillDigits7(toTalPass.ToString())); + sb.Append(Helper.StringBlankFillDigits7(totalNg.ToString())); + sb.Append(Helper.StringBlankFillDigits9(toTalAll.ToString())); for (int i = 0; i < system.EquipmentColumns; i++) { @@ -8811,17 +8814,17 @@ namespace INT69DC_7C.Forms return sb.ToString(); } - public string Protocol_OPT6(SystemConfigurationItem system, Collection datas) + public string Protocol_OPT6(SystemConfigurationItem system, Collection datas, ProductItem pItem) { StringBuilder sb = new StringBuilder(); sb.Append((char)0x02); - sb.Append(this.Protocol_OPT6_NotStxEtx(system, datas)); + sb.Append(this.Protocol_OPT6_NotStxEtx(system, datas, pItem)); sb.Append((char)0x03); return sb.ToString(); } - private string Protocol_OPT6_NotStxEtx(SystemConfigurationItem system, WeightData data, int lane) + private string Protocol_OPT6_NotStxEtx(SystemConfigurationItem system, WeightData data, int lane, ProductItem pItem) { string value = ""; StringBuilder sb = new StringBuilder(); @@ -8829,12 +8832,14 @@ namespace INT69DC_7C.Forms sb.Append(string.Format("IN{0:D3}", system.EquipmentID)); sb.Append(string.Format("{0:D4}", system.ProductNumber)); - value = data.PassCount.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = data.TotalNGCount.ToString(); - sb.Append(value.PadLeft(7, ' ')); - value = data.TotalCount.ToString(); - sb.Append(value.PadLeft(9, ' ')); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.UnderRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.PassRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.OverRange, system.DecimalPlaces))); + sb.Append(Helper.StringBlankFillDigits6(Helper.StringToDecimalPlaces(pItem.TareRange, system.DecimalPlaces))); + + sb.Append(Helper.StringBlankFillDigits7(data.PassCount.ToString())); + sb.Append(Helper.StringBlankFillDigits7(data.TotalNGCount.ToString())); + sb.Append(Helper.StringBlankFillDigits9(data.TotalCount.ToString())); sb.Append(string.Format("{0:D2}", lane)); @@ -8853,12 +8858,12 @@ namespace INT69DC_7C.Forms return sb.ToString(); } - public string Protocol_OPT6(SystemConfigurationItem system, WeightData data, int lane) + public string Protocol_OPT6(SystemConfigurationItem system, WeightData data, int lane, ProductItem pItem) { StringBuilder sb = new StringBuilder(); sb.Append((char)0x02); - sb.Append(this.Protocol_OPT6_NotStxEtx(system, data, lane)); + sb.Append(this.Protocol_OPT6_NotStxEtx(system, data, lane, pItem)); sb.Append((char)0x03); return sb.ToString(); @@ -11336,11 +11341,11 @@ namespace INT69DC_7C.Forms #region OPT6 - 중량 데이터 피드백 (수량 포함) public void SerialCH3OPT6(int lane, WeightData data) { - this.SerialCom3Write(this.Protocol_OPT6_NotStxEtx(this.SystemConfig, data, lane)); + this.SerialCom3Write(this.Protocol_OPT6_NotStxEtx(this.SystemConfig, data, lane, this.CurrentProductItem)); } public void SerialCH3OPT6(Collection datas) { - this.SerialCom3Write(this.Protocol_OPT6_NotStxEtx_1(this.SystemConfig, datas)); + this.SerialCom3Write(this.Protocol_OPT6_NotStxEtx_1(this.SystemConfig, datas, this.CurrentProductItem)); } #endregion diff --git a/INT69DC_7C/Helper.cs b/INT69DC_7C/Helper.cs index 89e2f8a..f1bd5eb 100644 --- a/INT69DC_7C/Helper.cs +++ b/INT69DC_7C/Helper.cs @@ -394,6 +394,58 @@ namespace INT69DC_7C else return "0000000"; } + /// + /// 7자리에 맞춰 공백을 빈칸으로 채움 + /// + /// + /// + public static string StringBlankFillDigits7(string value) + { + if (value.Length == 1) + return string.Format(" {0}", value); + else if (value.Length == 2) + return string.Format(" {0}", value); + else if (value.Length == 3) + return string.Format(" {0}", value); + else if (value.Length == 4) + return string.Format(" {0}", value); + else if (value.Length == 5) + return string.Format(" {0}", value); + else if (value.Length == 6) + return string.Format(" {0}", value); + else if (value.Length == 7) + return value; + else + return " "; + } + /// + /// 9자리에 맞춰 공백을 빈칸으로 채움 + /// + /// + /// + public static string StringBlankFillDigits9(string value) + { + if (value.Length == 1) + return string.Format(" {0}", value); + else if (value.Length == 2) + return string.Format(" {0}", value); + else if (value.Length == 3) + return string.Format(" {0}", value); + else if (value.Length == 4) + return string.Format(" {0}", value); + else if (value.Length == 5) + return string.Format(" {0}", value); + else if (value.Length == 6) + return string.Format(" {0}", value); + else if (value.Length == 7) + return string.Format(" {0}", value); + else if (value.Length == 8) + return string.Format(" {0}", value); + else if (value.Length == 9) + return value; + else + return " "; + } /// /// 2로 나눈 나머지값 리턴 diff --git a/INT69DC_7C/Version.txt b/INT69DC_7C/Version.txt index f5bb848..2fbe3f2 100644 --- a/INT69DC_7C/Version.txt +++ b/INT69DC_7C/Version.txt @@ -23,8 +23,18 @@ Ƽ 8,10,12 /ƽ 跮 */ +@ Ver 12.2.3 by LSJ + - 2025.03.13 + - Ver 12.2.2 Modify + - Framework : SmartX Framework V3.2.4(update: 2021.01.20) + - ũ û ߰ + OP6 + ߷ ߰ + OPT6 : STX[1],ID[5],NO[4],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1] + --> STX[1],ID[5],NO[4],UNDER[6],PASS[6],OVER[6],TARE[6],PASS CNT[7],NG CNT[7],TOTAL CNT[9],{GRD[1],WEIGHT[6]} * n,ETX[1] + @ Ver 12.2.2 by LSJ - - 2025.02.04 + - 2025.03.04 - Ver 12.2.1 Modify - Framework : SmartX Framework V3.2.4(update: 2021.01.20) -