Exemplo n.º 1
0
 public MBatteryType buildBatteryType(BatteryType bt)
 {
     MBatteryType batteryType = new MBatteryType()
     {
         id = bt.Id,
         name = bt.name,
         producer = bt.producer,
         capacity = bt.capacity,
         exchangeCost = bt.exchangeCost
     };
     return batteryType;
 }
Exemplo n.º 2
0
 public MBookingLine()
 {
     BatteryType = new MBatteryType();
     Station = new MStation();
 }