using System; using System.Collections.Generic; using System.Text; namespace SlnMesnac.Model.AirportApiEntity { /// /// 下发任务请求实体类 /// public class AGVRequestAddTaskEntity { /// /// 任务单ID-AGVC的任务ID /// public string businessOrderId { get; set; } /// /// 设备类型 /// public string RobotType { get; set; } /// /// 优先级 默认值0 /// public int priority { get; set; } = 0; /// /// 机器人ID /// public string roborId { get; set; } /// /// 分组ID 默认空 /// public string group { get; set; } = string.Empty; /// /// 任务来源,调度系统名称 默认值Mesnac /// public string taskSource { get; set; } = "Mesnac"; /// /// 任务类型 0)none 默认值3 /// public int taskType { get; set; } = 3; /// /// 验证任务 0:不验证 1:需要验证 传0 /// public int verifyStatus { get; set; } /// /// 是否允许分⻋执⾏(默认FALSE) /// public int? enableSplitCar { get; set; } /// /// 任务描述 /// public string? desc { get; set; } /// /// 装货点 /// public List load { get; set; } /// /// 卸货点 /// public List unload { get; set; } } /// /// 装载/卸载点位 /// public class LoadsEntity { /// /// 任务模板 默认空字符串 /// public string jobid { get; set; } = string.Empty; /// /// 地图中的点位 默认空字符串 /// public string loaction { get; set; } = string.Empty; /// /// 参数 数据跟location一样 /// public List param { get; set; } /// /// 默认空字符串 /// public string robotPort { get; set; } = string.Empty; } /// /// 不知道是啥 paramvalue点位跟load一样 /// public class ParamEntity { /// /// 参数名称 默认空字符串 /// public string paramname { get; set; } = string.Empty; /// /// 参数值 默认空字符串 /// public string paramvalue { get; set; } = string.Empty; } /// /// 下发任务成功响应数据 /// public class ResponseAddTaskDataEntity { /// /// AGV任务ID /// public string guid { get; set; } } }