|
|
@ -1656,7 +1656,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Electricity = GetPlcValue("D1202");
|
|
|
|
t.Electricity = GetPlcValue("D1202");
|
|
|
|
t.Voltage = GetPlcValue("D1200");
|
|
|
|
t.Voltage = GetPlcValue("D1200");
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.0000")
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1667,7 +1667,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Electricity = GetPlcValue("D1206");
|
|
|
|
t.Electricity = GetPlcValue("D1206");
|
|
|
|
t.Voltage = GetPlcValue("D1204");
|
|
|
|
t.Voltage = GetPlcValue("D1204");
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.0000")
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1677,7 +1677,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Electricity = GetPlcValue("D1210");
|
|
|
|
t.Electricity = GetPlcValue("D1210");
|
|
|
|
t.Voltage = GetPlcValue("D1208");
|
|
|
|
t.Voltage = GetPlcValue("D1208");
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.0000")
|
|
|
|
if (t.Electricity != "0.000" || t.Voltage != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1687,7 +1687,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1224");
|
|
|
|
t.Xll = GetPlcValue("D1224");
|
|
|
|
t.Xllzt = GetPlcValue("D1226");
|
|
|
|
t.Xllzt = GetPlcValue("D1226");
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.0000")
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1700,7 +1700,7 @@ namespace ProductionSystem.Forms
|
|
|
|
|
|
|
|
|
|
|
|
t.Xll = GetPlcValue("D1214");
|
|
|
|
t.Xll = GetPlcValue("D1214");
|
|
|
|
t.Xllzt = GetPlcValue("D1114");
|
|
|
|
t.Xllzt = GetPlcValue("D1114");
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.0000")
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1712,7 +1712,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1216");
|
|
|
|
t.Xll = GetPlcValue("D1216");
|
|
|
|
t.Xllzt = GetPlcValue("D1116");
|
|
|
|
t.Xllzt = GetPlcValue("D1116");
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.0000")
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1722,7 +1722,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1212");
|
|
|
|
t.Xll = GetPlcValue("D1212");
|
|
|
|
t.Xllzt = GetPlcValue("D1112");
|
|
|
|
t.Xllzt = GetPlcValue("D1112");
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.0000")
|
|
|
|
if (t.Xll != "0.000" || t.Xllzt != "0.000")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
|