Hoister.cs 3.94 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PropertyChanged;

namespace XingYe_ACS.BaseStruct
{
    [ImplementPropertyChanged]
    public class Hoister
    {
        /// <summary>
        /// 提升机节点(编号)
        /// </summary>
        public short hoisterNo { get; set; }

        /// <summary>
        /// 提升机目的地
        /// </summary>
        public short hoisterTarget { get; set; }

        /// <summary>
        /// 提升机状态
        /// </summary>
        public short hoisterState { get; set; }

        /// <summary>
        /// 提升机错误信息
        /// </summary>
        public short hoisterError { get; set; }

        /// <summary>
        /// 读取提升机心跳
        /// </summary>
        public bool read_heart { get; set; }

        /// <summary>
        /// 读取提升机是否可取
        /// </summary>
        public bool read_isGet { get; set; }

        /// <summary>
        /// 读取提升机放货完成
        /// </summary>
        public bool read_isHoisterPutFinish { get; set; }

        /// <summary>
        /// 读取AGV取货离开完成确认
        /// </summary>
        public bool read_isAgvGetAck { get; set; }

        /// <summary>
        /// 读取是否允许放货
        /// </summary>
        public bool read_isPut { get; set; }

        /// <summary>
        /// 读取提升机取货完成
        /// </summary>
        public bool read_isHoisterGetFinish { get; set; }

        /// <summary>
        /// 读取AGV放货离开完成确认
        /// </summary>
        public bool read_isAgvPutAck{ get; set; }

        ///<summary>
        ///读取是否手动还是自动
        /// </summary>
        public bool read_isHoisterManual { get; set; }


        /// <summary>
        /// 写入AGV心跳
        /// </summary>
        public bool write_agvHeart { get; set; }

        /// <summary>
        /// 写入AGV取货中
        /// </summary>
        public bool write_isGeting { get; set; }

        /// <summary>
        /// 写入AGV请求取货
        /// </summary>
        public bool write_isGet { get; set; }

        /// <summary>
        /// 写入AGV取货到位确认
        /// </summary>
        public bool write_isGetAck { get; set; }

        /// <summary>
        /// 写入提升机放货完成确认
        /// </summary>
        public bool write_isHoisterPutAck{ get; set; }

        /// <summary>
        /// 写入AGV取货完成离开
        /// </summary>
        public bool write_isAgvGetFinish { get; set; }

        /// <summary>
        /// 写入AGV放货请求
        /// </summary>
        public bool write_isPut { get; set; }

        /// <summary>
        /// 写入AGV放货到位
        /// </summary>
        public bool write_isPutAck { get; set; }

        /// <summary>
        /// 写入提升机取货完成确认
        /// </summary>
        public bool write_isHoisterGetAck{ get; set; }

        /// <summary>
        /// 写入AGV放货完成离开
        /// </summary>
        public bool write_isAgvPutFinish { get; set; }

        /// <summary>
        /// AGV进入提升机过程中
        /// </summary>
        public bool write_isAgvIn { get; set; }

        /// <summary>
        /// AGV出提升机过程中
        /// </summary>
        public bool write_isAgvOut { get; set; }

        /// <summary>
        /// 提升机地址
        /// </summary>
        public string hoisterAddress { get; set; }

        /// <summary>
        /// 读取是否有料
        /// </summary>
        public bool read_isFull { get; set; }

        /// <summary>
        /// 法兰类型
        /// </summary>
        public string falanType { get; set; }

        /// <summary>
        /// 法兰数量
        /// </summary>
        public string falanNum { get; set; }

        public DateTime writeTime { get; set; }

        public string errorMesg { get; set; }
    }
}