|
@@ -0,0 +1,67 @@
|
|
|
|
|
+using SqlSugar;
|
|
|
|
|
+using System.ComponentModel;
|
|
|
|
|
+using System.Runtime.Serialization;
|
|
|
|
|
+
|
|
|
|
|
+namespace WCS.Entity.Protocol.Station
|
|
|
|
|
+{
|
|
|
|
|
+ [SugarTable(nameof(WCS_Station521), "输送机交互信号 读记录表")]
|
|
|
|
|
+ [DataContract]
|
|
|
|
|
+ public class WCS_Station521 : WCS_PROTOCOLDATA, IStation521
|
|
|
|
|
+ {
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 任务号
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "任务号")]
|
|
|
|
|
+ [Description("任务号")]
|
|
|
|
|
+ [DataMember(Order = 0)]
|
|
|
|
|
+ public int TaskNumber { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 起始地址
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "起始地址")]
|
|
|
|
|
+ [Description("起始地址")]
|
|
|
|
|
+ [DataMember(Order = 1)]
|
|
|
|
|
+ public short GoodsStart { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 目标地址
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "目标地址")]
|
|
|
|
|
+ [Description("目标地址")]
|
|
|
|
|
+ [DataMember(Order = 2)]
|
|
|
|
|
+ public short GoodsEnd { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 凭证号
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "凭证号")]
|
|
|
|
|
+ [Description("凭证号")]
|
|
|
|
|
+ [DataMember(Order = 3)]
|
|
|
|
|
+ public short VoucherNo { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 请求
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "请求")]
|
|
|
|
|
+ [Description("请求")]
|
|
|
|
|
+ [DataMember(Order = 4)]
|
|
|
|
|
+ public IstationRequest Request { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 运行模式
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "运行模式")]
|
|
|
|
|
+ [Description("运行模式")]
|
|
|
|
|
+ [DataMember(Order = 5)]
|
|
|
|
|
+ public IstationAutoStatus AutoStatus { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 状态
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [SugarColumn(ColumnDescription = "状态")]
|
|
|
|
|
+ [Description("状态")]
|
|
|
|
|
+ [DataMember(Order = 6)]
|
|
|
|
|
+ public IstationStatus Status { get; set; }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|