GetChargingProfilesRequest.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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 GetChargingProfilesRequest
  11. {
  12. /// <summary>
  13. /// Reference identification that is to be used by
  14. /// the Charging Station in the
  15. /// ReportChargingProfilesRequest when provided.
  16. /// </summary>
  17. [Required]
  18. public int RequestId { set; get; }
  19. /// <summary>
  20. /// For which EVSE installed charging profiles
  21. /// SHALL be reported.If 0, only charging profiles installed
  22. ///on the Charging Station itself(the grid connection)
  23. ///SHALL be reported.If omitted, all installed charging
  24. ///profiles SHALL be reported
  25. /// </summary>
  26. public int EvseId { set; get; }
  27. /// <summary>
  28. /// Specifies the charging profile
  29. /// </summary>
  30. [Required]
  31. public ChargingProfileCriterionType ChargingProfile { set; get; }
  32. }
  33. }