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.

71 lines
2.8 KiB

8 months ago
  1. using System.ComponentModel.DataAnnotations;
  2. using System.Text.Json.Serialization;
  3. namespace Mirle.Component.Database.Model.WES.Config
  4. {
  5. /// <summary>
  6. /// Class for peripheral equipment config
  7. /// </summary>
  8. public class CfgPeripheralEquipmentDto
  9. {
  10. /// <summary>
  11. /// Warhouse's storage ID
  12. /// </summary>
  13. [Column(Name = "STORAGE_ID")]
  14. [Required, Key, StringLength(7), JsonPropertyName("STORAGE_ID"), JsonPropertyOrder(1)]
  15. public string STORAGE_ID { get; set; }
  16. /// <summary>
  17. /// Station type
  18. /// </summary>
  19. /// <value>
  20. /// 0: Port <br/>
  21. /// 1: Lifter <br/>
  22. /// 2: Repair door <br/>
  23. /// </value>
  24. [Column(Name = "STATION_TYPE")]
  25. [Required, Key, StringLength(9), JsonPropertyName("STATION_TYPE"), JsonPropertyOrder(2)]
  26. public int STATION_TYPE { get; set; }
  27. /// <summary>
  28. /// Station ID
  29. /// </summary>
  30. [Column(Name = "PLCC_STATION_ID")]
  31. [Required, Key, StringLength(9), JsonPropertyName("PLCC_STATION_ID"), JsonPropertyOrder(3)]
  32. public string PLCC_STATION_ID { get; set; }
  33. /// <summary>
  34. /// Porgrammable logic controller software ID
  35. /// </summary>
  36. [Column(Name = "PLCC_SOFTWARE_ID")]
  37. [Required, StringLength(6), JsonPropertyName("PLCC_SOFTWARE_ID"), JsonPropertyOrder(4)]
  38. public string PLCC_SOFTWARE_ID { get; set; }
  39. /// <summary>
  40. /// Shuttle car controller station ID
  41. /// </summary>
  42. [Column(Name = "SHTC_STATION_ID")]
  43. [StringLength(10), JsonPropertyName("SHTC_STATION_ID"), JsonPropertyOrder(5)]
  44. public string SHTC_STATION_ID { get; set; }
  45. /// <summary>
  46. /// Shuttle car controller software ID
  47. /// </summary>
  48. [Column(Name = "SHTC_SOFTWARE_ID")]
  49. [StringLength(10), JsonPropertyName("SHTC_SOFTWARE_ID"), JsonPropertyOrder(6)]
  50. public string SHTC_SOFTWARE_ID { get; set; }
  51. /// <summary>
  52. /// Shuttle car controller station ID
  53. /// </summary>
  54. [Column(Name = "AGVC_STATION_ID")]
  55. [StringLength(10), JsonPropertyName("AGVC_STATION_ID"), JsonPropertyOrder(7)]
  56. public string AGVC_STATION_ID { get; set; }
  57. /// <summary>
  58. /// Shuttle car controller software ID
  59. /// </summary>
  60. [Column(Name = "AGVC_SOFTWARE_ID")]
  61. [StringLength(10), JsonPropertyName("AGVC_SOFTWARE_ID"), JsonPropertyOrder(8)]
  62. public string AGVC_SOFTWARE_ID { get; set; }
  63. /// <summary>
  64. /// Storage lock/unlock status
  65. /// </summary>
  66. [Column(Name = "STORAGE_LOCK_STATUS")]
  67. [Required, JsonPropertyName("STORAGE_LOCK_STATUS"), JsonPropertyOrder(9)]
  68. public int STORAGE_LOCK_STATUS { get; set; }
  69. }
  70. }