Beispiel #1
0
 /// <summary>Constructs a new instance of BXChargingOperation.</summary>
 /// <param name="battery"></param>
 /// <param name="batteryMetrics"></param>
 public BXBattery(Battery battery, BatteryMetrics batteryMetrics) {
    _copyBatteryData(battery);
    BatteryMetrics = batteryMetrics;
    GotToStation = DateTime.Now;
    ChargeEndedReport = null;
 }
Beispiel #2
0
 /// <summary>Constructs a default new instance of BXChargingOperation.</summary>
 public BXBattery() {
    BatteryMetrics = new BatteryMetrics();
 }