diff --git a/ProductionSystem/Forms/HomeFormInfo.cs b/ProductionSystem/Forms/HomeFormInfo.cs index 5d7426c..050916c 100644 --- a/ProductionSystem/Forms/HomeFormInfo.cs +++ b/ProductionSystem/Forms/HomeFormInfo.cs @@ -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" : "");