SetChargingProfileResponse.cs 848 B

12345678910111213141516171819202122232425262728
  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 SetChargingProfileResponse
  13. {
  14. /// <summary>
  15. /// Returns whether the Charging Station has been
  16. ///able to process the message successfully.This does not
  17. ///guarantee the schedule will be followed to the letter.
  18. ///There might be other constraints the Charging Station
  19. ///may need to take into account.
  20. /// </summary>
  21. [Required]
  22. [JsonConverter(typeof(StringEnumConverter))]
  23. public ChargingProfileStatusEnumType Status { set; get; }
  24. }
  25. }