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

using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.WES.Config
{
/// <summary>
/// Class for peripheral equipment config
/// </summary>
public class CfgPeripheralEquipmentDto
{
/// <summary>
/// Warhouse's storage ID
/// </summary>
[Column(Name = "STORAGE_ID")]
[Required, Key, StringLength(7), JsonPropertyName("STORAGE_ID"), JsonPropertyOrder(1)]
public string STORAGE_ID { get; set; }
/// <summary>
/// Station type
/// </summary>
/// <value>
/// 0: Port <br/>
/// 1: Lifter <br/>
/// 2: Repair door <br/>
/// </value>
[Column(Name = "STATION_TYPE")]
[Required, Key, StringLength(9), JsonPropertyName("STATION_TYPE"), JsonPropertyOrder(2)]
public int STATION_TYPE { get; set; }
/// <summary>
/// Station ID
/// </summary>
[Column(Name = "PLCC_STATION_ID")]
[Required, Key, StringLength(9), JsonPropertyName("PLCC_STATION_ID"), JsonPropertyOrder(3)]
public string PLCC_STATION_ID { get; set; }
/// <summary>
/// Porgrammable logic controller software ID
/// </summary>
[Column(Name = "PLCC_SOFTWARE_ID")]
[Required, StringLength(6), JsonPropertyName("PLCC_SOFTWARE_ID"), JsonPropertyOrder(4)]
public string PLCC_SOFTWARE_ID { get; set; }
/// <summary>
/// Shuttle car controller station ID
/// </summary>
[Column(Name = "SHTC_STATION_ID")]
[StringLength(10), JsonPropertyName("SHTC_STATION_ID"), JsonPropertyOrder(5)]
public string SHTC_STATION_ID { get; set; }
/// <summary>
/// Shuttle car controller software ID
/// </summary>
[Column(Name = "SHTC_SOFTWARE_ID")]
[StringLength(10), JsonPropertyName("SHTC_SOFTWARE_ID"), JsonPropertyOrder(6)]
public string SHTC_SOFTWARE_ID { get; set; }
/// <summary>
/// Shuttle car controller station ID
/// </summary>
[Column(Name = "AGVC_STATION_ID")]
[StringLength(10), JsonPropertyName("AGVC_STATION_ID"), JsonPropertyOrder(7)]
public string AGVC_STATION_ID { get; set; }
/// <summary>
/// Shuttle car controller software ID
/// </summary>
[Column(Name = "AGVC_SOFTWARE_ID")]
[StringLength(10), JsonPropertyName("AGVC_SOFTWARE_ID"), JsonPropertyOrder(8)]
public string AGVC_SOFTWARE_ID { get; set; }
/// <summary>
/// Storage lock/unlock status
/// </summary>
[Column(Name = "STORAGE_LOCK_STATUS")]
[Required, JsonPropertyName("STORAGE_LOCK_STATUS"), JsonPropertyOrder(9)]
public int STORAGE_LOCK_STATUS { get; set; }
}
}