You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
838 B

8 months ago
  1. using System.ComponentModel.DataAnnotations;
  2. using System.Text.Json.Serialization;
  3. namespace Mirle.Component.API.AutomatedGuideVehicleController.Models
  4. {
  5. /// <summary>
  6. /// 系統狀態回報類別
  7. /// </summary>
  8. /// <remarks>3.3.Online</remarks>
  9. public class OnlineReportDto : CommonMessage
  10. {
  11. /// <summary>
  12. /// 設備名稱/車號
  13. /// </summary>
  14. [Required, JsonPropertyName("device"), JsonPropertyOrder(101)]
  15. public string Device { get; set; }
  16. /// <summary>
  17. /// 系統狀態
  18. /// </summary>
  19. /// <value>
  20. /// reomte <br/>
  21. /// local <br/>
  22. /// off-line <br/>
  23. /// </value>
  24. [Required, StringLength(8), JsonPropertyName("status"), JsonPropertyOrder(102)]
  25. public string Status { get; set; }
  26. }
  27. }