ClientMsg.cs 2.14 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XingYe_ACS.BaseStruct
{
    public class ClientMsg
    {
        /// <summary>
        /// 功能码
        /// </summary>
        public int intFuncCode;

        /// <summary>
        /// 数据长度
        /// </summary>
        public int intDataLength;

        /// <summary>
        /// 设备名称
        /// </summary>
        public string strAddress;

        /// <summary>
        /// 小车模型
        /// </summary>
        public Agv msgAgv;

        /// <summary>
        /// 机台集合
        /// </summary>
        //public List<Station> msgStationList;

        /// <summary>
        /// 码值
        /// </summary>
        public string strBarcode;

        /// <summary>
        /// 电量
        /// </summary>
        public int intVoltage;

        /// <summary>
        /// 自身状态
        /// </summary>
        public int intState;

        /// <summary>
        /// 顶升状态
        /// </summary>
        public int intHeightState;

        /// <summary>
        /// 行驶距离
        /// </summary>
        public int intRunDistance;

        /// <summary>
        /// 转盘方向
        /// </summary>
        public EnumMsg.OriType dialDirection { get; set; }

        /// <summary>
        /// 车头方向
        /// </summary>
        public EnumMsg.OriType agvDirection { get; set; }

        /// <summary>
        /// 错误代码
        /// </summary>
        public int[] ErrorList { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public int intTaskNo;

        /// <summary>
        /// 动作状态
        /// </summary>
        public EnumMsg.ActState actState;

        /// <summary>
        /// 客户端数据异常信息
        /// </summary>
        public EnumMsg.ErrMsg clientErr;

        /// <summary>
        /// 数据校验码
        /// </summary>
        public int intCheckCode;

        /// <summary>
        /// agv自动关机标识
        /// </summary>
        public int isCarry;
        public DateTime agvTime;
    }
}