/// <summary> /// Create a new remote start result. /// </summary> /// <param name="Message">A optional (error) message.</param> private RemoteStartChargingStationResult(String Message) { this._Result = RemoteStartChargingStationResultType.Error; this._Message = Message; }
/// <summary> /// Create a new remote start result. /// </summary> /// <param name="Result">The result of the remote start operation.</param> private RemoteStartChargingStationResult(RemoteStartChargingStationResultType Result) { this._Result = Result; this._Session = null; this._Message = null; }
/// <summary> /// Create a new successful remote start result. /// </summary> /// <param name="Session">The charging session (mandatory for successful session starts).</param> private RemoteStartChargingStationResult(ChargingSession Session) { this._Result = RemoteStartChargingStationResultType.Success; this._Session = Session; this._Message = null; }