/// <summary>
        /// Create new 'set charging profile' command command.
        /// </summary>
        /// <param name="ChargingProfile">Session identification of the charging session that is requested to be stopped.</param>
        /// <param name="ResponseURL">URL that the CommandResult POST should be sent to. This URL might contain an unique identification to be able to distinguish between 'set charging profile' command requests.</param>
        ///
        /// <param name="RequestId">An optional request identification.</param>
        /// <param name="CorrelationId">An optional request correlation identification.</param>
        public SetChargingProfileCommand(ChargingProfile ChargingProfile,
                                         URL ResponseURL,

                                         Request_Id?RequestId         = null,
                                         Correlation_Id?CorrelationId = null)

            : base(ResponseURL,
                   RequestId,
                   CorrelationId)

        {
            this.ChargingProfile = ChargingProfile;
        }
예제 #2
0
 /// <summary>
 /// Create new active charging profile.
 /// </summary>
 /// <param name="Start">Date and time at which the charge point has calculated this active charging profile. All time measurements within the profile are relative to this timestamp.</param>
 /// <param name="ChargingProfile">The active charging profile including an enumeration of charging periods.</param>
 public ActiveChargingProfile(DateTime Start,
                              ChargingProfile ChargingProfile)
 {
     this.Start           = Start;
     this.ChargingProfile = ChargingProfile;
 }