Config_TaskSplit.cs 2.94 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XingYe_ACS.BaseStruct
{
    public class Config_TaskSplit
    {

        /// <summary>
        /// 任务ID
        /// </summary>
        public string taskID { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public int intSerialNo { get; set; }

        /// <summary>
        /// 小车动作类型
        /// </summary>
        public EnumMsg.AgvTaskType agvTaskType { get; set; }

        /// <summary>
        /// 起点依据
        /// </summary>
        public EnumMsg.ConfigToFromPoint fromPoint { get; set; }

        /// <summary>
        /// 终点依据
        /// </summary>
        public EnumMsg.ConfigToFromPoint toPoint { get; set; }

        /// <summary>
        /// 是否请求
        /// </summary>
        public EnumMsg.TaskRequestType taskRequestType { get; set; }

        /// <summary>
        /// 任务是否携带货架
        /// </summary>
        public bool isCarry { get; set; }

        /// <summary>
        /// 等待点等待时间
        /// </summary>
        public int waitTime { get; set; }

        /// <summary>
        /// web接收起点码值
        /// </summary>
        public string fromBarcode { get; set; }

        /// <summary>
        /// web接收终点码值
        /// </summary>
        public string toBarcode { get; set; }
    }

    public class Web_TaskSplit 
    {
        /// <summary>
        /// 任务起点区域
        /// </summary>
        public string fromArea { get; set; }
        /// <summary>
        /// 任务终点区域
        /// </summary>
        public string toArea { get; set; }

        /// <summary>
        /// 起点信息
        /// </summary>
        public string fromPoint { get; set; }

        /// <summary>
        /// 终点信息
        /// </summary>
        public string toPoint { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public string taskID { get; set; }

        /// <summary>
        /// WebApi传入
        /// </summary>
        public int intSeriaNo { get; set; }

        /// <summary>
        /// 小车动作类型
        /// </summary>
        public EnumMsg.AgvTaskType agvTaskType { get; set; }

        /// <summary>
        /// 是否请求
        /// </summary>
        public EnumMsg.TaskRequestType taskRequestType { get; set; }

        /// <summary>
        /// 任务是否携带货架
        /// </summary>
        public bool isCarry { get; set; }

        /// <summary>
        /// 等待点等待时间
        /// </summary>
        public int waitTime { get; set; }

        /// <summary>
        /// 增删改
        /// </summary>
        public string type { get; set; }

    }

    public class DemoWeb_TaskSplit 
    {
        public string areaType { get; set; }
        public List<Web_TaskSplit> taskPreviewModels { get; set; }
    }
}