ComandExecution.cs 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EVCB_OCPP.TaskScheduler.Models
  8. {
  9. public class ComandExecution
  10. {
  11. [JsonIgnore]
  12. public bool? IsTimeout { set; get; }
  13. [JsonIgnore]
  14. public bool? IsWaited { set; get; }
  15. public bool IsRepliedbyEVSE { set; get; }
  16. [JsonIgnore]
  17. public int Code { set; get; }
  18. public string Detail { set; get; }
  19. public string Result { set; get; }
  20. }
  21. public enum CommandResultType
  22. {
  23. Waited,//server
  24. Timeout,//server
  25. Accepted,
  26. Rejected,
  27. Failed,
  28. Occupied,
  29. Notsupported,
  30. Unknown,
  31. EVSE_ERROR//EVSE Replied error call
  32. }
  33. }