|
|
@ -1177,7 +1177,7 @@ namespace ProductionSystem.Forms
|
|
|
|
if (par == "BZ4")
|
|
|
|
if (par == "BZ4")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1224");
|
|
|
|
t.Xll = GetPlcValue("D1224");
|
|
|
|
t.Xllzt = GetPlcValue("D1226");
|
|
|
|
t.Xllzt = GetPlcValue("D1226").ToDouble().ToInt() == 1 ? "OK" : "NG";
|
|
|
|
//t.Step = "步骤4";
|
|
|
|
//t.Step = "步骤4";
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
|
|
|
|
|
|
|
@ -1188,7 +1188,7 @@ namespace ProductionSystem.Forms
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
t.Xll = GetPlcValue("D1214");
|
|
|
|
t.Xll = GetPlcValue("D1214");
|
|
|
|
t.Xllzt = GetPlcValue("D1114");
|
|
|
|
t.Xllzt = GetPlcValue("D1114").ToDouble().ToInt() == 1 ? "OK" : "NG";
|
|
|
|
//t.Step = "步骤5";
|
|
|
|
//t.Step = "步骤5";
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
|
|
|
|
|
|
|
@ -1198,7 +1198,7 @@ namespace ProductionSystem.Forms
|
|
|
|
if (par == "BZ6")
|
|
|
|
if (par == "BZ6")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1216");
|
|
|
|
t.Xll = GetPlcValue("D1216");
|
|
|
|
t.Xllzt = GetPlcValue("D1116");
|
|
|
|
t.Xllzt = GetPlcValue("D1116").ToDouble().ToInt() == 1 ? "OK" : "NG";
|
|
|
|
//t.Step = "步骤6";
|
|
|
|
//t.Step = "步骤6";
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1206,7 +1206,7 @@ namespace ProductionSystem.Forms
|
|
|
|
if (par == "BZ7")
|
|
|
|
if (par == "BZ7")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t.Xll = GetPlcValue("D1212");
|
|
|
|
t.Xll = GetPlcValue("D1212");
|
|
|
|
t.Xllzt = GetPlcValue("D1112");
|
|
|
|
t.Xllzt = GetPlcValue("D1112").ToDouble().ToInt() == 1 ? "OK" : "NG";
|
|
|
|
//t.Step = "步骤7";
|
|
|
|
//t.Step = "步骤7";
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
_result2Service.AddTResult2(t);
|
|
|
|
}
|
|
|
|
}
|
|
|
|