GetChargingProfilesResponse.cs 721 B

123456789101112131415161718192021222324
  1. using EVCB_OCPP.Packet20.DataTypes.EnumTypes;
  2. using Newtonsoft.Json;
  3. using Newtonsoft.Json.Converters;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel.DataAnnotations;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace EVCB_OCPP.Packet20.Messages
  11. {
  12. public class GetChargingProfilesResponse
  13. {
  14. /// <summary>
  15. /// This indicates whether the Charging Station is
  16. /// able to process this request and will send
  17. /// ReportChargingProfilesRequest messages
  18. /// </summary>
  19. [Required]
  20. [JsonConverter(typeof(StringEnumConverter))]
  21. public GetChargingProfileStatusEnumType Status { set; get; }
  22. }
  23. }