change -修改中间四通阀逻辑

dep_yangw
frankiecao 11 months ago
commit a67c52a506

@ -2238,7 +2238,7 @@ namespace ProductionSystem.Forms
}
else
{
if(paraCode != "DZPZF1_DB" && paraCode != "DZPZF2_DB")
if(paraCode != "FKSTF1ZT_DB" && paraCode != "FKSTF2ZT_DB")
{
writeVal = step.WriteValue;
returnVal = step.ReturnValue;
@ -2252,7 +2252,11 @@ namespace ProductionSystem.Forms
}
else
{
result = 1;
writeVal = step.WriteValue;
returnVal = step.ReturnValue;
int val1 = Convert.ToInt32(writeVal);
int val2 = Convert.ToInt32(returnVal);
result = val1 == val2 ? 1 : 2;
}
middleMyTestResultControls[j].TestResultText = result == 1 ? "OK" : (result == 2 ? "NG" : "");

Loading…
Cancel
Save