Beispiel #1
0
 public void AddRtValues(string machine, Machine_Values values)
 {
     for (int i = 0; i < MachinePark.Count; i++)
     {
         if (MachinePark[i].Machine_name == machine)
         {
             MachinePark[i].
             set_Rtvalues(values);
         }
     }
 }
Beispiel #2
0
 public void AddRtValues(string machine , Machine_Values values)
 {
     for (int i = 0; i < MachinePark.Count; i++)
     {
         if (MachinePark[i].Machine_name == machine)
         {
             MachinePark[i].
                 set_Rtvalues(values);
         }
     }
 }
Beispiel #3
0
 public void set_Rtvalues(Machine_Values values)
 {
     RtValues = values;
 }
Beispiel #4
0
 public void set_Rtvalues(Machine_Values values)
 {
     RtValues = values;
 }
Beispiel #5
0
 private void UpdateRtValues()
 {
     if (db.GetRTvalues() != null)
     {
         foreach (var item in db.GetRTvalues())
         {
             Machine_Values RtValues = new Machine_Values
             {
                 Frequency = item.Frequency,
                 MotorCurent = item.MotorCurent,
                 MotorTorquyProc = item.MotorTorquyProc,
                 DCvolage = item.DCvolage,
                 MotorRPM = item.MotorRPM,
                 TimeStamp = item.TStamp
             };
             park.AddRtValues(item.Machine, RtValues);
         }
     }
 }