Ejemplo n.º 1
0
 public ChargeAdded(User owner, string location, string car, DateTime date, Percentage loadStart,
                    Percentage loadEnd, decimal pricePerKw, BatteryCapacity batteryCapacity)
 {
     this.Owner           = owner;
     this.Location        = location;
     this.Car             = car;
     this.Date            = date;
     this.LoadStart       = loadStart;
     this.LoadEnd         = loadEnd;
     this.PricePerKw      = pricePerKw;
     this.BatteryCapacity = batteryCapacity;
 }
Ejemplo n.º 2
0
 public Car(string title, BatteryCapacity batteryCapacity, User owner)
 {
     this.Title           = title;
     this.BatteryCapacity = batteryCapacity;
     this.Owner           = owner;
 }
Ejemplo n.º 3
0
 public CarEdited(string title, BatteryCapacity batteryCapacity)
 {
     this.Title           = title;
     this.BatteryCapacity = batteryCapacity;
 }