parent
82121a495c
commit
90e22868d5
|
@ -26,3 +26,4 @@ ITC81DB/obj/Release/build.force
|
||||||
ITC81DB_ImageDll/ITC81DB_ImageDll/obj/
|
ITC81DB_ImageDll/ITC81DB_ImageDll/obj/
|
||||||
ITC81DB_0H/bin/Release/UpdateFiles.zip
|
ITC81DB_0H/bin/Release/UpdateFiles.zip
|
||||||
ITC81DB_0H/bin/Release/UpdateFiles_V105.zip
|
ITC81DB_0H/bin/Release/UpdateFiles_V105.zip
|
||||||
|
ITC81DB_0H/bin/Release/UpdateFiles_V110.zip
|
||||||
|
|
|
@ -19,6 +19,7 @@ namespace ITC81DB_0H.Controls
|
||||||
public partial class ControlCenterConfiEthernet : UserControl
|
public partial class ControlCenterConfiEthernet : UserControl
|
||||||
{
|
{
|
||||||
#region Field
|
#region Field
|
||||||
|
private int m_ModeSTD2;
|
||||||
private FormMenu m_ParentForm;
|
private FormMenu m_ParentForm;
|
||||||
|
|
||||||
public ControlConfiEthernetLocalIP ControlEthernetLocalIP;
|
public ControlConfiEthernetLocalIP ControlEthernetLocalIP;
|
||||||
|
@ -44,6 +45,11 @@ namespace ITC81DB_0H.Controls
|
||||||
get { return this.m_ParentForm; }
|
get { return this.m_ParentForm; }
|
||||||
private set { this.m_ParentForm = value; }
|
private set { this.m_ParentForm = value; }
|
||||||
}
|
}
|
||||||
|
public int ModeSTD2
|
||||||
|
{
|
||||||
|
get { return this.m_ModeSTD2; }
|
||||||
|
set { this.m_ModeSTD2 = value; }
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Method
|
#region Method
|
||||||
|
@ -184,6 +190,8 @@ namespace ITC81DB_0H.Controls
|
||||||
this.Controls.Add(this.ControlMarkoprint);
|
this.Controls.Add(this.ControlMarkoprint);
|
||||||
this.ControlMarkoprint.Location = new Point(0, 217);
|
this.ControlMarkoprint.Location = new Point(0, 217);
|
||||||
|
|
||||||
|
this.ModeSTD2 = 4;
|
||||||
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig2.IsEthernetEnable == true)
|
if (this.ParentForm.ParentForm.SystemConfig2.IsEthernetEnable == true)
|
||||||
{
|
{
|
||||||
this.buttonStart.Enabled = true;
|
this.buttonStart.Enabled = true;
|
||||||
|
@ -239,6 +247,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxEthernetMode.Items.Add("OPT3"); // 17
|
this.comboBoxEthernetMode.Items.Add("OPT3"); // 17
|
||||||
this.comboBoxEthernetMode.Items.Add("HP-200"); // 18
|
this.comboBoxEthernetMode.Items.Add("HP-200"); // 18
|
||||||
this.comboBoxEthernetMode.Items.Add("Smart Jet"); // 19
|
this.comboBoxEthernetMode.Items.Add("Smart Jet"); // 19
|
||||||
|
this.comboBoxEthernetMode.Items.Add("imaje 9410 OPT3"); // 한맥 20
|
||||||
|
this.comboBoxEthernetMode.Items.Add("-"); // Impinj Speedway-R420(RFID) 21
|
||||||
|
this.comboBoxEthernetMode.Items.Add("-"); // 모드버스 TCP 22
|
||||||
|
this.comboBoxEthernetMode.Items.Add("STD2"); // STD2 23
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -246,6 +258,7 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxEthernetMode.Items.Add("STD1");
|
this.comboBoxEthernetMode.Items.Add("STD1");
|
||||||
this.comboBoxEthernetMode.Items.Add("Remote");
|
this.comboBoxEthernetMode.Items.Add("Remote");
|
||||||
this.comboBoxEthernetMode.Items.Add("Printer");
|
this.comboBoxEthernetMode.Items.Add("Printer");
|
||||||
|
this.comboBoxEthernetMode.Items.Add("STD2"); // STD2 23
|
||||||
}
|
}
|
||||||
this.comboBoxEthernetMode.SelectedIndexChanged += new EventHandler(this.comboBoxEthernetMode_SelectedIndexChanged);
|
this.comboBoxEthernetMode.SelectedIndexChanged += new EventHandler(this.comboBoxEthernetMode_SelectedIndexChanged);
|
||||||
}
|
}
|
||||||
|
@ -259,72 +272,105 @@ namespace ITC81DB_0H.Controls
|
||||||
{
|
{
|
||||||
this.buttonTestSend.Enabled = true;
|
this.buttonTestSend.Enabled = true;
|
||||||
|
|
||||||
switch (this.comboBoxEthernetMode.SelectedIndex)
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
{
|
{
|
||||||
case 0: // None
|
switch (this.comboBoxEthernetMode.SelectedIndex)
|
||||||
this.labelFormat.Text = "";
|
{
|
||||||
break;
|
case 0: // None
|
||||||
case 1: // STD1
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],R[6],O[6],G[1],W[6],ETX[1]";
|
break;
|
||||||
break;
|
case 1: // STD1
|
||||||
case 2: // Remote
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
break;
|
||||||
break;
|
case 2: // Remote
|
||||||
case 3: // Printer
|
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
break;
|
||||||
break;
|
case 3: // Printer
|
||||||
case 4: // markem-imaje 9410 OPT1
|
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
||||||
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
break;
|
||||||
break;
|
case 4: // STD2
|
||||||
case 5: // markem-imaje 9028 OPT1
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],UC[7],PC[7],OC[7],ExC[7],TC[9],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
break;
|
||||||
break;
|
default:
|
||||||
case 6: // 노바렉스 대주
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "0x1B,EW----;1.00I,0x0D,0x1B,P1-0-000000000;A9mm;,W[6],0x0D,0x1B,EX----;,0x0D,0x02,TZ1.00I;13,0x0D,0x03";
|
break;
|
||||||
break;
|
}
|
||||||
case 7: // markem-imaje 9410 OPT2
|
}
|
||||||
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
else
|
||||||
break;
|
{
|
||||||
case 8: // markem-imaje 9028 OPT2
|
switch (this.comboBoxEthernetMode.SelectedIndex)
|
||||||
this.labelFormat.Text = "0x05/0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
{
|
||||||
break;
|
case 0: // None
|
||||||
case 9: // Hitachi
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "STX[1],Length[1],Room Number[1],W[5],ETX[1]";
|
break;
|
||||||
break;
|
case 1: // STD1
|
||||||
case 10: // MACSA Laser
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],0xFE,0x41,0x30,0x06,W[6],Chk[1],(Chk[1]&0xff)[1],ETX[1]";
|
break;
|
||||||
break;
|
case 2: // Remote
|
||||||
case 11: // Markoprint
|
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],TZcosmax.;00I;13,0x0D,W[6],Unit[1],0x0D,ETX[1]";
|
break;
|
||||||
break;
|
case 3: // Printer
|
||||||
case 12: // alphaJET
|
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
||||||
this.labelFormat.Text = "<GP><LOADLAB>label\\1234.txt</LOADLAB><DSET><DF aI=''1''>,W[6],Unit[1],</DF></DSET></GP>";
|
break;
|
||||||
break;
|
case 4: // markem-imaje 9410 OPT1
|
||||||
case 13: // Marking(VJ1510)
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
this.labelFormat.Text = "STX[1],0x55,0x4B,0x0A,W[4],ETX[1]";
|
break;
|
||||||
break;
|
case 5: // markem-imaje 9028 OPT1
|
||||||
case 14: // OPT1
|
this.labelFormat.Text = "0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
||||||
this.labelFormat.Text = "Start:STX[1],12,ETX[1], Stop:STX[1],13,ETX[1], Number change:STX[1],200,No[2],ETX[1]";
|
break;
|
||||||
break;
|
case 6: // 노바렉스 대주
|
||||||
case 15:
|
this.labelFormat.Text = "0x1B,EW----;1.00I,0x0D,0x1B,P1-0-000000000;A9mm;,W[6],0x0D,0x1B,EX----;,0x0D,0x02,TZ1.00I;13,0x0D,0x03";
|
||||||
break;
|
break;
|
||||||
case 16: // OPC
|
case 7: // markem-imaje 9410 OPT2
|
||||||
this.buttonTestSend.Enabled = false;
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
this.labelFormat.Text = "OPC : opc.tcp://192.168.4.10";
|
break;
|
||||||
break;
|
case 8: // markem-imaje 9028 OPT2
|
||||||
case 17: // OPT3
|
this.labelFormat.Text = "0x05/0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
||||||
this.labelFormat.Text = "STX[1],Date[9],Time[9],Count[9],grd[9],W[9],Lot[9],O[9],U[9],P[9],ETX[1]";
|
break;
|
||||||
break;
|
case 9: // Hitachi
|
||||||
case 18: // HP-200
|
this.labelFormat.Text = "STX[1],Length[1],Room Number[1],W[5],ETX[1]";
|
||||||
this.labelFormat.Text = "Pass : 02 4a 30 2c W[6] 0d 04 / NG : 02 4a 30 2c 20 20 20 20 20 20 0d 04 -> Screen Update : 02 5a 04";
|
break;
|
||||||
break;
|
case 10: // MACSA Laser
|
||||||
case 19: // Smart Jet
|
this.labelFormat.Text = "STX[1],0xFE,0x41,0x30,0x06,W[6],Chk[1],(Chk[1]&0xff)[1],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1], A01, WeightData[6], EOT[1]";
|
break;
|
||||||
break;
|
case 11: // Markoprint
|
||||||
default:
|
this.labelFormat.Text = "STX[1],TZcosmax.;00I;13,0x0D,W[6],Unit[1],0x0D,ETX[1]";
|
||||||
this.buttonTestSend.Enabled = false;
|
break;
|
||||||
this.labelFormat.Text = "Private use";
|
case 12: // alphaJET
|
||||||
break;
|
this.labelFormat.Text = "<GP><LOADLAB>label\\1234.txt</LOADLAB><DSET><DF aI=''1''>,W[6],Unit[1],</DF></DSET></GP>";
|
||||||
|
break;
|
||||||
|
case 13: // Marking(VJ1510)
|
||||||
|
this.labelFormat.Text = "STX[1],0x55,0x4B,0x0A,W[4],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 14: // OPT1
|
||||||
|
this.labelFormat.Text = "Start:STX[1],12,ETX[1], Stop:STX[1],13,ETX[1], Number change:STX[1],200,No[2],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 15:
|
||||||
|
break;
|
||||||
|
case 16: // OPC
|
||||||
|
this.buttonTestSend.Enabled = false;
|
||||||
|
this.labelFormat.Text = "OPC : opc.tcp://192.168.4.10";
|
||||||
|
break;
|
||||||
|
case 17: // OPT3
|
||||||
|
this.labelFormat.Text = "STX[1],Date[9],Time[9],Count[9],grd[9],W[9],Lot[9],O[9],U[9],P[9],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 18: // HP-200
|
||||||
|
this.labelFormat.Text = "Pass : 02 4a 30 2c W[6] 0d 04 / NG : 02 4a 30 2c 20 20 20 20 20 20 0d 04 -> Screen Update : 02 5a 04";
|
||||||
|
break;
|
||||||
|
case 19: // Smart Jet
|
||||||
|
this.labelFormat.Text = "STX[1], A01, WeightData[6], EOT[1]";
|
||||||
|
break;
|
||||||
|
case 20: // markem-imaje 9410 OPT3
|
||||||
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
|
break;
|
||||||
|
case (int)DataStore.EthernetMode.f23_STD2: // STD2
|
||||||
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],UC[7],PC[7],OC[7],ExC[7],TC[9],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
this.buttonTestSend.Enabled = false;
|
||||||
|
this.labelFormat.Text = "Private use";
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//else if (this.comboBoxSerialMode.SelectedIndex == 15) // OPT2
|
//else if (this.comboBoxSerialMode.SelectedIndex == 15) // OPT2
|
||||||
|
@ -387,12 +433,18 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxEthernetOpMode.SelectedIndexChanged -= new EventHandler(this.comboBoxEthernetOpMode_SelectedIndexChanged);
|
this.comboBoxEthernetOpMode.SelectedIndexChanged -= new EventHandler(this.comboBoxEthernetOpMode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.comboBoxEthernetOpMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig2.EthernetOperationMode;
|
this.comboBoxEthernetOpMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig2.EthernetOperationMode;
|
||||||
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
&& this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode > this.comboBoxEthernetMode.Items.Count - 1)
|
|
||||||
{
|
{
|
||||||
this.comboBoxEthernetMode.SelectedIndex = 0;
|
if (this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode == (int)DataStore.EthernetMode.f23_STD2)
|
||||||
this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode = this.comboBoxEthernetMode.SelectedIndex;
|
this.comboBoxEthernetMode.SelectedIndex = this.ModeSTD2;
|
||||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.ParentForm.SystemConfig2);
|
else if (this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode > this.comboBoxEthernetMode.Items.Count - 1)
|
||||||
|
{
|
||||||
|
this.comboBoxEthernetMode.SelectedIndex = 0;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode = this.comboBoxEthernetMode.SelectedIndex;
|
||||||
|
this.ParentForm.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.ParentForm.SystemConfig2);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
this.comboBoxEthernetMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.comboBoxEthernetMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode;
|
this.comboBoxEthernetMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode;
|
||||||
|
@ -1075,6 +1127,8 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
private void buttonSave_Click(object sender, EventArgs e)
|
private void buttonSave_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
int mode = 0;
|
||||||
|
|
||||||
if (this.comboBoxEthernetMode.SelectedIndex == 16) // OPC
|
if (this.comboBoxEthernetMode.SelectedIndex == 16) // OPC
|
||||||
{
|
{
|
||||||
DialogFormMessage msg = new DialogFormMessage(26, this.ParentForm.ParentForm.SystemConfig1.Language);
|
DialogFormMessage msg = new DialogFormMessage(26, this.ParentForm.ParentForm.SystemConfig1.Language);
|
||||||
|
@ -1121,7 +1175,14 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelConnectedIP.Text = "-";
|
this.labelConnectedIP.Text = "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode = this.comboBoxEthernetMode.SelectedIndex;
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
|
{
|
||||||
|
if (this.comboBoxEthernetMode.SelectedIndex == this.ModeSTD2)
|
||||||
|
mode = (int)DataStore.SerialMode.f23_STD2;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
mode = this.comboBoxEthernetMode.SelectedIndex;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig2.EthernetCommMode = mode;
|
||||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.ParentForm.SystemConfig2);
|
this.ParentForm.ParentForm.SaveSystemConfigurationFile2(this.ParentForm.ParentForm.SystemConfig2);
|
||||||
|
|
||||||
this.buttonSave.Enabled = false;
|
this.buttonSave.Enabled = false;
|
||||||
|
|
|
@ -21,6 +21,7 @@ namespace ITC81DB_0H.Controls
|
||||||
public partial class ControlCenterConfiSerial : UserControl
|
public partial class ControlCenterConfiSerial : UserControl
|
||||||
{
|
{
|
||||||
#region Field
|
#region Field
|
||||||
|
private int m_ModeSTD2;
|
||||||
private FormMenu m_ParentForm;
|
private FormMenu m_ParentForm;
|
||||||
public ControlConfiSerialUserDefine ControlUserDefine;
|
public ControlConfiSerialUserDefine ControlUserDefine;
|
||||||
public ControlConfiSerialHitachi ControlHitachi;
|
public ControlConfiSerialHitachi ControlHitachi;
|
||||||
|
@ -46,6 +47,11 @@ namespace ITC81DB_0H.Controls
|
||||||
get { return this.m_ParentForm; }
|
get { return this.m_ParentForm; }
|
||||||
private set { this.m_ParentForm = value; }
|
private set { this.m_ParentForm = value; }
|
||||||
}
|
}
|
||||||
|
public int ModeSTD2
|
||||||
|
{
|
||||||
|
get { return this.m_ModeSTD2; }
|
||||||
|
set { this.m_ModeSTD2 = value; }
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Method
|
#region Method
|
||||||
|
@ -141,6 +147,8 @@ namespace ITC81DB_0H.Controls
|
||||||
this.Controls.Add(this.ControlBarcode);
|
this.Controls.Add(this.ControlBarcode);
|
||||||
this.ControlBarcode.Location = new Point(0, 217);
|
this.ControlBarcode.Location = new Point(0, 217);
|
||||||
|
|
||||||
|
this.ModeSTD2 = 4;
|
||||||
|
|
||||||
this.ControlVisible(false);
|
this.ControlVisible(false);
|
||||||
|
|
||||||
this.comboBoxSerialBaudRate.Items.Clear();
|
this.comboBoxSerialBaudRate.Items.Clear();
|
||||||
|
@ -183,6 +191,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSerialMode.Items.Add("OPT3"); // 셀로닉스 요청 17
|
this.comboBoxSerialMode.Items.Add("OPT3"); // 셀로닉스 요청 17
|
||||||
this.comboBoxSerialMode.Items.Add("HP-200"); // HP-200 18
|
this.comboBoxSerialMode.Items.Add("HP-200"); // HP-200 18
|
||||||
this.comboBoxSerialMode.Items.Add("Smart Jet"); // Smart Jet 19
|
this.comboBoxSerialMode.Items.Add("Smart Jet"); // Smart Jet 19
|
||||||
|
this.comboBoxSerialMode.Items.Add("imaje 9410 OPT3"); // 한맥 20
|
||||||
|
this.comboBoxSerialMode.Items.Add("-"); // RFID 21
|
||||||
|
this.comboBoxSerialMode.Items.Add("-"); // 모드버스 RTU 22
|
||||||
|
this.comboBoxSerialMode.Items.Add("STD2"); // STD2 23
|
||||||
//this.comboBoxSerialMode.Items.Add("Barcode");
|
//this.comboBoxSerialMode.Items.Add("Barcode");
|
||||||
//this.comboBoxSerialMode.Items.Add("User Define");
|
//this.comboBoxSerialMode.Items.Add("User Define");
|
||||||
}
|
}
|
||||||
|
@ -191,77 +203,111 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSerialMode.Items.Add("None");
|
this.comboBoxSerialMode.Items.Add("None");
|
||||||
this.comboBoxSerialMode.Items.Add("STD1");
|
this.comboBoxSerialMode.Items.Add("STD1");
|
||||||
this.comboBoxSerialMode.Items.Add("Remote");
|
this.comboBoxSerialMode.Items.Add("Remote");
|
||||||
this.comboBoxSerialMode.Items.Add("Printer");
|
this.comboBoxSerialMode.Items.Add("Printer");
|
||||||
|
this.comboBoxSerialMode.Items.Add("STD2"); // STD2 23
|
||||||
}
|
}
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged += new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged += new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateLabelFormatDisplay()
|
private void UpdateLabelFormatDisplay()
|
||||||
{
|
{
|
||||||
switch (this.comboBoxSerialMode.SelectedIndex)
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
{
|
{
|
||||||
case 0: // None
|
switch (this.comboBoxSerialMode.SelectedIndex)
|
||||||
this.labelFormat.Text = "";
|
{
|
||||||
break;
|
case 0: // None
|
||||||
case 1: // STD1
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],R[6],O[6],G[1],W[6],ETX[1]";
|
break;
|
||||||
break;
|
case 1: // STD1
|
||||||
case 2: // Remote
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
break;
|
||||||
break;
|
case 2: // Remote
|
||||||
case 3: // Printer
|
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
break;
|
||||||
break;
|
case 3: // Printer
|
||||||
case 4: // markem-imaje 9410 OPT1
|
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
||||||
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
break;
|
||||||
break;
|
case 4: // STD2
|
||||||
case 5: // markem-imaje 9028 OPT1
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],UC[7],PC[7],OC[7],ExC[7],TC[9],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
break;
|
||||||
break;
|
default:
|
||||||
case 6: // 노바렉스 대주
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "0x1B,EW----;1.00I,0x0D,0x1B,P1-0-000000000;A9mm;,W[6],0x0D,0x1B,EX----;,0x0D,0x02,TZ1.00I;13,0x0D,0x03";
|
break;
|
||||||
break;
|
}
|
||||||
case 7: // markem-imaje 9410 OPT2
|
}
|
||||||
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
else
|
||||||
break;
|
{
|
||||||
case 8: // markem-imaje 9028 OPT2
|
switch (this.comboBoxSerialMode.SelectedIndex)
|
||||||
this.labelFormat.Text = "0x05/0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
{
|
||||||
break;
|
case 0: // None
|
||||||
case 9: // Hitachi
|
this.labelFormat.Text = "";
|
||||||
this.labelFormat.Text = "STX[1],Length[1],Room Number[1],W[5],ETX[1]";
|
break;
|
||||||
break;
|
case 1: // STD1
|
||||||
case 10: // MACSA Laser
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],0xFE,0x41,0x30,0x06,W[6],Chk[1],(Chk[1]&0xff)[1],ETX[1]";
|
break;
|
||||||
break;
|
case 2: // Remote
|
||||||
case 11: // Markoprint
|
this.labelFormat.Text = "STX[1],No[2],Grd[1],Weight[6],ETX[1]";
|
||||||
this.labelFormat.Text = "STX[1],TZcosmax.;00I;13,0x0D,W[6],Unit[1],0x0D,ETX[1]";
|
break;
|
||||||
break;
|
case 3: // Printer
|
||||||
case 12: // alphaJET
|
this.labelFormat.Text = "No[4],Grd[8],Weight[10],CNT[10]";
|
||||||
this.labelFormat.Text = "<GP><LOADLAB>label\\1234.txt</LOADLAB><DSET><DF aI=''1''>,W[6],Unit[1],</DF></DSET></GP>";
|
break;
|
||||||
break;
|
case 4: // markem-imaje 9410 OPT1
|
||||||
case 13: // Marking(VJ1510)
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
this.labelFormat.Text = "STX[1],0x55,0x4B,0x0A,W[4],ETX[1]";
|
break;
|
||||||
break;
|
case 5: // markem-imaje 9028 OPT1
|
||||||
case 14: // OPT1
|
this.labelFormat.Text = "0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
||||||
this.labelFormat.Text = "Start:STX[1],12,ETX[1], Stop:STX[1],13,ETX[1], Number change:STX[1],200,No[2],ETX[1]";
|
break;
|
||||||
break;
|
case 6: // 노바렉스 대주
|
||||||
case 16: // OPC
|
this.labelFormat.Text = "0x1B,EW----;1.00I,0x0D,0x1B,P1-0-000000000;A9mm;,W[6],0x0D,0x1B,EX----;,0x0D,0x02,TZ1.00I;13,0x0D,0x03";
|
||||||
this.buttonTestSend.Enabled = false;
|
break;
|
||||||
this.labelFormat.Text = "OPC : opc.tcp://192.168.4.10";
|
case 7: // markem-imaje 9410 OPT2
|
||||||
break;
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
case 17: // OPT3
|
break;
|
||||||
this.labelFormat.Text = "STX[1],Date[9],Time[9],Count[9],grd[9],W[9],Lot[9],O[9],U[9],P[9],ETX[1]";
|
case 8: // markem-imaje 9028 OPT2
|
||||||
break;
|
this.labelFormat.Text = "0x05/0x99,0x00,0x07,0x12,W[5],0x12,Chksum[1]";
|
||||||
case 18: // HP-200
|
break;
|
||||||
this.labelFormat.Text = "Pass : 02 4a 30 2c W[6] 0d 04 / NG : 02 4a 30 2c 20 20 20 20 20 20 0d 04 -> Screen Update : 02 5a 04";
|
case 9: // Hitachi
|
||||||
break;
|
this.labelFormat.Text = "STX[1],Length[1],Room Number[1],W[5],ETX[1]";
|
||||||
case 19: // Smart Jet
|
break;
|
||||||
this.labelFormat.Text = "STX[1], A01, WeightData[6], EOT[1]";
|
case 10: // MACSA Laser
|
||||||
break;
|
this.labelFormat.Text = "STX[1],0xFE,0x41,0x30,0x06,W[6],Chk[1],(Chk[1]&0xff)[1],ETX[1]";
|
||||||
default:
|
break;
|
||||||
this.buttonTestSend.Enabled = false;
|
case 11: // Markoprint
|
||||||
this.labelFormat.Text = "Private use";
|
this.labelFormat.Text = "STX[1],TZcosmax.;00I;13,0x0D,W[6],Unit[1],0x0D,ETX[1]";
|
||||||
break;
|
break;
|
||||||
|
case 12: // alphaJET
|
||||||
|
this.labelFormat.Text = "<GP><LOADLAB>label\\1234.txt</LOADLAB><DSET><DF aI=''1''>,W[6],Unit[1],</DF></DSET></GP>";
|
||||||
|
break;
|
||||||
|
case 13: // Marking(VJ1510)
|
||||||
|
this.labelFormat.Text = "STX[1],0x55,0x4B,0x0A,W[4],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 14: // OPT1
|
||||||
|
this.labelFormat.Text = "Start:STX[1],12,ETX[1], Stop:STX[1],13,ETX[1], Number change:STX[1],200,No[2],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 16: // OPC
|
||||||
|
this.buttonTestSend.Enabled = false;
|
||||||
|
this.labelFormat.Text = "OPC : opc.tcp://192.168.4.10";
|
||||||
|
break;
|
||||||
|
case 17: // OPT3
|
||||||
|
this.labelFormat.Text = "STX[1],Date[9],Time[9],Count[9],grd[9],W[9],Lot[9],O[9],U[9],P[9],ETX[1]";
|
||||||
|
break;
|
||||||
|
case 18: // HP-200
|
||||||
|
this.labelFormat.Text = "Pass : 02 4a 30 2c W[6] 0d 04 / NG : 02 4a 30 2c 20 20 20 20 20 20 0d 04 -> Screen Update : 02 5a 04";
|
||||||
|
break;
|
||||||
|
case 19: // Smart Jet
|
||||||
|
this.labelFormat.Text = "STX[1], A01, WeightData[6], EOT[1]";
|
||||||
|
break;
|
||||||
|
case 20: // markem-imaje 9410 OPT3
|
||||||
|
this.labelFormat.Text = "0xE8,0x00,0x08,0x01,0x00,0x05,W[5],Chksum[1]";
|
||||||
|
break;
|
||||||
|
case (int)DataStore.SerialMode.f23_STD2: // STD2
|
||||||
|
this.labelFormat.Text = "STX[1],ID[5],No[4],U[6],P[6],O[6],UC[7],PC[7],OC[7],ExC[7],TC[9],Grd[1],Sign[1],Weight[6],ETX[1]";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
this.buttonTestSend.Enabled = false;
|
||||||
|
this.labelFormat.Text = "Private use";
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void ControlVisible(bool visible)
|
private void ControlVisible(bool visible)
|
||||||
|
@ -303,11 +349,16 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
// Mode
|
// Mode
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
&& item.SerialCOM1Mode > this.comboBoxSerialMode.Items.Count - 1)
|
|
||||||
{
|
{
|
||||||
this.comboBoxSerialMode.SelectedIndex = 0;
|
if (item.SerialCOM1Mode == (int)DataStore.SerialMode.f23_STD2)
|
||||||
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, 0);
|
this.comboBoxSerialMode.SelectedIndex = this.ModeSTD2;
|
||||||
|
else if (item.SerialCOM1Mode > this.comboBoxSerialMode.Items.Count - 1)
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = 0;
|
||||||
|
else
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode;
|
||||||
|
|
||||||
|
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, this.comboBoxSerialMode.SelectedIndex);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM1Mode;
|
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM1Mode;
|
||||||
|
@ -318,16 +369,28 @@ namespace ITC81DB_0H.Controls
|
||||||
break;
|
break;
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
||||||
#region COM3 Load
|
#region COM3 Load
|
||||||
if (this.ParentForm.ParentForm.SystemConfig1.IsBarcodeEnable == true)
|
if (this.ParentForm.ParentForm.SystemConfig2.Barcode != 0)
|
||||||
{
|
{
|
||||||
// BaudRate
|
|
||||||
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
this.comboBoxSerialBaudRate.SelectedIndex = 0;
|
|
||||||
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
|
||||||
|
|
||||||
// Mode
|
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
this.comboBoxSerialMode.SelectedIndex = 0;
|
switch (this.ParentForm.ParentForm.SystemConfig2.Barcode)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 0;
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = 0;
|
||||||
|
|
||||||
|
this.ControlBarcode.Visible = true;
|
||||||
|
this.ControlBarcode.DisplayRefresh(this.ParentForm.CurrentConfigurationMenu());
|
||||||
|
this.ControlBarcode.BringToFront();
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 4;
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = 0;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged += new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged += new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.labelTransmissionDelayTime.Text = "0";
|
this.labelTransmissionDelayTime.Text = "0";
|
||||||
|
@ -336,10 +399,6 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
this.comboBoxSerialBaudRate.Enabled = false;
|
this.comboBoxSerialBaudRate.Enabled = false;
|
||||||
this.comboBoxSerialMode.Enabled = false;
|
this.comboBoxSerialMode.Enabled = false;
|
||||||
|
|
||||||
this.ControlBarcode.Visible = true;
|
|
||||||
this.ControlBarcode.DisplayRefresh(this.ParentForm.CurrentConfigurationMenu());
|
|
||||||
this.ControlBarcode.BringToFront();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -350,11 +409,16 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
// Mode
|
// Mode
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
&& item.SerialCOM3Mode > this.comboBoxSerialMode.Items.Count - 1)
|
|
||||||
{
|
{
|
||||||
this.comboBoxSerialMode.SelectedIndex = 0;
|
if (item.SerialCOM3Mode == (int)DataStore.SerialMode.f23_STD2)
|
||||||
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, 0);
|
this.comboBoxSerialMode.SelectedIndex = this.ModeSTD2;
|
||||||
|
else if (item.SerialCOM3Mode > this.comboBoxSerialMode.Items.Count - 1)
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = 0;
|
||||||
|
else
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode;
|
||||||
|
|
||||||
|
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, this.comboBoxSerialMode.SelectedIndex);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM3Mode;
|
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM3Mode;
|
||||||
|
@ -373,11 +437,16 @@ namespace ITC81DB_0H.Controls
|
||||||
|
|
||||||
// Mode
|
// Mode
|
||||||
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
this.comboBoxSerialMode.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialMode_SelectedIndexChanged);
|
||||||
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false)
|
||||||
&& item.SerialCOM4Mode > this.comboBoxSerialMode.Items.Count - 1)
|
|
||||||
{
|
{
|
||||||
this.comboBoxSerialMode.SelectedIndex = 0;
|
if (item.SerialCOM4Mode == (int)DataStore.SerialMode.f23_STD2)
|
||||||
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, 0);
|
this.comboBoxSerialMode.SelectedIndex = this.ModeSTD2;
|
||||||
|
else if (item.SerialCOM4Mode > this.comboBoxSerialMode.Items.Count - 1)
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = 0;
|
||||||
|
else
|
||||||
|
this.comboBoxSerialMode.SelectedIndex = this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode;
|
||||||
|
|
||||||
|
this.SaveComboBox(this.comboBoxSerialBaudRate.SelectedIndex, this.comboBoxSerialMode.SelectedIndex);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM4Mode;
|
this.comboBoxSerialMode.SelectedIndex = item.SerialCOM4Mode;
|
||||||
|
@ -403,61 +472,177 @@ namespace ITC81DB_0H.Controls
|
||||||
{
|
{
|
||||||
DataStore.MenuBottomConfiguration temp = this.ParentForm.CurrentConfigurationMenu();
|
DataStore.MenuBottomConfiguration temp = this.ParentForm.CurrentConfigurationMenu();
|
||||||
|
|
||||||
if (this.comboBoxSerialMode.SelectedIndex == 16) // OPC
|
if (this.comboBoxSerialMode.SelectedIndex == (int)DataStore.SerialMode.f16_OPC)
|
||||||
{
|
{
|
||||||
|
#region OPC
|
||||||
switch (temp)
|
switch (temp)
|
||||||
{
|
{
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM1();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM1();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM1();
|
this.ParentForm.ParentForm.CloseSerialCOM1();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = 16;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1BaudRate = 0;
|
||||||
this.ParentForm.ParentForm.OpenModbusCOM1();
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 0;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = (int)DataStore.SerialMode.f16_OPC;
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM1();
|
||||||
break;
|
break;
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM3();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM3();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM3();
|
this.ParentForm.ParentForm.CloseSerialCOM3();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = 16;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3BaudRate = 0;
|
||||||
this.ParentForm.ParentForm.OpenModbusCOM3();
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 0;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = (int)DataStore.SerialMode.f16_OPC;
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM3();
|
||||||
break;
|
break;
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM4();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM4();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM4();
|
this.ParentForm.ParentForm.CloseSerialCOM4();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = 16;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4BaudRate = 0;
|
||||||
this.ParentForm.ParentForm.OpenModbusCOM4();
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 0;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = (int)DataStore.SerialMode.f16_OPC;
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM4();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
else if (this.comboBoxSerialMode.SelectedIndex == (int)DataStore.SerialMode.f21_Impinj_Speedway_R420)
|
||||||
|
{
|
||||||
|
#region RFID Speedway R420
|
||||||
|
switch (temp)
|
||||||
|
{
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM1();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM1();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM1();
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 4;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1BaudRate = 4;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = (int)DataStore.SerialMode.f21_Impinj_Speedway_R420;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM1FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
|
this.ParentForm.ParentForm.OpenSerialCOM1();
|
||||||
|
break;
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM3();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM3();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM3();
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 4;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3BaudRate = 4;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = (int)DataStore.SerialMode.f21_Impinj_Speedway_R420;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
|
this.ParentForm.ParentForm.OpenSerialCOM3();
|
||||||
|
break;
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM4();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM4();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM4();
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged -= new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndex = 4;
|
||||||
|
this.comboBoxSerialBaudRate.SelectedIndexChanged += new EventHandler(this.comboBoxSerialBaudRate_SelectedIndexChanged);
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4BaudRate = 4;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = (int)DataStore.SerialMode.f21_Impinj_Speedway_R420;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM4FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
|
this.ParentForm.ParentForm.OpenSerialCOM4();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
else if (this.comboBoxSerialMode.SelectedIndex == (int)DataStore.SerialMode.f22_Modbus_RTU)
|
||||||
|
{
|
||||||
|
#region Modbus RTU
|
||||||
|
switch (temp)
|
||||||
|
{
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM1();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM1();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM1();
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1BaudRate = baudrate;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = (int)DataStore.SerialMode.f22_Modbus_RTU;
|
||||||
|
if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 0)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM1();
|
||||||
|
else if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 1)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusCOM1();
|
||||||
|
break;
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM3();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM3();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM3();
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3BaudRate = baudrate;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = (int)DataStore.SerialMode.f22_Modbus_RTU;
|
||||||
|
if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 0)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM3();
|
||||||
|
else if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 1)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusCOM3();
|
||||||
|
break;
|
||||||
|
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
||||||
|
this.ParentForm.ParentForm.CloseModbusCOM4();
|
||||||
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM4();
|
||||||
|
this.ParentForm.ParentForm.CloseSerialCOM4();
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4BaudRate = baudrate;
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = (int)DataStore.SerialMode.f22_Modbus_RTU;
|
||||||
|
if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 0)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusSlaveCOM4();
|
||||||
|
else if (this.ParentForm.ParentForm.SystemConfig2.ModbusRTUSelectFunction == 1)
|
||||||
|
this.ParentForm.ParentForm.OpenModbusCOM4();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (temp)
|
switch (temp)
|
||||||
{
|
{
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
case DataStore.MenuBottomConfiguration.SerialCOM1:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM1();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM1();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM1();
|
this.ParentForm.ParentForm.CloseSerialCOM1();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1BaudRate = baudrate;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1BaudRate = baudrate;
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = mode;
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false && mode == this.ModeSTD2)
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = (int)DataStore.SerialMode.f23_STD2;
|
||||||
|
else
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM1Mode = mode;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM1FrameSeparateType(DataStore.SeparateType.STXANDETX);
|
||||||
this.ParentForm.ParentForm.OpenSerialCOM1();
|
this.ParentForm.ParentForm.OpenSerialCOM1();
|
||||||
break;
|
break;
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
case DataStore.MenuBottomConfiguration.SerialCOM3:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM3();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM3();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM3();
|
this.ParentForm.ParentForm.CloseSerialCOM3();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3BaudRate = baudrate;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3BaudRate = baudrate;
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = mode;
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false && mode == this.ModeSTD2)
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = (int)DataStore.SerialMode.f23_STD2;
|
||||||
|
else
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM3Mode = mode;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.STXANDETX);
|
||||||
this.ParentForm.ParentForm.OpenSerialCOM3();
|
this.ParentForm.ParentForm.OpenSerialCOM3();
|
||||||
break;
|
break;
|
||||||
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
case DataStore.MenuBottomConfiguration.SerialCOM4:
|
||||||
this.ParentForm.ParentForm.CloseModbusCOM4();
|
this.ParentForm.ParentForm.CloseModbusSlaveCOM4();
|
||||||
this.ParentForm.ParentForm.CloseSerialCOM4();
|
this.ParentForm.ParentForm.CloseSerialCOM4();
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4BaudRate = baudrate;
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4BaudRate = baudrate;
|
||||||
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = mode;
|
if (this.ParentForm.ParentForm.SystemConfig2.IsCommunicationOption == false && mode == this.ModeSTD2)
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = (int)DataStore.SerialMode.f23_STD2;
|
||||||
|
else
|
||||||
|
this.ParentForm.ParentForm.SystemConfig1.SerialCOM4Mode = mode;
|
||||||
|
this.ParentForm.ParentForm.ChangeSerialCOM4FrameSeparateType(DataStore.SeparateType.STXANDETX);
|
||||||
this.ParentForm.ParentForm.OpenSerialCOM4();
|
this.ParentForm.ParentForm.OpenSerialCOM4();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile1(this.ParentForm.ParentForm.SystemConfig1);
|
this.ParentForm.ParentForm.SaveSystemConfigurationFile1(this.ParentForm.ParentForm.SystemConfig1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ namespace ITC81DB_0H.Controls
|
||||||
private void DefaultSetting()
|
private void DefaultSetting()
|
||||||
{
|
{
|
||||||
this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig1.SerialNumber;
|
this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig1.SerialNumber;
|
||||||
this.labelDisplayVer.Text = "1.0.8";
|
this.labelDisplayVer.Text = "1.2.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateMainBoardVersionDisplay(string version)
|
public void UpdateMainBoardVersionDisplay(string version)
|
||||||
|
|
|
@ -437,10 +437,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter1Mode.Items.Add("정량");
|
this.comboBoxSorter1Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter1Mode.Items.Add("운전");
|
this.comboBoxSorter1Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter1Mode.Items.Add("개수");
|
this.comboBoxSorter1Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter1Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter1Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter1Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter1Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter1Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter1Mode.Items.Add("ExNG");
|
//this.comboBoxSorter1Mode.Items.Add("ExNG");
|
||||||
//this.comboBoxSorter1Mode.Items.Add("시건장치 제어"); // 10
|
|
||||||
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
|
this.comboBoxSorter1Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter1Mode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
|
this.comboBoxSorter2Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
|
||||||
|
@ -452,10 +452,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter2Mode.Items.Add("정량");
|
this.comboBoxSorter2Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter2Mode.Items.Add("운전");
|
this.comboBoxSorter2Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter2Mode.Items.Add("개수");
|
this.comboBoxSorter2Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter2Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter2Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter2Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter2Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter2Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter2Mode.Items.Add("ExNG");
|
//this.comboBoxSorter2Mode.Items.Add("ExNG");
|
||||||
//this.comboBoxSorter2Mode.Items.Add("시건장치 제어"); // 10
|
|
||||||
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
|
this.comboBoxSorter2Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter2Mode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
|
this.comboBoxSorter3Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
|
||||||
|
@ -467,10 +467,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter3Mode.Items.Add("정량");
|
this.comboBoxSorter3Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter3Mode.Items.Add("운전");
|
this.comboBoxSorter3Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter3Mode.Items.Add("개수");
|
this.comboBoxSorter3Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter3Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter3Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter3Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter3Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter3Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter3Mode.Items.Add("ExNG");
|
//this.comboBoxSorter3Mode.Items.Add("ExNG");
|
||||||
//this.comboBoxSorter3Mode.Items.Add("시건장치 제어"); // 10
|
|
||||||
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
|
this.comboBoxSorter3Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter3Mode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
|
this.comboBoxSorter4Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
|
||||||
|
@ -482,10 +482,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter4Mode.Items.Add("정량");
|
this.comboBoxSorter4Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter4Mode.Items.Add("운전");
|
this.comboBoxSorter4Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter4Mode.Items.Add("개수");
|
this.comboBoxSorter4Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter4Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter4Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter4Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter4Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter4Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter4Mode.Items.Add("ExNG");
|
//this.comboBoxSorter4Mode.Items.Add("ExNG");
|
||||||
//this.comboBoxSorter4Mode.Items.Add("시건장치 제어"); // 10
|
|
||||||
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
|
this.comboBoxSorter4Mode.SelectedIndexChanged += new EventHandler(this.comboBoxSorter4Mode_SelectedIndexChanged);
|
||||||
|
|
||||||
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
|
this.comboBoxSorter5Mode.SelectedIndexChanged -= new EventHandler(this.comboBoxSorter5Mode_SelectedIndexChanged);
|
||||||
|
@ -497,6 +497,7 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter5Mode.Items.Add("정량");
|
this.comboBoxSorter5Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter5Mode.Items.Add("운전");
|
this.comboBoxSorter5Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter5Mode.Items.Add("개수");
|
this.comboBoxSorter5Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter5Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter5Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter5Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter5Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter5Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter5Mode.Items.Add("ExNG");
|
//this.comboBoxSorter5Mode.Items.Add("ExNG");
|
||||||
|
@ -511,6 +512,7 @@ namespace ITC81DB_0H.Controls
|
||||||
this.comboBoxSorter6Mode.Items.Add("정량");
|
this.comboBoxSorter6Mode.Items.Add("정량");
|
||||||
this.comboBoxSorter6Mode.Items.Add("운전");
|
this.comboBoxSorter6Mode.Items.Add("운전");
|
||||||
this.comboBoxSorter6Mode.Items.Add("개수");
|
this.comboBoxSorter6Mode.Items.Add("개수");
|
||||||
|
this.comboBoxSorter6Mode.Items.Add("시건장치 제어"); // 7
|
||||||
//this.comboBoxSorter6Mode.Items.Add("카운터출력1");
|
//this.comboBoxSorter6Mode.Items.Add("카운터출력1");
|
||||||
//this.comboBoxSorter6Mode.Items.Add("카운터출력2");
|
//this.comboBoxSorter6Mode.Items.Add("카운터출력2");
|
||||||
//this.comboBoxSorter6Mode.Items.Add("ExNG");
|
//this.comboBoxSorter6Mode.Items.Add("ExNG");
|
||||||
|
|
|
@ -490,7 +490,7 @@ namespace ITC81DB_0H
|
||||||
this.buttonUsingTimeout.Click -= new EventHandler(this.buttonUsingTimeout_Click);
|
this.buttonUsingTimeout.Click -= new EventHandler(this.buttonUsingTimeout_Click);
|
||||||
|
|
||||||
// ETXOnly
|
// ETXOnly
|
||||||
this.ParentForm.ParentForm.ChangeBarcodeFrameSeparateType(DataStore.SeparateType.ETXONLY);
|
this.ParentForm.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
this.ParentForm.ParentForm.TransferSerialCOM3RawData(Barcode.ExitProgrammingMode);
|
this.ParentForm.ParentForm.TransferSerialCOM3RawData(Barcode.ExitProgrammingMode);
|
||||||
|
|
||||||
this.ParentForm.UpdateMenuExceptBarcodeDisplay(true);
|
this.ParentForm.UpdateMenuExceptBarcodeDisplay(true);
|
||||||
|
@ -519,7 +519,7 @@ namespace ITC81DB_0H
|
||||||
#region Event Handler
|
#region Event Handler
|
||||||
private void buttonConnect_Click(object sender, EventArgs e)
|
private void buttonConnect_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ParentForm.ParentForm.ChangeBarcodeFrameSeparateType(DataStore.SeparateType.ETXONLY);
|
this.ParentForm.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
|
|
||||||
this.buttonConnect.Enabled = false;
|
this.buttonConnect.Enabled = false;
|
||||||
this.ParentForm.UpdateMenuExceptBarcodeDisplay(false);
|
this.ParentForm.UpdateMenuExceptBarcodeDisplay(false);
|
||||||
|
@ -667,7 +667,7 @@ namespace ITC81DB_0H
|
||||||
|
|
||||||
private void buttonSave_Click(object sender, EventArgs e)
|
private void buttonSave_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ParentForm.ParentForm.ChangeBarcodeFrameSeparateType(DataStore.SeparateType.NONEFRAME_READTIMEOUT);
|
this.ParentForm.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.NONEFRAME_READTIMEOUT);
|
||||||
this.ParentForm.ParentForm.TransferSerialCOM3(Barcode.SavePermanently);
|
this.ParentForm.ParentForm.TransferSerialCOM3(Barcode.SavePermanently);
|
||||||
this.buttonSave.Visible = false;
|
this.buttonSave.Visible = false;
|
||||||
this.labelWarning.Visible = false;
|
this.labelWarning.Visible = false;
|
||||||
|
|
|
@ -48,13 +48,17 @@
|
||||||
this.buttonBypassDirection = new SmartX.SmartButton();
|
this.buttonBypassDirection = new SmartX.SmartButton();
|
||||||
this.buttonBypassOnce = new SmartX.SmartButton();
|
this.buttonBypassOnce = new SmartX.SmartButton();
|
||||||
this.labelTitleBypass = new SmartX.SmartLabel();
|
this.labelTitleBypass = new SmartX.SmartLabel();
|
||||||
|
this.labelTitleDryContact = new SmartX.SmartLabel();
|
||||||
|
this.smartSeparatorLine3 = new SmartX.SmartSeparatorLine();
|
||||||
|
this.smartSeparatorLine2 = new SmartX.SmartSeparatorLine();
|
||||||
|
this.labelTitleDryContact4 = new SmartX.SmartLabel();
|
||||||
|
this.labelTitleDryContact3 = new SmartX.SmartLabel();
|
||||||
|
this.labelTitleDryContact2 = new SmartX.SmartLabel();
|
||||||
|
this.labelTitleDryContact1 = new SmartX.SmartLabel();
|
||||||
this.buttonDry1 = new SmartX.SmartButton();
|
this.buttonDry1 = new SmartX.SmartButton();
|
||||||
this.buttonDry2 = new SmartX.SmartButton();
|
this.buttonDry2 = new SmartX.SmartButton();
|
||||||
this.buttonDry3 = new SmartX.SmartButton();
|
this.buttonDry3 = new SmartX.SmartButton();
|
||||||
this.buttonDry4 = new SmartX.SmartButton();
|
this.buttonDry4 = new SmartX.SmartButton();
|
||||||
this.labelTitleDryContact = new SmartX.SmartLabel();
|
|
||||||
this.smartSeparatorLine3 = new SmartX.SmartSeparatorLine();
|
|
||||||
this.smartSeparatorLine2 = new SmartX.SmartSeparatorLine();
|
|
||||||
this.groupBoxSorter.SuspendLayout();
|
this.groupBoxSorter.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
@ -334,7 +338,7 @@
|
||||||
this.smartSeparatorLine1.Line2Visible = true;
|
this.smartSeparatorLine1.Line2Visible = true;
|
||||||
this.smartSeparatorLine1.Line2Width = 1F;
|
this.smartSeparatorLine1.Line2Width = 1F;
|
||||||
this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Vertical;
|
this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Vertical;
|
||||||
this.smartSeparatorLine1.Location = new System.Drawing.Point(346, 13);
|
this.smartSeparatorLine1.Location = new System.Drawing.Point(342, 13);
|
||||||
this.smartSeparatorLine1.Name = "smartSeparatorLine1";
|
this.smartSeparatorLine1.Name = "smartSeparatorLine1";
|
||||||
this.smartSeparatorLine1.Size = new System.Drawing.Size(2, 190);
|
this.smartSeparatorLine1.Size = new System.Drawing.Size(2, 190);
|
||||||
this.smartSeparatorLine1.TabIndex = 144;
|
this.smartSeparatorLine1.TabIndex = 144;
|
||||||
|
@ -352,7 +356,7 @@
|
||||||
this.buttonBypassRun.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassRun.DownImage")));
|
this.buttonBypassRun.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassRun.DownImage")));
|
||||||
this.buttonBypassRun.GroupID = 0;
|
this.buttonBypassRun.GroupID = 0;
|
||||||
this.buttonBypassRun.InitVisible = true;
|
this.buttonBypassRun.InitVisible = true;
|
||||||
this.buttonBypassRun.Location = new System.Drawing.Point(395, 132);
|
this.buttonBypassRun.Location = new System.Drawing.Point(384, 132);
|
||||||
this.buttonBypassRun.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
this.buttonBypassRun.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
this.buttonBypassRun.Name = "buttonBypassRun";
|
this.buttonBypassRun.Name = "buttonBypassRun";
|
||||||
this.buttonBypassRun.NestedClickEventPrevent = false;
|
this.buttonBypassRun.NestedClickEventPrevent = false;
|
||||||
|
@ -383,7 +387,7 @@
|
||||||
this.buttonBypassDirection.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassDirection.DownImage")));
|
this.buttonBypassDirection.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassDirection.DownImage")));
|
||||||
this.buttonBypassDirection.GroupID = 0;
|
this.buttonBypassDirection.GroupID = 0;
|
||||||
this.buttonBypassDirection.InitVisible = true;
|
this.buttonBypassDirection.InitVisible = true;
|
||||||
this.buttonBypassDirection.Location = new System.Drawing.Point(368, 58);
|
this.buttonBypassDirection.Location = new System.Drawing.Point(357, 58);
|
||||||
this.buttonBypassDirection.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
this.buttonBypassDirection.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||||
this.buttonBypassDirection.Name = "buttonBypassDirection";
|
this.buttonBypassDirection.Name = "buttonBypassDirection";
|
||||||
this.buttonBypassDirection.NestedClickEventPrevent = false;
|
this.buttonBypassDirection.NestedClickEventPrevent = false;
|
||||||
|
@ -414,7 +418,7 @@
|
||||||
this.buttonBypassOnce.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassOnce.DownImage")));
|
this.buttonBypassOnce.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonBypassOnce.DownImage")));
|
||||||
this.buttonBypassOnce.GroupID = 0;
|
this.buttonBypassOnce.GroupID = 0;
|
||||||
this.buttonBypassOnce.InitVisible = true;
|
this.buttonBypassOnce.InitVisible = true;
|
||||||
this.buttonBypassOnce.Location = new System.Drawing.Point(368, 89);
|
this.buttonBypassOnce.Location = new System.Drawing.Point(357, 89);
|
||||||
this.buttonBypassOnce.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
this.buttonBypassOnce.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||||
this.buttonBypassOnce.Name = "buttonBypassOnce";
|
this.buttonBypassOnce.Name = "buttonBypassOnce";
|
||||||
this.buttonBypassOnce.NestedClickEventPrevent = false;
|
this.buttonBypassOnce.NestedClickEventPrevent = false;
|
||||||
|
@ -444,7 +448,7 @@
|
||||||
this.labelTitleBypass.ForeColor = System.Drawing.Color.White;
|
this.labelTitleBypass.ForeColor = System.Drawing.Color.White;
|
||||||
this.labelTitleBypass.InitVisible = true;
|
this.labelTitleBypass.InitVisible = true;
|
||||||
this.labelTitleBypass.LineSpacing = 0F;
|
this.labelTitleBypass.LineSpacing = 0F;
|
||||||
this.labelTitleBypass.Location = new System.Drawing.Point(368, 16);
|
this.labelTitleBypass.Location = new System.Drawing.Point(357, 16);
|
||||||
this.labelTitleBypass.Name = "labelTitleBypass";
|
this.labelTitleBypass.Name = "labelTitleBypass";
|
||||||
this.labelTitleBypass.Size = new System.Drawing.Size(100, 20);
|
this.labelTitleBypass.Size = new System.Drawing.Size(100, 20);
|
||||||
this.labelTitleBypass.TabIndex = 687;
|
this.labelTitleBypass.TabIndex = 687;
|
||||||
|
@ -453,142 +457,6 @@
|
||||||
this.labelTitleBypass.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelTitleBypass.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelTitleBypass.Wordwrap = false;
|
this.labelTitleBypass.Wordwrap = false;
|
||||||
//
|
//
|
||||||
// buttonDry1
|
|
||||||
//
|
|
||||||
this.buttonDry1.BackPictureBox = null;
|
|
||||||
this.buttonDry1.BackPictureBox1 = null;
|
|
||||||
this.buttonDry1.BackPictureBox2 = null;
|
|
||||||
this.buttonDry1.ButtonColor = System.Drawing.Color.Gray;
|
|
||||||
this.buttonDry1.ButtonImageAutoSize = true;
|
|
||||||
this.buttonDry1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry1.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.DisableImage")));
|
|
||||||
this.buttonDry1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.DownImage")));
|
|
||||||
this.buttonDry1.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
|
||||||
this.buttonDry1.GroupID = 0;
|
|
||||||
this.buttonDry1.InitVisible = true;
|
|
||||||
this.buttonDry1.Location = new System.Drawing.Point(543, 68);
|
|
||||||
this.buttonDry1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
|
||||||
this.buttonDry1.Name = "buttonDry1";
|
|
||||||
this.buttonDry1.NestedClickEventPrevent = false;
|
|
||||||
this.buttonDry1.OutlinePixel = 1;
|
|
||||||
this.buttonDry1.RepeatInterval = 200;
|
|
||||||
this.buttonDry1.RepeatIntervalAccelerate = null;
|
|
||||||
this.buttonDry1.SafeInterval = 200;
|
|
||||||
this.buttonDry1.Size = new System.Drawing.Size(50, 50);
|
|
||||||
this.buttonDry1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
|
||||||
this.buttonDry1.TabIndex = 692;
|
|
||||||
this.buttonDry1.Text = "1";
|
|
||||||
this.buttonDry1.TextColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry1.TextDownColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
|
||||||
this.buttonDry1.TextLocation = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
|
||||||
this.buttonDry1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.UpImage")));
|
|
||||||
this.buttonDry1.Visible = false;
|
|
||||||
this.buttonDry1.Click += new System.EventHandler(this.buttonDryContact_Click);
|
|
||||||
//
|
|
||||||
// buttonDry2
|
|
||||||
//
|
|
||||||
this.buttonDry2.BackPictureBox = null;
|
|
||||||
this.buttonDry2.BackPictureBox1 = null;
|
|
||||||
this.buttonDry2.BackPictureBox2 = null;
|
|
||||||
this.buttonDry2.ButtonColor = System.Drawing.Color.Gray;
|
|
||||||
this.buttonDry2.ButtonImageAutoSize = true;
|
|
||||||
this.buttonDry2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry2.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.DisableImage")));
|
|
||||||
this.buttonDry2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.DownImage")));
|
|
||||||
this.buttonDry2.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
|
||||||
this.buttonDry2.GroupID = 0;
|
|
||||||
this.buttonDry2.InitVisible = true;
|
|
||||||
this.buttonDry2.Location = new System.Drawing.Point(599, 68);
|
|
||||||
this.buttonDry2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
|
||||||
this.buttonDry2.Name = "buttonDry2";
|
|
||||||
this.buttonDry2.NestedClickEventPrevent = false;
|
|
||||||
this.buttonDry2.OutlinePixel = 1;
|
|
||||||
this.buttonDry2.RepeatInterval = 200;
|
|
||||||
this.buttonDry2.RepeatIntervalAccelerate = null;
|
|
||||||
this.buttonDry2.SafeInterval = 200;
|
|
||||||
this.buttonDry2.Size = new System.Drawing.Size(50, 50);
|
|
||||||
this.buttonDry2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
|
||||||
this.buttonDry2.TabIndex = 691;
|
|
||||||
this.buttonDry2.Text = "2";
|
|
||||||
this.buttonDry2.TextColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry2.TextDownColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
|
||||||
this.buttonDry2.TextLocation = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
|
||||||
this.buttonDry2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.UpImage")));
|
|
||||||
this.buttonDry2.Visible = false;
|
|
||||||
this.buttonDry2.Click += new System.EventHandler(this.buttonDryContact_Click);
|
|
||||||
//
|
|
||||||
// buttonDry3
|
|
||||||
//
|
|
||||||
this.buttonDry3.BackPictureBox = null;
|
|
||||||
this.buttonDry3.BackPictureBox1 = null;
|
|
||||||
this.buttonDry3.BackPictureBox2 = null;
|
|
||||||
this.buttonDry3.ButtonColor = System.Drawing.Color.Gray;
|
|
||||||
this.buttonDry3.ButtonImageAutoSize = true;
|
|
||||||
this.buttonDry3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry3.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.DisableImage")));
|
|
||||||
this.buttonDry3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.DownImage")));
|
|
||||||
this.buttonDry3.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
|
||||||
this.buttonDry3.GroupID = 0;
|
|
||||||
this.buttonDry3.InitVisible = true;
|
|
||||||
this.buttonDry3.Location = new System.Drawing.Point(543, 124);
|
|
||||||
this.buttonDry3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
|
||||||
this.buttonDry3.Name = "buttonDry3";
|
|
||||||
this.buttonDry3.NestedClickEventPrevent = false;
|
|
||||||
this.buttonDry3.OutlinePixel = 1;
|
|
||||||
this.buttonDry3.RepeatInterval = 200;
|
|
||||||
this.buttonDry3.RepeatIntervalAccelerate = null;
|
|
||||||
this.buttonDry3.SafeInterval = 200;
|
|
||||||
this.buttonDry3.Size = new System.Drawing.Size(50, 50);
|
|
||||||
this.buttonDry3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
|
||||||
this.buttonDry3.TabIndex = 690;
|
|
||||||
this.buttonDry3.Text = "3";
|
|
||||||
this.buttonDry3.TextColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry3.TextDownColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
|
||||||
this.buttonDry3.TextLocation = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
|
||||||
this.buttonDry3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.UpImage")));
|
|
||||||
this.buttonDry3.Visible = false;
|
|
||||||
this.buttonDry3.Click += new System.EventHandler(this.buttonDryContact_Click);
|
|
||||||
//
|
|
||||||
// buttonDry4
|
|
||||||
//
|
|
||||||
this.buttonDry4.BackPictureBox = null;
|
|
||||||
this.buttonDry4.BackPictureBox1 = null;
|
|
||||||
this.buttonDry4.BackPictureBox2 = null;
|
|
||||||
this.buttonDry4.ButtonColor = System.Drawing.Color.Gray;
|
|
||||||
this.buttonDry4.ButtonImageAutoSize = true;
|
|
||||||
this.buttonDry4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry4.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.DisableImage")));
|
|
||||||
this.buttonDry4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.DownImage")));
|
|
||||||
this.buttonDry4.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
|
||||||
this.buttonDry4.GroupID = 0;
|
|
||||||
this.buttonDry4.InitVisible = true;
|
|
||||||
this.buttonDry4.Location = new System.Drawing.Point(599, 124);
|
|
||||||
this.buttonDry4.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
|
||||||
this.buttonDry4.Name = "buttonDry4";
|
|
||||||
this.buttonDry4.NestedClickEventPrevent = false;
|
|
||||||
this.buttonDry4.OutlinePixel = 1;
|
|
||||||
this.buttonDry4.RepeatInterval = 200;
|
|
||||||
this.buttonDry4.RepeatIntervalAccelerate = null;
|
|
||||||
this.buttonDry4.SafeInterval = 200;
|
|
||||||
this.buttonDry4.Size = new System.Drawing.Size(50, 50);
|
|
||||||
this.buttonDry4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
|
||||||
this.buttonDry4.TabIndex = 689;
|
|
||||||
this.buttonDry4.Text = "4";
|
|
||||||
this.buttonDry4.TextColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry4.TextDownColor = System.Drawing.Color.White;
|
|
||||||
this.buttonDry4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
|
||||||
this.buttonDry4.TextLocation = new System.Drawing.Point(0, 0);
|
|
||||||
this.buttonDry4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
|
||||||
this.buttonDry4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.UpImage")));
|
|
||||||
this.buttonDry4.Visible = false;
|
|
||||||
this.buttonDry4.Click += new System.EventHandler(this.buttonDryContact_Click);
|
|
||||||
//
|
|
||||||
// labelTitleDryContact
|
// labelTitleDryContact
|
||||||
//
|
//
|
||||||
this.labelTitleDryContact.BackPictureBox = this.pictureBox1;
|
this.labelTitleDryContact.BackPictureBox = this.pictureBox1;
|
||||||
|
@ -600,7 +468,7 @@
|
||||||
this.labelTitleDryContact.ForeColor = System.Drawing.Color.White;
|
this.labelTitleDryContact.ForeColor = System.Drawing.Color.White;
|
||||||
this.labelTitleDryContact.InitVisible = true;
|
this.labelTitleDryContact.InitVisible = true;
|
||||||
this.labelTitleDryContact.LineSpacing = 0F;
|
this.labelTitleDryContact.LineSpacing = 0F;
|
||||||
this.labelTitleDryContact.Location = new System.Drawing.Point(499, 16);
|
this.labelTitleDryContact.Location = new System.Drawing.Point(494, 16);
|
||||||
this.labelTitleDryContact.Name = "labelTitleDryContact";
|
this.labelTitleDryContact.Name = "labelTitleDryContact";
|
||||||
this.labelTitleDryContact.Size = new System.Drawing.Size(196, 20);
|
this.labelTitleDryContact.Size = new System.Drawing.Size(196, 20);
|
||||||
this.labelTitleDryContact.TabIndex = 694;
|
this.labelTitleDryContact.TabIndex = 694;
|
||||||
|
@ -634,24 +502,244 @@
|
||||||
this.smartSeparatorLine2.Line2Visible = true;
|
this.smartSeparatorLine2.Line2Visible = true;
|
||||||
this.smartSeparatorLine2.Line2Width = 1F;
|
this.smartSeparatorLine2.Line2Width = 1F;
|
||||||
this.smartSeparatorLine2.LineDirection = SmartX.SmartSeparatorLine.DIR.Vertical;
|
this.smartSeparatorLine2.LineDirection = SmartX.SmartSeparatorLine.DIR.Vertical;
|
||||||
this.smartSeparatorLine2.Location = new System.Drawing.Point(491, 13);
|
this.smartSeparatorLine2.Location = new System.Drawing.Point(472, 13);
|
||||||
this.smartSeparatorLine2.Name = "smartSeparatorLine2";
|
this.smartSeparatorLine2.Name = "smartSeparatorLine2";
|
||||||
this.smartSeparatorLine2.Size = new System.Drawing.Size(2, 190);
|
this.smartSeparatorLine2.Size = new System.Drawing.Size(2, 190);
|
||||||
this.smartSeparatorLine2.TabIndex = 696;
|
this.smartSeparatorLine2.TabIndex = 696;
|
||||||
this.smartSeparatorLine2.Text = "smartSeparatorLine2";
|
this.smartSeparatorLine2.Text = "smartSeparatorLine2";
|
||||||
//
|
//
|
||||||
|
// labelTitleDryContact4
|
||||||
|
//
|
||||||
|
this.labelTitleDryContact4.BackPictureBox = this.pictureBox1;
|
||||||
|
this.labelTitleDryContact4.BackPictureBox1 = null;
|
||||||
|
this.labelTitleDryContact4.BackPictureBox2 = null;
|
||||||
|
this.labelTitleDryContact4.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.labelTitleDryContact4.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.labelTitleDryContact4.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.labelTitleDryContact4.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.labelTitleDryContact4.InitVisible = true;
|
||||||
|
this.labelTitleDryContact4.LineSpacing = 0F;
|
||||||
|
this.labelTitleDryContact4.Location = new System.Drawing.Point(480, 161);
|
||||||
|
this.labelTitleDryContact4.Name = "labelTitleDryContact4";
|
||||||
|
this.labelTitleDryContact4.Size = new System.Drawing.Size(154, 30);
|
||||||
|
this.labelTitleDryContact4.TabIndex = 707;
|
||||||
|
this.labelTitleDryContact4.Text = "시건장치 제어4";
|
||||||
|
this.labelTitleDryContact4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
|
this.labelTitleDryContact4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
|
this.labelTitleDryContact4.Visible = false;
|
||||||
|
this.labelTitleDryContact4.Wordwrap = false;
|
||||||
|
//
|
||||||
|
// labelTitleDryContact3
|
||||||
|
//
|
||||||
|
this.labelTitleDryContact3.BackPictureBox = this.pictureBox1;
|
||||||
|
this.labelTitleDryContact3.BackPictureBox1 = null;
|
||||||
|
this.labelTitleDryContact3.BackPictureBox2 = null;
|
||||||
|
this.labelTitleDryContact3.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.labelTitleDryContact3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.labelTitleDryContact3.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.labelTitleDryContact3.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.labelTitleDryContact3.InitVisible = true;
|
||||||
|
this.labelTitleDryContact3.LineSpacing = 0F;
|
||||||
|
this.labelTitleDryContact3.Location = new System.Drawing.Point(480, 125);
|
||||||
|
this.labelTitleDryContact3.Name = "labelTitleDryContact3";
|
||||||
|
this.labelTitleDryContact3.Size = new System.Drawing.Size(154, 30);
|
||||||
|
this.labelTitleDryContact3.TabIndex = 706;
|
||||||
|
this.labelTitleDryContact3.Text = "시건장치 제어3";
|
||||||
|
this.labelTitleDryContact3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
|
this.labelTitleDryContact3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
|
this.labelTitleDryContact3.Visible = false;
|
||||||
|
this.labelTitleDryContact3.Wordwrap = false;
|
||||||
|
//
|
||||||
|
// labelTitleDryContact2
|
||||||
|
//
|
||||||
|
this.labelTitleDryContact2.BackPictureBox = this.pictureBox1;
|
||||||
|
this.labelTitleDryContact2.BackPictureBox1 = null;
|
||||||
|
this.labelTitleDryContact2.BackPictureBox2 = null;
|
||||||
|
this.labelTitleDryContact2.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.labelTitleDryContact2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.labelTitleDryContact2.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.labelTitleDryContact2.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.labelTitleDryContact2.InitVisible = true;
|
||||||
|
this.labelTitleDryContact2.LineSpacing = 0F;
|
||||||
|
this.labelTitleDryContact2.Location = new System.Drawing.Point(480, 89);
|
||||||
|
this.labelTitleDryContact2.Name = "labelTitleDryContact2";
|
||||||
|
this.labelTitleDryContact2.Size = new System.Drawing.Size(154, 30);
|
||||||
|
this.labelTitleDryContact2.TabIndex = 705;
|
||||||
|
this.labelTitleDryContact2.Text = "시건장치 제어2";
|
||||||
|
this.labelTitleDryContact2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
|
this.labelTitleDryContact2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
|
this.labelTitleDryContact2.Visible = false;
|
||||||
|
this.labelTitleDryContact2.Wordwrap = false;
|
||||||
|
//
|
||||||
|
// labelTitleDryContact1
|
||||||
|
//
|
||||||
|
this.labelTitleDryContact1.BackPictureBox = this.pictureBox1;
|
||||||
|
this.labelTitleDryContact1.BackPictureBox1 = null;
|
||||||
|
this.labelTitleDryContact1.BackPictureBox2 = null;
|
||||||
|
this.labelTitleDryContact1.BorderColor = System.Drawing.Color.Black;
|
||||||
|
this.labelTitleDryContact1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.labelTitleDryContact1.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.labelTitleDryContact1.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.labelTitleDryContact1.InitVisible = true;
|
||||||
|
this.labelTitleDryContact1.LineSpacing = 0F;
|
||||||
|
this.labelTitleDryContact1.Location = new System.Drawing.Point(480, 53);
|
||||||
|
this.labelTitleDryContact1.Name = "labelTitleDryContact1";
|
||||||
|
this.labelTitleDryContact1.Size = new System.Drawing.Size(154, 30);
|
||||||
|
this.labelTitleDryContact1.TabIndex = 704;
|
||||||
|
this.labelTitleDryContact1.Text = "시건장치 제어1";
|
||||||
|
this.labelTitleDryContact1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
|
this.labelTitleDryContact1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
|
this.labelTitleDryContact1.Visible = false;
|
||||||
|
this.labelTitleDryContact1.Wordwrap = false;
|
||||||
|
//
|
||||||
|
// buttonDry1
|
||||||
|
//
|
||||||
|
this.buttonDry1.BackPictureBox = null;
|
||||||
|
this.buttonDry1.BackPictureBox1 = null;
|
||||||
|
this.buttonDry1.BackPictureBox2 = null;
|
||||||
|
this.buttonDry1.ButtonColor = System.Drawing.Color.Gray;
|
||||||
|
this.buttonDry1.ButtonImageAutoSize = true;
|
||||||
|
this.buttonDry1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry1.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.DisableImage")));
|
||||||
|
this.buttonDry1.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.DownImage")));
|
||||||
|
this.buttonDry1.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.buttonDry1.GroupID = 0;
|
||||||
|
this.buttonDry1.InitVisible = true;
|
||||||
|
this.buttonDry1.Location = new System.Drawing.Point(640, 53);
|
||||||
|
this.buttonDry1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
|
this.buttonDry1.Name = "buttonDry1";
|
||||||
|
this.buttonDry1.NestedClickEventPrevent = false;
|
||||||
|
this.buttonDry1.OutlinePixel = 1;
|
||||||
|
this.buttonDry1.RepeatInterval = 200;
|
||||||
|
this.buttonDry1.RepeatIntervalAccelerate = null;
|
||||||
|
this.buttonDry1.SafeInterval = 200;
|
||||||
|
this.buttonDry1.Size = new System.Drawing.Size(50, 30);
|
||||||
|
this.buttonDry1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||||
|
this.buttonDry1.TabIndex = 703;
|
||||||
|
this.buttonDry1.TextColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry1.TextDownColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||||
|
this.buttonDry1.TextLocation = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||||
|
this.buttonDry1.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry1.UpImage")));
|
||||||
|
this.buttonDry1.Visible = false;
|
||||||
|
this.buttonDry1.Click += new System.EventHandler(this.buttonDryContact_Click);
|
||||||
|
//
|
||||||
|
// buttonDry2
|
||||||
|
//
|
||||||
|
this.buttonDry2.BackPictureBox = null;
|
||||||
|
this.buttonDry2.BackPictureBox1 = null;
|
||||||
|
this.buttonDry2.BackPictureBox2 = null;
|
||||||
|
this.buttonDry2.ButtonColor = System.Drawing.Color.Gray;
|
||||||
|
this.buttonDry2.ButtonImageAutoSize = true;
|
||||||
|
this.buttonDry2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry2.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.DisableImage")));
|
||||||
|
this.buttonDry2.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.DownImage")));
|
||||||
|
this.buttonDry2.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.buttonDry2.GroupID = 0;
|
||||||
|
this.buttonDry2.InitVisible = true;
|
||||||
|
this.buttonDry2.Location = new System.Drawing.Point(640, 89);
|
||||||
|
this.buttonDry2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
|
this.buttonDry2.Name = "buttonDry2";
|
||||||
|
this.buttonDry2.NestedClickEventPrevent = false;
|
||||||
|
this.buttonDry2.OutlinePixel = 1;
|
||||||
|
this.buttonDry2.RepeatInterval = 200;
|
||||||
|
this.buttonDry2.RepeatIntervalAccelerate = null;
|
||||||
|
this.buttonDry2.SafeInterval = 200;
|
||||||
|
this.buttonDry2.Size = new System.Drawing.Size(50, 30);
|
||||||
|
this.buttonDry2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||||
|
this.buttonDry2.TabIndex = 702;
|
||||||
|
this.buttonDry2.TextColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry2.TextDownColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||||
|
this.buttonDry2.TextLocation = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||||
|
this.buttonDry2.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry2.UpImage")));
|
||||||
|
this.buttonDry2.Visible = false;
|
||||||
|
this.buttonDry2.Click += new System.EventHandler(this.buttonDryContact_Click);
|
||||||
|
//
|
||||||
|
// buttonDry3
|
||||||
|
//
|
||||||
|
this.buttonDry3.BackPictureBox = null;
|
||||||
|
this.buttonDry3.BackPictureBox1 = null;
|
||||||
|
this.buttonDry3.BackPictureBox2 = null;
|
||||||
|
this.buttonDry3.ButtonColor = System.Drawing.Color.Gray;
|
||||||
|
this.buttonDry3.ButtonImageAutoSize = true;
|
||||||
|
this.buttonDry3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry3.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.DisableImage")));
|
||||||
|
this.buttonDry3.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.DownImage")));
|
||||||
|
this.buttonDry3.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.buttonDry3.GroupID = 0;
|
||||||
|
this.buttonDry3.InitVisible = true;
|
||||||
|
this.buttonDry3.Location = new System.Drawing.Point(640, 125);
|
||||||
|
this.buttonDry3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
|
this.buttonDry3.Name = "buttonDry3";
|
||||||
|
this.buttonDry3.NestedClickEventPrevent = false;
|
||||||
|
this.buttonDry3.OutlinePixel = 1;
|
||||||
|
this.buttonDry3.RepeatInterval = 200;
|
||||||
|
this.buttonDry3.RepeatIntervalAccelerate = null;
|
||||||
|
this.buttonDry3.SafeInterval = 200;
|
||||||
|
this.buttonDry3.Size = new System.Drawing.Size(50, 30);
|
||||||
|
this.buttonDry3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||||
|
this.buttonDry3.TabIndex = 701;
|
||||||
|
this.buttonDry3.TextColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry3.TextDownColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||||
|
this.buttonDry3.TextLocation = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||||
|
this.buttonDry3.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry3.UpImage")));
|
||||||
|
this.buttonDry3.Visible = false;
|
||||||
|
this.buttonDry3.Click += new System.EventHandler(this.buttonDryContact_Click);
|
||||||
|
//
|
||||||
|
// buttonDry4
|
||||||
|
//
|
||||||
|
this.buttonDry4.BackPictureBox = null;
|
||||||
|
this.buttonDry4.BackPictureBox1 = null;
|
||||||
|
this.buttonDry4.BackPictureBox2 = null;
|
||||||
|
this.buttonDry4.ButtonColor = System.Drawing.Color.Gray;
|
||||||
|
this.buttonDry4.ButtonImageAutoSize = true;
|
||||||
|
this.buttonDry4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry4.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.DisableImage")));
|
||||||
|
this.buttonDry4.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.DownImage")));
|
||||||
|
this.buttonDry4.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.buttonDry4.GroupID = 0;
|
||||||
|
this.buttonDry4.InitVisible = true;
|
||||||
|
this.buttonDry4.Location = new System.Drawing.Point(640, 161);
|
||||||
|
this.buttonDry4.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||||
|
this.buttonDry4.Name = "buttonDry4";
|
||||||
|
this.buttonDry4.NestedClickEventPrevent = false;
|
||||||
|
this.buttonDry4.OutlinePixel = 1;
|
||||||
|
this.buttonDry4.RepeatInterval = 200;
|
||||||
|
this.buttonDry4.RepeatIntervalAccelerate = null;
|
||||||
|
this.buttonDry4.SafeInterval = 200;
|
||||||
|
this.buttonDry4.Size = new System.Drawing.Size(50, 30);
|
||||||
|
this.buttonDry4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||||
|
this.buttonDry4.TabIndex = 700;
|
||||||
|
this.buttonDry4.TextColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry4.TextDownColor = System.Drawing.Color.White;
|
||||||
|
this.buttonDry4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||||
|
this.buttonDry4.TextLocation = new System.Drawing.Point(0, 0);
|
||||||
|
this.buttonDry4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||||
|
this.buttonDry4.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonDry4.UpImage")));
|
||||||
|
this.buttonDry4.Visible = false;
|
||||||
|
this.buttonDry4.Click += new System.EventHandler(this.buttonDryContact_Click);
|
||||||
|
//
|
||||||
// ControlMainDisplayMenu
|
// ControlMainDisplayMenu
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
this.Controls.Add(this.smartSeparatorLine2);
|
this.Controls.Add(this.labelTitleDryContact4);
|
||||||
this.Controls.Add(this.labelTitleDryContact);
|
this.Controls.Add(this.labelTitleDryContact3);
|
||||||
this.Controls.Add(this.smartSeparatorLine1);
|
this.Controls.Add(this.labelTitleDryContact2);
|
||||||
this.Controls.Add(this.smartSeparatorLine3);
|
this.Controls.Add(this.labelTitleDryContact1);
|
||||||
this.Controls.Add(this.buttonDry1);
|
this.Controls.Add(this.buttonDry1);
|
||||||
this.Controls.Add(this.buttonDry2);
|
this.Controls.Add(this.buttonDry2);
|
||||||
this.Controls.Add(this.buttonDry3);
|
this.Controls.Add(this.buttonDry3);
|
||||||
this.Controls.Add(this.buttonDry4);
|
this.Controls.Add(this.buttonDry4);
|
||||||
|
this.Controls.Add(this.smartSeparatorLine2);
|
||||||
|
this.Controls.Add(this.labelTitleDryContact);
|
||||||
|
this.Controls.Add(this.smartSeparatorLine1);
|
||||||
|
this.Controls.Add(this.smartSeparatorLine3);
|
||||||
this.Controls.Add(this.labelTitleBypass);
|
this.Controls.Add(this.labelTitleBypass);
|
||||||
this.Controls.Add(this.buttonBypassRun);
|
this.Controls.Add(this.buttonBypassRun);
|
||||||
this.Controls.Add(this.buttonBypassDirection);
|
this.Controls.Add(this.buttonBypassDirection);
|
||||||
|
@ -686,13 +774,17 @@
|
||||||
private SmartX.SmartButton buttonBypassDirection;
|
private SmartX.SmartButton buttonBypassDirection;
|
||||||
private SmartX.SmartButton buttonBypassOnce;
|
private SmartX.SmartButton buttonBypassOnce;
|
||||||
private SmartX.SmartLabel labelTitleBypass;
|
private SmartX.SmartLabel labelTitleBypass;
|
||||||
|
private SmartX.SmartLabel labelTitleDryContact;
|
||||||
|
private SmartX.SmartSeparatorLine smartSeparatorLine3;
|
||||||
|
private SmartX.SmartSeparatorLine smartSeparatorLine2;
|
||||||
|
private SmartX.SmartLabel labelTitleDryContact4;
|
||||||
|
private SmartX.SmartLabel labelTitleDryContact3;
|
||||||
|
private SmartX.SmartLabel labelTitleDryContact2;
|
||||||
|
private SmartX.SmartLabel labelTitleDryContact1;
|
||||||
private SmartX.SmartButton buttonDry1;
|
private SmartX.SmartButton buttonDry1;
|
||||||
private SmartX.SmartButton buttonDry2;
|
private SmartX.SmartButton buttonDry2;
|
||||||
private SmartX.SmartButton buttonDry3;
|
private SmartX.SmartButton buttonDry3;
|
||||||
private SmartX.SmartButton buttonDry4;
|
private SmartX.SmartButton buttonDry4;
|
||||||
private SmartX.SmartLabel labelTitleDryContact;
|
|
||||||
private SmartX.SmartSeparatorLine smartSeparatorLine3;
|
|
||||||
private SmartX.SmartSeparatorLine smartSeparatorLine2;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,6 +62,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTitleSorterDelayTime.Text = "Delay time";
|
this.labelTitleSorterDelayTime.Text = "Delay time";
|
||||||
this.labelTitleSorterRunTime.Text = "Run time";
|
this.labelTitleSorterRunTime.Text = "Run time";
|
||||||
this.labelTitleDryContact.Text = "Latch control";
|
this.labelTitleDryContact.Text = "Latch control";
|
||||||
|
this.labelTitleDryContact1.Text = "Latch control1";
|
||||||
|
this.labelTitleDryContact2.Text = "Latch control2";
|
||||||
|
this.labelTitleDryContact3.Text = "Latch control3";
|
||||||
|
this.labelTitleDryContact4.Text = "Latch control4";
|
||||||
|
|
||||||
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
||||||
this.comboBoxSorterA.Items.Clear();
|
this.comboBoxSorterA.Items.Clear();
|
||||||
|
@ -98,6 +102,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTitleSorterDelayTime.Text = "延迟时间";
|
this.labelTitleSorterDelayTime.Text = "延迟时间";
|
||||||
this.labelTitleSorterRunTime.Text = "运行时间";
|
this.labelTitleSorterRunTime.Text = "运行时间";
|
||||||
this.labelTitleDryContact.Text = "闩锁控制";
|
this.labelTitleDryContact.Text = "闩锁控制";
|
||||||
|
this.labelTitleDryContact1.Text = "闩锁控制1";
|
||||||
|
this.labelTitleDryContact2.Text = "闩锁控制2";
|
||||||
|
this.labelTitleDryContact3.Text = "闩锁控制3";
|
||||||
|
this.labelTitleDryContact4.Text = "闩锁控制4";
|
||||||
|
|
||||||
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
||||||
this.comboBoxSorterA.Items.Clear();
|
this.comboBoxSorterA.Items.Clear();
|
||||||
|
@ -138,6 +146,10 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTitleSorterDelayTime.Text = "задержки";
|
this.labelTitleSorterDelayTime.Text = "задержки";
|
||||||
this.labelTitleSorterRunTime.Text = "выполнения";
|
this.labelTitleSorterRunTime.Text = "выполнения";
|
||||||
this.labelTitleDryContact.Text = "Сухой контакт";
|
this.labelTitleDryContact.Text = "Сухой контакт";
|
||||||
|
this.labelTitleDryContact1.Text = "контроль защелки1";
|
||||||
|
this.labelTitleDryContact2.Text = "контроль защелки2";
|
||||||
|
this.labelTitleDryContact3.Text = "контроль защелки3";
|
||||||
|
this.labelTitleDryContact4.Text = "контроль защелки4";
|
||||||
|
|
||||||
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
||||||
this.comboBoxSorterA.Items.Clear();
|
this.comboBoxSorterA.Items.Clear();
|
||||||
|
@ -173,9 +185,11 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTitleSorterMode.Text = "Modus";
|
this.labelTitleSorterMode.Text = "Modus";
|
||||||
this.labelTitleSorterDelayTime.Text = "Vezögerung";
|
this.labelTitleSorterDelayTime.Text = "Vezögerung";
|
||||||
this.labelTitleSorterRunTime.Text = "Laufzeit";
|
this.labelTitleSorterRunTime.Text = "Laufzeit";
|
||||||
this.labelTitleDryContact.Text = "Trockener Kontakt";
|
|
||||||
|
|
||||||
this.labelTitleDryContact.Text = "Verriegelungssteuerung";
|
this.labelTitleDryContact.Text = "Verriegelungssteuerung";
|
||||||
|
this.labelTitleDryContact1.Text = "Verriegelungssteuerung1";
|
||||||
|
this.labelTitleDryContact2.Text = "Verriegelungssteuerung2";
|
||||||
|
this.labelTitleDryContact3.Text = "Verriegelungssteuerung3";
|
||||||
|
this.labelTitleDryContact4.Text = "Verriegelungssteuerung4";
|
||||||
|
|
||||||
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
||||||
this.comboBoxSorterA.Items.Clear();
|
this.comboBoxSorterA.Items.Clear();
|
||||||
|
@ -211,9 +225,11 @@ namespace ITC81DB_0H.Controls
|
||||||
this.labelTitleSorterMode.Text = "모드";
|
this.labelTitleSorterMode.Text = "모드";
|
||||||
this.labelTitleSorterDelayTime.Text = "지연시간";
|
this.labelTitleSorterDelayTime.Text = "지연시간";
|
||||||
this.labelTitleSorterRunTime.Text = "동작시간";
|
this.labelTitleSorterRunTime.Text = "동작시간";
|
||||||
this.labelTitleDryContact.Text = "Dry Contact";
|
|
||||||
|
|
||||||
this.labelTitleDryContact.Text = "시건장치 제어";
|
this.labelTitleDryContact.Text = "시건장치 제어";
|
||||||
|
this.labelTitleDryContact1.Text = "시건장치 제어1";
|
||||||
|
this.labelTitleDryContact2.Text = "시건장치 제어2";
|
||||||
|
this.labelTitleDryContact3.Text = "시건장치 제어3";
|
||||||
|
this.labelTitleDryContact4.Text = "시건장치 제어4";
|
||||||
|
|
||||||
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
this.comboBoxSorterA.SelectedIndexChanged -= new EventHandler(this.comboBoxSorterA_SelectedIndexChanged);
|
||||||
this.comboBoxSorterA.Items.Clear();
|
this.comboBoxSorterA.Items.Clear();
|
||||||
|
@ -265,7 +281,12 @@ namespace ITC81DB_0H.Controls
|
||||||
}
|
}
|
||||||
public void UpdateDryContactControl(SystemParameter3 item)
|
public void UpdateDryContactControl(SystemParameter3 item)
|
||||||
{
|
{
|
||||||
if (item.ExternalOut1Mode == "10" || item.ExternalOut2Mode == "10" || item.ExternalOut3Mode == "10" || item.ExternalOut4Mode == "10")
|
int count = 0;
|
||||||
|
|
||||||
|
if (item.ExternalOut1Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString()
|
||||||
|
|| item.ExternalOut2Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString()
|
||||||
|
|| item.ExternalOut3Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString()
|
||||||
|
|| item.ExternalOut4Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString())
|
||||||
{
|
{
|
||||||
this.labelTitleDryContact.Visible = true;
|
this.labelTitleDryContact.Visible = true;
|
||||||
this.buttonDry1.Visible = true;
|
this.buttonDry1.Visible = true;
|
||||||
|
@ -282,25 +303,97 @@ namespace ITC81DB_0H.Controls
|
||||||
this.buttonDry4.Visible = false;
|
this.buttonDry4.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.ExternalOut1Mode == "10")
|
if (item.ExternalOut1Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString())
|
||||||
this.buttonDry1.Enabled = true;
|
{
|
||||||
|
this.labelTitleDryContact1.Visible = true;
|
||||||
|
this.buttonDry1.Visible = true;
|
||||||
|
count++;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
this.buttonDry1.Enabled = false;
|
{
|
||||||
|
this.labelTitleDryContact1.Visible = false;
|
||||||
|
this.buttonDry1.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (item.ExternalOut2Mode == "10")
|
if (item.ExternalOut2Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString())
|
||||||
this.buttonDry2.Enabled = true;
|
{
|
||||||
|
if (count == 1)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact2.Location = new Point(480, 89);
|
||||||
|
this.buttonDry2.Location = new Point(640, 89);
|
||||||
|
}
|
||||||
|
else if (count == 0)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact2.Location = new Point(480, 53);
|
||||||
|
this.buttonDry2.Location = new Point(640, 53);
|
||||||
|
}
|
||||||
|
this.labelTitleDryContact2.Visible = true;
|
||||||
|
this.buttonDry2.Visible = true;
|
||||||
|
count++;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
this.buttonDry2.Enabled = false;
|
{
|
||||||
|
this.labelTitleDryContact2.Visible = false;
|
||||||
|
this.buttonDry2.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (item.ExternalOut3Mode == "10")
|
if (item.ExternalOut3Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString())
|
||||||
this.buttonDry3.Enabled = true;
|
{
|
||||||
|
if (count == 2)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact3.Location = new Point(480, 125);
|
||||||
|
this.buttonDry3.Location = new Point(640, 125);
|
||||||
|
}
|
||||||
|
else if (count == 1)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact3.Location = new Point(480, 89);
|
||||||
|
this.buttonDry3.Location = new Point(640, 89);
|
||||||
|
}
|
||||||
|
else if (count == 0)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact3.Location = new Point(480, 53);
|
||||||
|
this.buttonDry3.Location = new Point(640, 53);
|
||||||
|
}
|
||||||
|
this.labelTitleDryContact3.Visible = true;
|
||||||
|
this.buttonDry3.Visible = true;
|
||||||
|
count++;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
this.buttonDry3.Enabled = false;
|
{
|
||||||
|
this.labelTitleDryContact3.Visible = false;
|
||||||
|
this.buttonDry3.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (item.ExternalOut4Mode == "10")
|
if (item.ExternalOut4Mode == ((int)DataStore.ExternalOutputMode.LatchCountrol).ToString())
|
||||||
this.buttonDry4.Enabled = true;
|
{
|
||||||
|
if (count == 3)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact4.Location = new Point(480, 161);
|
||||||
|
this.buttonDry4.Location = new Point(640, 161);
|
||||||
|
}
|
||||||
|
else if (count == 2)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact4.Location = new Point(480, 125);
|
||||||
|
this.buttonDry4.Location = new Point(640, 125);
|
||||||
|
}
|
||||||
|
else if (count == 1)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact4.Location = new Point(480, 89);
|
||||||
|
this.buttonDry4.Location = new Point(640, 89);
|
||||||
|
}
|
||||||
|
else if (count == 0)
|
||||||
|
{
|
||||||
|
this.labelTitleDryContact4.Location = new Point(480, 53);
|
||||||
|
this.buttonDry4.Location = new Point(640, 53);
|
||||||
|
}
|
||||||
|
this.labelTitleDryContact4.Visible = true;
|
||||||
|
this.buttonDry4.Visible = true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
this.buttonDry4.Enabled = false;
|
{
|
||||||
|
this.labelTitleDryContact4.Visible = false;
|
||||||
|
this.buttonDry4.Visible = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public void UpdateControl(JudgmentSetItem item, SystemParameter4 parameter)
|
public void UpdateControl(JudgmentSetItem item, SystemParameter4 parameter)
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -294,6 +294,95 @@ namespace ITC81DB_0H
|
||||||
COM3 = 1,
|
COM3 = 1,
|
||||||
COM4 = 2,
|
COM4 = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum SerialMode
|
||||||
|
{
|
||||||
|
f0_None = 0,
|
||||||
|
f1_STD1,
|
||||||
|
f2_Remote,
|
||||||
|
f3_Printer,
|
||||||
|
f4_imaje_9410_OPT1,
|
||||||
|
f5_imaje_9028_OPT1 = 5,
|
||||||
|
f6_OPT0,
|
||||||
|
f7_imaje_9410_OPT2,
|
||||||
|
f8_imaje_9028_OPT2,
|
||||||
|
f9_Hitachi,
|
||||||
|
f10_MACSA_Laser = 10,
|
||||||
|
f11_Markoprint,
|
||||||
|
f12_alphaJET,
|
||||||
|
f13_Marking_VJ1510,
|
||||||
|
f14_OPT1,
|
||||||
|
f15_OPT2 = 15,
|
||||||
|
f16_OPC,
|
||||||
|
f17_OPT3,
|
||||||
|
f18_HP_200,
|
||||||
|
f19_SmartJet,
|
||||||
|
f20_imaje_9410_OPT3 = 20,
|
||||||
|
f21_Impinj_Speedway_R420 = 21, // RFID
|
||||||
|
f22_Modbus_RTU,
|
||||||
|
f23_STD2,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum EthernetMode
|
||||||
|
{
|
||||||
|
f0_None = 0,
|
||||||
|
f1_STD1,
|
||||||
|
f2_Remote,
|
||||||
|
f3_Printer,
|
||||||
|
f4_imaje_9410_OPT1,
|
||||||
|
f5_imaje_9028_OPT1 = 5,
|
||||||
|
f6_OPT0,
|
||||||
|
f7_imaje_9410_OPT2,
|
||||||
|
f8_imaje_9028_OPT2,
|
||||||
|
f9_Hitachi,
|
||||||
|
f10_MACSA_Laser = 10,
|
||||||
|
f11_Markoprint,
|
||||||
|
f12_alphaJET,
|
||||||
|
f13_Marking_VJ1510,
|
||||||
|
f14_OPT1,
|
||||||
|
f15_OPT2 = 15,
|
||||||
|
f16_OPC,
|
||||||
|
f17_OPT3,
|
||||||
|
f18_HP_200,
|
||||||
|
f19_SmartJet,
|
||||||
|
f20_imaje_9410_OPT3 = 20,
|
||||||
|
f21_Impinj_Speedway_R420 = 21, // RFID
|
||||||
|
f22_Modbus_TCP,
|
||||||
|
f23_STD2,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ExternalOutputMode
|
||||||
|
{
|
||||||
|
None,
|
||||||
|
Over,
|
||||||
|
Under,
|
||||||
|
NG,
|
||||||
|
Pass,
|
||||||
|
Run,
|
||||||
|
Count,
|
||||||
|
LatchCountrol,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ExternalInputMode
|
||||||
|
{
|
||||||
|
IN0_None,
|
||||||
|
IN1_Metal,
|
||||||
|
IN2_START,
|
||||||
|
IN3_STOP,
|
||||||
|
IN4_DischargeSorterA,
|
||||||
|
IN5_Air = 5,
|
||||||
|
IN6_Door,
|
||||||
|
IN7_Stopper,
|
||||||
|
IN8_Windproof,
|
||||||
|
IN9_ExternalOperation,
|
||||||
|
IN10_DispensorEntry1 = 10,
|
||||||
|
IN11_DispensorEntry2,
|
||||||
|
IN12_StackUp,
|
||||||
|
IN13_ExNG1,
|
||||||
|
IN14_ExNG2,
|
||||||
|
IN15_ExInputCheck,
|
||||||
|
IN16_DischargeSorterB,
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1160,6 +1249,12 @@ namespace ITC81DB_0H
|
||||||
private int m_ConveyorLength;
|
private int m_ConveyorLength;
|
||||||
private int m_SortingPointLength;
|
private int m_SortingPointLength;
|
||||||
private int m_EthernetLocalPort;
|
private int m_EthernetLocalPort;
|
||||||
|
private int m_Barcode;
|
||||||
|
|
||||||
|
private int m_ModbusRTUSelectFunction;
|
||||||
|
private int m_ModbusRTUSlaveIDCOM1;
|
||||||
|
private int m_ModbusRTUSlaveIDCOM3;
|
||||||
|
private int m_ModbusRTUSlaveIDCOM4;
|
||||||
|
|
||||||
private bool m_IsBypassDirectionPass;
|
private bool m_IsBypassDirectionPass;
|
||||||
private bool m_IsBypassOnce;
|
private bool m_IsBypassOnce;
|
||||||
|
@ -1443,6 +1538,32 @@ namespace ITC81DB_0H
|
||||||
get { return this.m_EthernetLocalPort; }
|
get { return this.m_EthernetLocalPort; }
|
||||||
set { this.m_EthernetLocalPort = value; }
|
set { this.m_EthernetLocalPort = value; }
|
||||||
}
|
}
|
||||||
|
public int Barcode
|
||||||
|
{
|
||||||
|
get { return this.m_Barcode; }
|
||||||
|
set { this.m_Barcode = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public int ModbusRTUSelectFunction
|
||||||
|
{
|
||||||
|
get { return this.m_ModbusRTUSelectFunction; }
|
||||||
|
set { this.m_ModbusRTUSelectFunction = value; }
|
||||||
|
}
|
||||||
|
public int ModbusRTUSlaveIDCOM1
|
||||||
|
{
|
||||||
|
get { return this.m_ModbusRTUSlaveIDCOM1; }
|
||||||
|
set { this.m_ModbusRTUSlaveIDCOM1 = value; }
|
||||||
|
}
|
||||||
|
public int ModbusRTUSlaveIDCOM3
|
||||||
|
{
|
||||||
|
get { return this.m_ModbusRTUSlaveIDCOM3; }
|
||||||
|
set { this.m_ModbusRTUSlaveIDCOM3 = value; }
|
||||||
|
}
|
||||||
|
public int ModbusRTUSlaveIDCOM4
|
||||||
|
{
|
||||||
|
get { return this.m_ModbusRTUSlaveIDCOM4; }
|
||||||
|
set { this.m_ModbusRTUSlaveIDCOM4 = value; }
|
||||||
|
}
|
||||||
|
|
||||||
public bool IsBypassDirectionPass
|
public bool IsBypassDirectionPass
|
||||||
{
|
{
|
||||||
|
@ -1519,6 +1640,12 @@ namespace ITC81DB_0H
|
||||||
this.ConveyorLength = 450;
|
this.ConveyorLength = 450;
|
||||||
this.SortingPointLength = 250;
|
this.SortingPointLength = 250;
|
||||||
this.EthernetLocalPort = 0;
|
this.EthernetLocalPort = 0;
|
||||||
|
this.Barcode = 0;
|
||||||
|
|
||||||
|
this.ModbusRTUSelectFunction = 0;
|
||||||
|
this.ModbusRTUSlaveIDCOM1 = 1;
|
||||||
|
this.ModbusRTUSlaveIDCOM3 = 1;
|
||||||
|
this.ModbusRTUSlaveIDCOM4 = 1;
|
||||||
|
|
||||||
this.IsBypassDirectionPass = true;
|
this.IsBypassDirectionPass = true;
|
||||||
this.IsBypassOnce = true;
|
this.IsBypassOnce = true;
|
||||||
|
@ -1576,11 +1703,11 @@ namespace ITC81DB_0H
|
||||||
public int DummyInt8;
|
public int DummyInt8;
|
||||||
public int DummyInt9;
|
public int DummyInt9;
|
||||||
public int DummyInt10;
|
public int DummyInt10;
|
||||||
public int DummyInt11;
|
public int ModbusRTUSelectFunction;
|
||||||
public int DummyInt12;
|
public int ModbusRTUSlaveIDCOM1;
|
||||||
public int DummyInt13;
|
public int ModbusRTUSlaveIDCOM3;
|
||||||
public int DummyInt14;
|
public int ModbusRTUSlaveIDCOM4;
|
||||||
public int DummyInt15;
|
public int Barcode;
|
||||||
public int EthernetLocalPort;
|
public int EthernetLocalPort;
|
||||||
public int SortingPointLength;
|
public int SortingPointLength;
|
||||||
public int ConveyorLength;
|
public int ConveyorLength;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1462,7 +1462,7 @@ namespace ITC81DB_0H.Forms
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig1.IsBarcodeEnable == true)
|
if (this.ParentForm.SystemConfig1.IsBarcodeEnable == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ChangeBarcodeFrameSeparateType(DataStore.SeparateType.ETXONLY);
|
this.ParentForm.ChangeSerialCOM3FrameSeparateType(DataStore.SeparateType.ETXONLY);
|
||||||
this.ParentForm.TransferSerialCOM3RawData(Barcode.ExitProgrammingMode);
|
this.ParentForm.TransferSerialCOM3RawData(Barcode.ExitProgrammingMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,17 @@
|
||||||
기본형 컨베어 고정밀센서 계량기
|
기본형 컨베어 고정밀센서 계량기
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ Ver 1.2.0 by CJY
|
||||||
|
- 2021.05.18
|
||||||
|
- Ver 1.1.0 Modify
|
||||||
|
- 외부출력 - 시건장치 제어 추가
|
||||||
|
|
||||||
|
@ Ver 1.1.0 by CJY
|
||||||
|
- 2021.03.29
|
||||||
|
- Ver 1.0.8 Modify
|
||||||
|
- 시리얼/이더넷 통신
|
||||||
|
1. f23_STD2 추가 <- STD1에서 Count 값 추가
|
||||||
|
|
||||||
@ Ver 1.0.8 by CJY
|
@ Ver 1.0.8 by CJY
|
||||||
- 2021.03.19
|
- 2021.03.19
|
||||||
- Ver 1.0.7 Modify
|
- Ver 1.0.7 Modify
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue