diff --git a/ProductionSystem/Forms/HomeForm.cs b/ProductionSystem/Forms/HomeForm.cs index f4723a1..2176268 100644 --- a/ProductionSystem/Forms/HomeForm.cs +++ b/ProductionSystem/Forms/HomeForm.cs @@ -935,11 +935,11 @@ namespace ProductionSystem.Forms var speedUp1ReadResult = OmronHelper.GetPlcVal(Program.speedUp1Points[i].DataType, Program.speedUp1Points[i].Address); Program.speedUp1Points[i].Val = speedUp1ReadResult.val; } - var speedUp1Status = Program.speedUp1Points.FirstOrDefault(m => m.Key == "M129").Val; - if (speedUp1Status == "1.000" || speedUp1Status == "2.000") - { - SetMiddleData(Program.speedUp1Points, "SpeedUp1", responsePoint, 3); - } + //var speedUp1Status = Program.speedUp1Points.FirstOrDefault(m => m.Key == "M129").Val; + //if (speedUp1Status == "1.000" || speedUp1Status == "2.000") + //{ + // SetMiddleData(Program.speedUp1Points, "SpeedUp1", responsePoint, 3); + //} } /// @@ -953,11 +953,11 @@ namespace ProductionSystem.Forms var speedUp2ReadResult = OmronHelper.GetPlcVal(Program.speedUp2Points[i].DataType, Program.speedUp2Points[i].Address); Program.speedUp2Points[i].Val = speedUp2ReadResult.val; } - var speedUp2Status = Program.speedUp2Points.FirstOrDefault(m => m.Key == "M143").Val; - if (speedUp2Status == "1.000" || speedUp2Status == "2.000") - { - SetMiddleData(Program.speedUp2Points, "SpeedUp2", responsePoint, 3); - } + //var speedUp2Status = Program.speedUp2Points.FirstOrDefault(m => m.Key == "M143").Val; + //if (speedUp2Status == "1.000" || speedUp2Status == "2.000") + //{ + // SetMiddleData(Program.speedUp2Points, "SpeedUp2", responsePoint, 3); + //} } ///