NotifyEVChargingNeedsResponse.cs 768 B

12345678910111213141516171819202122232425
  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 NotifyEVChargingNeedsResponse
  13. {
  14. /// <summary>
  15. /// Returns whether the CSMS has been able to
  16. ///process the message successfully.It does not imply that
  17. ///the evChargingNeeds can be met with the current
  18. /// charging profile.
  19. /// </summary>
  20. [Required]
  21. [JsonConverter(typeof(StringEnumConverter))]
  22. public NotifyEVChargingNeedsStatusEnumType Status { set; get; }
  23. }
  24. }