HuahengStaion.cs 8.82 KB
using RCS.Model.Comm;

namespace RCS.Model.PLC
{
    public class HuahengStaion : VMBase
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipmentCode 
        {
            get => equipmentCode;
            set
            {
                equipmentCode = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName 
        {
            get => equipmentName;
            set
            {
                equipmentName = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 电器编码
        /// </summary>
        public string CADCode 
        {
            get => cadCode;
            set
            {
                cadCode = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// PLC心跳
        /// </summary>
        public string Heart 
        {
            get => heart;
            set
            {
                heart = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// RCS心跳
        /// </summary>
        public string RCSHeart 
        {
            get => rcsHeart;
            set
            {
                rcsHeart = value; NotifyPropertyChanged();
            }
        }

        /// <summary>
        /// 是否连接
        /// </summary>
        public string Online
        {
            get => online;
            set
            {
                online = value; NotifyPropertyChanged();
            }
        }

        #region PLC信号
        /// <summary>
        /// 安全信号
        /// </summary>
        public string Devicessafety 
        {
            get => devicessafety;
            set
            {
                devicessafety = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 输送线放货准备完毕
        /// </summary>
        public string PutReady 
        {
            get => putReady;
            set
            {
                putReady = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 允许放
        /// </summary>
        public string PutAllow 
        {
            get => putAllow;
            set
            {
                putAllow = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 输送线取货准备完成,用于向WMS请求发起取货任务
        /// </summary>
        public string PickReady 
        {
            get => pickReady;
            set
            {
                pickReady = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 允许取
        /// </summary>
        public string PickAllow 
        {
            get => pickAllow;
            set
            {
                pickAllow = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 高度
        /// </summary>
        public string Height 
        {
            get => height;
            set
            {
                height = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 宽度
        /// </summary>
        public string Width 
        {
            get => width;
            set
            {
                width = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 长度
        /// </summary>
        public string Length 
        {
            get => length;
            set
            {
                length = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 重量
        /// </summary>
        public string Weight 
        {
            get => weight;
            set
            {
                weight = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string Code 
        {
            get => code;
            set
            {
                code = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string PalletType 
        {
            get => palletType;
            set
            {
                palletType = value; NotifyPropertyChanged();
            }
        }
        #endregion
        #region RCS写给PLC
        /// <summary>
        /// 安全信号
        /// </summary>
        public string RCSDevicessafety 
        {
            get => rcsDevicessafety;
            set
            {
                rcsDevicessafety = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 请求放货
        /// </summary>
        public string RCSPutRequest 
        {
            get => rcsPutRequest;
            set
            {
                rcsPutRequest = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 放货中
        /// </summary>
        public string RCSPutRuning 
        {
            get => rcsPutRuning;
            set
            {
                rcsPutRuning = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 放货完成
        /// </summary>
        public string RCSPutDone 
        {
            get => rcsPutDone;
            set
            {
                rcsPutDone = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 请求取货
        /// </summary>
        public string RCSPickRequest 
        {
            get => rcsPickRequest;
            set
            {
                rcsPickRequest = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 取货中
        /// </summary>
        public string RCSPickRuning 
        {
            get => rcsPickRuning;
            set
            {
                rcsPickRuning = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 取货完成
        /// </summary>
        public string RCSPickDone 
        {
            get => rcsPickDone;
            set
            {
                rcsPickDone = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 高度
        /// </summary>
        public string RCSHeight 
        {
            get => rcsHeight;
            set
            {
                rcsHeight = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 宽度
        /// </summary>
        public string RCSWidth 
        {
            get => rcsWidth;
            set
            {
                rcsWidth = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 长度
        /// </summary>
        public string RCSLength 
        {
            get => rcsLength;
            set
            {
                rcsLength = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 重量
        /// </summary>
        public string RCSWeight 
        {
            get => rcsWeight;
            set
            {
                rcsWeight = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string RCSCode 
        {
            get => rcsPalletType;
            set
            {
                rcsPalletType = value; NotifyPropertyChanged();
            }
        }
        /// <summary>
        /// 托盘类型
        /// </summary>
        public string RCSPalletType 
        {
            get => rcsPalletType;
            set
            {
                rcsPalletType = value; NotifyPropertyChanged();
            }
        }

        #endregion
        #region 变量
        private string equipmentCode;
        private string equipmentName;
        private string cadCode;
        private string heart;
        private string rcsHeart;
        private string devicessafety;
        private string putReady;
        private string putAllow;
        private string pickReady;
        private string pickAllow;
        private string height;
        private string width;
        private string length;
        private string weight;
        private string code;
        private string palletType;
        private string rcsDevicessafety;
        private string rcsPutRequest;
        private string rcsPutRuning;
        private string rcsPutDone;
        private string rcsPickRequest;
        private string rcsPickRuning;
        private string rcsPickDone;
        private string rcsHeight;
        private string rcsWidth;
        private string rcsLength;
        private string rcsWeight;
        private string rcsCode;
        private string rcsPalletType;
        private string online;
        #endregion
    }
}