diff --git a/ProductionSystem/Forms/HomeFormInfo.cs b/ProductionSystem/Forms/HomeFormInfo.cs index 8ff5414..851b53d 100644 --- a/ProductionSystem/Forms/HomeFormInfo.cs +++ b/ProductionSystem/Forms/HomeFormInfo.cs @@ -1656,7 +1656,7 @@ namespace ProductionSystem.Forms { t.Electricity = GetPlcValue("D1202"); 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); } @@ -1667,7 +1667,7 @@ namespace ProductionSystem.Forms { t.Electricity = GetPlcValue("D1206"); 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); } @@ -1677,7 +1677,7 @@ namespace ProductionSystem.Forms { t.Electricity = GetPlcValue("D1210"); 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); } @@ -1687,7 +1687,7 @@ namespace ProductionSystem.Forms { t.Xll = GetPlcValue("D1224"); 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); } @@ -1700,7 +1700,7 @@ namespace ProductionSystem.Forms t.Xll = GetPlcValue("D1214"); 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); } @@ -1712,7 +1712,7 @@ namespace ProductionSystem.Forms { t.Xll = GetPlcValue("D1216"); 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); } @@ -1722,7 +1722,7 @@ namespace ProductionSystem.Forms { t.Xll = GetPlcValue("D1212"); 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); }