|
|
|
@ -45,17 +45,17 @@ namespace RfidWeb.Frm
|
|
|
|
|
{
|
|
|
|
|
dicA.Clear();
|
|
|
|
|
|
|
|
|
|
textBoxExFeedingMotorSpeed.Text=HmiPoint.GetFeedingMotorSpeed.ToString();
|
|
|
|
|
textBoxExLaminatedMotorSpeed.Text= HmiPoint.GetLaminatedMotorSpeed.ToString();
|
|
|
|
|
double result = HmiPoint.GetSWSS / 10.0;
|
|
|
|
|
textBoxExFeedingMotorSpeed.Text=HmiPointInfo.GetFeedingMotorSpeed.ToString();
|
|
|
|
|
textBoxExLaminatedMotorSpeed.Text= HmiPointInfo.GetLaminatedMotorSpeed.ToString();
|
|
|
|
|
double result = HmiPointInfo.GetSWSS / 10.0;
|
|
|
|
|
textBoxExSWSD.Text = result.ToString();
|
|
|
|
|
|
|
|
|
|
textBoxExFelt.Text = HmiPoint.GetFeltBeltMotorSpeed.ToString();
|
|
|
|
|
textBoxReceiving.Text = HmiPoint.GeReceivingMotorSpeed.ToString();
|
|
|
|
|
textBoxExFelt.Text = HmiPointInfo.GetFeltBeltMotorSpeed.ToString();
|
|
|
|
|
textBoxReceiving.Text = HmiPointInfo.GeReceivingMotorSpeed.ToString();
|
|
|
|
|
|
|
|
|
|
dicA["A"] = textBoxExFeedingMotorSpeed.Text;
|
|
|
|
|
dicA["B"] = textBoxExLaminatedMotorSpeed.Text;
|
|
|
|
|
dicA["C"] = HmiPoint.GetSWSS.ToString();
|
|
|
|
|
dicA["C"] = HmiPointInfo.GetSWSS.ToString();
|
|
|
|
|
|
|
|
|
|
dicA["D"] = textBoxExFelt.Text;
|
|
|
|
|
dicA["E"] = textBoxReceiving.Text;
|
|
|
|
@ -69,31 +69,31 @@ namespace RfidWeb.Frm
|
|
|
|
|
var a = textBoxExFeedingMotorSpeed.Text;
|
|
|
|
|
if (a != dicA["A"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.feeding_motor_speed, uint.Parse(a));
|
|
|
|
|
plc.Write(HmiPointInfo.feeding_motor_speed, int.Parse(a));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var b = textBoxExLaminatedMotorSpeed.Text;
|
|
|
|
|
if (b != dicA["B"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.Laminated_motor_speed, uint.Parse(b));
|
|
|
|
|
plc.Write(HmiPointInfo.Laminated_motor_speed, int.Parse(b));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var c = UInt32.Parse((Convert.ToDouble(textBoxExSWSD.Text) * 10).ToString()).ToString();
|
|
|
|
|
if (c != dicA["C"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.SWSS, uint.Parse(c));
|
|
|
|
|
plc.Write(HmiPointInfo.SWSS, int.Parse(c));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var d = textBoxExFelt.Text;
|
|
|
|
|
if (d != dicA["D"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.Felt_belt_motor_speed, uint.Parse(d));
|
|
|
|
|
plc.Write(HmiPointInfo.Felt_belt_motor_speed, int.Parse(d));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var ee = textBoxExFelt.Text;
|
|
|
|
|
if (ee != dicA["E"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.Receiving_Electric_motor_speed, uint.Parse(ee));
|
|
|
|
|
plc.Write(HmiPointInfo.Receiving_Electric_motor_speed, int.Parse(ee));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MessageBox.Show("保存成功");
|
|
|
|
@ -105,172 +105,172 @@ namespace RfidWeb.Frm
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
dicB.Clear();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_1.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE1_1.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_1.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_1.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE1_1"] = txtCUTTING_SET_TEMPERATURE1_1.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_2.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE1_2.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_2.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_2.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE1_2"] = txtCUTTING_SET_TEMPERATURE1_2.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_3.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE1_3.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_3.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_3.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE1_3"] = txtCUTTING_SET_TEMPERATURE1_3.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_4.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE1_4.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE1_4.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_4.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE1_4"] = txtCUTTING_SET_TEMPERATURE1_4.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_1.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE2_1.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_1.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_1.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE2_1"] = txtCUTTING_SET_TEMPERATURE2_1.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_2.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE2_2.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_2.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_2.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE2_2"] = txtCUTTING_SET_TEMPERATURE2_2.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_3.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE2_3.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_3.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_3.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE2_3"] = txtCUTTING_SET_TEMPERATURE2_3.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_4.Text = HmiPoint.GetCUTTING_SET_TEMPERATURE2_4.ToString();
|
|
|
|
|
txtCUTTING_SET_TEMPERATURE2_4.Text = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_4.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TEMPERATURE2_4"] = txtCUTTING_SET_TEMPERATURE2_4.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME1_1.Text = HmiPoint.GetCUTTING_SET_TIME1_1.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME1_1.Text = HmiPointInfo.GetCUTTING_SET_TIME1_1.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME1_1"] = txtCUTTING_SET_TIME1_1.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME1_2.Text = HmiPoint.GetCUTTING_SET_TIME1_2.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME1_2.Text = HmiPointInfo.GetCUTTING_SET_TIME1_2.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME1_2"] = txtCUTTING_SET_TIME1_2.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME1_3.Text = HmiPoint.GetCUTTING_SET_TIME1_3.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME1_3.Text = HmiPointInfo.GetCUTTING_SET_TIME1_3.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME1_3"] = txtCUTTING_SET_TIME1_3.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME1_4.Text = HmiPoint.GetCUTTING_SET_TIME1_4.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME1_4.Text = HmiPointInfo.GetCUTTING_SET_TIME1_4.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME1_4"] = txtCUTTING_SET_TIME1_4.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME2_1.Text = HmiPoint.GetCUTTING_SET_TIME2_1.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME2_1.Text = HmiPointInfo.GetCUTTING_SET_TIME2_1.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME2_1"] = txtCUTTING_SET_TIME2_1.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME2_2.Text = HmiPoint.GetCUTTING_SET_TIME2_2.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME2_2.Text = HmiPointInfo.GetCUTTING_SET_TIME2_2.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME2_2"] = txtCUTTING_SET_TIME2_2.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME2_3.Text = HmiPoint.GetCUTTING_SET_TIME2_3.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME2_3.Text = HmiPointInfo.GetCUTTING_SET_TIME2_3.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME2_3"] = txtCUTTING_SET_TIME2_3.Text;
|
|
|
|
|
|
|
|
|
|
txtCUTTING_SET_TIME2_4.Text = HmiPoint.GetCUTTING_SET_TIME2_4.ToString();
|
|
|
|
|
txtCUTTING_SET_TIME2_4.Text = HmiPointInfo.GetCUTTING_SET_TIME2_4.ToString();
|
|
|
|
|
dicB["CUTTING_SET_TIME2_4"] = txtCUTTING_SET_TIME2_4.Text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void button7_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
var plc = PlcConnect.Instance;
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_1= HmiPoint.GetCUTTING_SET_TEMPERATURE1_1.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_1= HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_1.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE1_1 != dicB["CUTTING_SET_TEMPERATURE1_1"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE1_1, uint.Parse(CUTTING_SET_TEMPERATURE1_1));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE1_1, int.Parse(CUTTING_SET_TEMPERATURE1_1));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_2 = HmiPoint.GetCUTTING_SET_TEMPERATURE1_2.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_2 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_2.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE1_2 != dicB["CUTTING_SET_TEMPERATURE1_2"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE1_2, uint.Parse(CUTTING_SET_TEMPERATURE1_2));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE1_2, int.Parse(CUTTING_SET_TEMPERATURE1_2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_3 = HmiPoint.GetCUTTING_SET_TEMPERATURE1_3.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_3 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_3.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE1_3 != dicB["CUTTING_SET_TEMPERATURE1_3"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE1_3, uint.Parse(CUTTING_SET_TEMPERATURE1_3));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE1_3, int.Parse(CUTTING_SET_TEMPERATURE1_3));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_4 = HmiPoint.GetCUTTING_SET_TEMPERATURE1_4.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE1_4 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE1_4.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE1_4 != dicB["CUTTING_SET_TEMPERATURE1_4"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE1_4, uint.Parse(CUTTING_SET_TEMPERATURE1_4));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE1_4, int.Parse(CUTTING_SET_TEMPERATURE1_4));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_1 = HmiPoint.GetCUTTING_SET_TEMPERATURE2_1.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_1 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_1.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE2_1 != dicB["CUTTING_SET_TEMPERATURE2_1"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE2_1, uint.Parse(CUTTING_SET_TEMPERATURE2_1));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE2_1, int.Parse(CUTTING_SET_TEMPERATURE2_1));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_2 = HmiPoint.GetCUTTING_SET_TEMPERATURE2_2.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_2 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_2.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE2_2 != dicB["CUTTING_SET_TEMPERATURE2_2"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE2_2, uint.Parse(CUTTING_SET_TEMPERATURE2_2));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE2_2, int.Parse(CUTTING_SET_TEMPERATURE2_2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_3 = HmiPoint.GetCUTTING_SET_TEMPERATURE2_3.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_3 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_3.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE2_3 != dicB["CUTTING_SET_TEMPERATURE2_3"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE2_3, uint.Parse(CUTTING_SET_TEMPERATURE2_3));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE2_3, int.Parse(CUTTING_SET_TEMPERATURE2_3));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_4 = HmiPoint.GetCUTTING_SET_TEMPERATURE2_4.ToString();
|
|
|
|
|
var CUTTING_SET_TEMPERATURE2_4 = HmiPointInfo.GetCUTTING_SET_TEMPERATURE2_4.ToString();
|
|
|
|
|
if (CUTTING_SET_TEMPERATURE2_4 != dicB["CUTTING_SET_TEMPERATURE2_4"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TEMPERATURE2_4, uint.Parse(CUTTING_SET_TEMPERATURE2_4));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TEMPERATURE2_4, int.Parse(CUTTING_SET_TEMPERATURE2_4));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME1_1 = HmiPoint.GetCUTTING_SET_TIME1_1.ToString();
|
|
|
|
|
var CUTTING_SET_TIME1_1 = HmiPointInfo.GetCUTTING_SET_TIME1_1.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME1_1 != dicB["CUTTING_SET_TIME1_1"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME1_1, uint.Parse(CUTTING_SET_TIME1_1));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME1_1, int.Parse(CUTTING_SET_TIME1_1));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME1_2 = HmiPoint.GetCUTTING_SET_TIME1_2.ToString();
|
|
|
|
|
var CUTTING_SET_TIME1_2 = HmiPointInfo.GetCUTTING_SET_TIME1_2.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME1_2 != dicB["CUTTING_SET_TIME1_2"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME1_2, uint.Parse(CUTTING_SET_TIME1_2));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME1_2, int.Parse(CUTTING_SET_TIME1_2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME1_3 = HmiPoint.GetCUTTING_SET_TIME1_3.ToString();
|
|
|
|
|
var CUTTING_SET_TIME1_3 = HmiPointInfo.GetCUTTING_SET_TIME1_3.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME1_3 != dicB["CUTTING_SET_TIME1_3"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME1_3, uint.Parse(CUTTING_SET_TIME1_3));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME1_3, int.Parse(CUTTING_SET_TIME1_3));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME1_4 = HmiPoint.GetCUTTING_SET_TIME1_4.ToString();
|
|
|
|
|
var CUTTING_SET_TIME1_4 = HmiPointInfo.GetCUTTING_SET_TIME1_4.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME1_4 != dicB["CUTTING_SET_TIME1_4"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME1_4, uint.Parse(CUTTING_SET_TIME1_4));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME1_4, int.Parse(CUTTING_SET_TIME1_4));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME2_1 = HmiPoint.GetCUTTING_SET_TIME2_1.ToString();
|
|
|
|
|
var CUTTING_SET_TIME2_1 = HmiPointInfo.GetCUTTING_SET_TIME2_1.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME2_1 != dicB["CUTTING_SET_TIME2_1"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME2_1, uint.Parse(CUTTING_SET_TIME2_1));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME2_1, int.Parse(CUTTING_SET_TIME2_1));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME2_2 = HmiPoint.GetCUTTING_SET_TIME2_2.ToString();
|
|
|
|
|
var CUTTING_SET_TIME2_2 = HmiPointInfo.GetCUTTING_SET_TIME2_2.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME2_2 != dicB["CUTTING_SET_TIME2_2"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME2_2, uint.Parse(CUTTING_SET_TIME2_2));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME2_2, int.Parse(CUTTING_SET_TIME2_2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME2_3 = HmiPoint.GetCUTTING_SET_TIME2_3.ToString();
|
|
|
|
|
var CUTTING_SET_TIME2_3 = HmiPointInfo.GetCUTTING_SET_TIME2_3.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME2_3 != dicB["CUTTING_SET_TIME2_3"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME2_3, uint.Parse(CUTTING_SET_TIME2_3));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME2_3, int.Parse(CUTTING_SET_TIME2_3));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CUTTING_SET_TIME2_4 = HmiPoint.GetCUTTING_SET_TIME2_4.ToString();
|
|
|
|
|
var CUTTING_SET_TIME2_4 = HmiPointInfo.GetCUTTING_SET_TIME2_4.ToString();
|
|
|
|
|
if (CUTTING_SET_TIME2_4 != dicB["CUTTING_SET_TIME2_4"])
|
|
|
|
|
{
|
|
|
|
|
plc.Write(HmiPoint.CUTTING_SET_TIME2_4, uint.Parse(CUTTING_SET_TIME2_4));
|
|
|
|
|
plc.Write(HmiPointInfo.CUTTING_SET_TIME2_4, int.Parse(CUTTING_SET_TIME2_4));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MessageBox.Show("保存成功");
|
|
|
|
|