NotifyEVChargingNeedsRequest.cs 923 B

123456789101112131415161718192021222324252627282930313233
  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 NotifyEVChargingNeedsRequest
  11. {
  12. /// <summary>
  13. /// Contains the maximum schedule tuples the car
  14. ///supports per SASchedule(both Pmax and Tariff)
  15. /// </summary>
  16. public int? MaxScheduleTuples { set; get; }
  17. /// <summary>
  18. /// Defines the EVSE and connector to which the
  19. /// EV is connected.EvseId may not be 0.
  20. /// </summary>
  21. [Required]
  22. public int EvseId { set; get; }
  23. /// <summary>
  24. /// The characteristics of the energy delivery
  25. ///required.
  26. /// </summary>
  27. [Required]
  28. public ChargingNeedsType ChargingNeeds { set; get; }
  29. }
  30. }