Example #1
0
 /// <summary>
 /// Create new charging profile result.
 /// </summary>
 /// <param name="Result">The EVSE will indicate if it was able to process the new/updated charging profile.</param>
 public ChargingProfileResult(ChargingProfileResultTypes Result)
 {
     this.Result = Result;
 }
Example #2
0
 /// <summary>
 /// Create new active charging profile result.
 /// </summary>
 /// <param name="Result">The EVSE will indicate if it was able to process the request for the ActiveChargingProfile.</param>
 /// <param name="Profile">The requested ActiveChargingProfile, if the result field is set to: ACCEPTED</param>
 public ActiveChargingProfileResult(ChargingProfileResultTypes Result,
                                    ActiveChargingProfile?Profile = null)
 {
     this.Result  = Result;
     this.Profile = Profile;
 }