Пример #1
0
 /// <summary>
 /// Create a new Pump object.
 /// </summary>
 /// <param name="id">Initial value of Id.</param>
 /// <param name="gPIO">Initial value of GPIO.</param>
 public static Pump CreatePump(int id, int gPIO)
 {
     Pump pump = new Pump();
     pump.Id = id;
     pump.GPIO = gPIO;
     return pump;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pumps EntitySet.
 /// </summary>
 public void AddToPumps(Pump pump)
 {
     base.AddObject("Pumps", pump);
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pumps EntitySet.
 /// </summary>
 public void AddToPumps(Pump pump)
 {
     base.AddObject("Pumps", pump);
 }