/// <summary> /// Create a new OCPP set charging profile response. /// </summary> /// <param name="Status">The success or failure of the set charging profile command.</param> public SetChargingProfileResponse(ChargingProfileStatus Status) : base(Result.OK()) { this.Status = Status; }
public static String AsText(this ChargingProfileStatus ChargingProfileStatus) { switch (ChargingProfileStatus) { case ChargingProfileStatus.Accepted: return("Accepted"); case ChargingProfileStatus.Rejected: return("Rejected"); case ChargingProfileStatus.NotSupported: return("NotSupported"); default: return("unknown"); } }