VM_StationDACK.cs 1.59 KB
using PropertyChanged;

namespace HH_WCS_Standard
{
    [ImplementPropertyChanged]
    public class VM_StationDACK : VM_WriteModel
    {
        public VM_StationDACK(string name) : base(name)
        {
        }

        /// <summary>
        /// 报文名称
        /// </summary>
        public int MessageID { get; set; }

        /// <summary>
        /// 装载状态
        /// </summary>
        public int LoadingStatus { get; set; }

        /// <summary>
        /// 读码器编号
        /// </summary>
        public int ScannerNr { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public string PalletID { get; set; }

        /// <summary>
        /// 重量
        /// </summary>
        public int Weight { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public int Length { get; set; }

        /// <summary>
        /// 宽度
        /// </summary>
        public int Width { get; set; }

        /// <summary>
        /// 高度
        /// </summary>
        public int Height { get; set; }

        /// <summary>
        /// 目的地
        /// </summary>
        public int DeStation { get; set; }

        /// <summary>
        /// 备用
        /// </summary>
        public int Spare { get; set; }

        public override void Clear()
        {
            MessageID = 0;
            LoadingStatus = 0;
            ScannerNr = 0;
            PalletID = "";
            Weight = 0;
            Length = 0;
            Width = 0;
            Height = 0;
            DeStation = 0;
            Spare = 0;
        }
    }
}