Пример #1
0
 public override void UpdateDatas()
 {
     for (int i = 0; i < 4; i++)
     {
         if (Plc.IsConnected)
         {
             TestSpecs[i].Lower  = Plc.GetGroupValue(i, 0);
             TestSpecs[i].Upper  = Plc.GetGroupValue(i, 1);
             TestSpecs[i].Value  = Plc.GetGroupValue(i, 2);
             TestSpecs[i].Result = Plc.GetGroupValue(i, 3);
         }
     }
 }