SetChargingProfileRequest.cs 774 B

123456789101112131415161718192021222324252627282930
  1. using EVCB_OCPP.Packet20.DataTypes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace EVCB_OCPP.Packet20.Messages
  9. {
  10. public class SetChargingProfileRequest
  11. {
  12. /// <summary>
  13. /// The EVSE to which the charging profile applies.
  14. ///If evseId = 0, the message contains an overall limit for the
  15. ///Charging Station.
  16. /// </summary>
  17. [Required]
  18. public int EvseId { set; get; }
  19. /// <summary>
  20. /// The charging profile to be set at the Charging
  21. ///Station.
  22. /// </summary>
  23. [Required]
  24. public ChargingProfileType ChargingProfile { set; get; }
  25. }
  26. }