Beispiel #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;
 }
Beispiel #2
0
 public Car(string title, BatteryCapacity batteryCapacity, User owner)
 {
     this.Title           = title;
     this.BatteryCapacity = batteryCapacity;
     this.Owner           = owner;
 }
Beispiel #3
0
 public CarEdited(string title, BatteryCapacity batteryCapacity)
 {
     this.Title           = title;
     this.BatteryCapacity = batteryCapacity;
 }