RequestStartTransactionRequest.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 RequestStartTransactionRequest
  11. {
  12. /// <summary>
  13. /// Number of the EVSE on which to start the
  14. ///transaction.EvseId SHALL be > 0
  15. /// </summary>
  16. public int? EvseId { set; get; }
  17. /// <summary>
  18. /// Id given by the server to this start request. The
  19. /// Charging Station might return this in the
  20. /// TransactionEventRequest, letting the server know which
  21. ///transaction was started for this request.Use to start a
  22. ///transaction.
  23. /// </summary>
  24. [Required]
  25. public int RemoteStartId { set; get; }
  26. /// <summary>
  27. /// The identifier that the Charging Station must
  28. ///use to start a transaction.
  29. /// </summary>
  30. [Required]
  31. public IdTokenType IdToken { set; get; }
  32. /// <summary>
  33. /// Charging Profile to be used by the Charging
  34. ///Station for the requested transaction.
  35. ///ChargingProfilePurpose MUST be set to TxProfile
  36. /// </summary>
  37. public ChargingProfileType ChargingProfile { set; get; }
  38. /// <summary>
  39. /// The group identifier that the Charging Station
  40. /// </summary>
  41. public IdTokenType GroupIdToken { set; get; }
  42. }
  43. }