using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace MisDataSaveDate { /// /// AGV进入请求实体类 /// public class AGV_EnterRequest { /// /// 请求编号,每个请求都要一个唯一编号,同一个请求重复提交,使用同一编号 /// public string reqCode { get; set; } /// /// 请求时间戳,格式: "yyyy-MM-dd HH:mm:ss" /// public string reqTime { get; set; } /// /// 地码 X 坐标(mm):任务完成时有值 /// public string cooX { get; set; } /// /// 地码 Y 坐标(mm):任务完成时有值 /// public string cooY { get; set; } /// /// 当前位置编号 /// public string currentPositionCode { get; set; } /// /// 自定义字段,不超过2000个字符 /// public object data { get; set; } /// /// 地图编号 /// public string mapCode { get; set; } /// /// 地码编号:任务完成时有值 /// public string mapDataCode { get; set; } /// /// 仓位编号:叉车与CTU任务时有值 /// public string stgBinCode { get; set; } /// /// 方法名, apply: 申请进入;release:申请离开 /// public string method { get; set; } /// /// 货架编号:背货架时有值 /// public string podCode { get; set; } /// /// "180","0","90","-90" 分别对应地图的"左","右","上","下":任务完成时有值 /// public string podDir { get; set; } /// /// 物料编号 /// public string materialLot { get; set; } /// /// AGV编号(同 agvCode) /// public string robotCode { get; set; } /// /// 当前任务单号 /// public string taskCode { get; set; } /// /// 工作位,与RCS-2000端配置的位置名称一致。任务完成时有值,与生成任务单接口中的wbCode一致 /// public string wbCode { get; set; } /// /// 容器编号 /// public string ctnrCode { get; set; } /// /// 容器类型 /// public string ctnrType { get; set; } /// /// 巷道编号 /// public string roadWayCode { get; set; } /// /// 巷道内顺序号,巷道尾是0,到巷道头依次递增1 /// public string seq { get; set; } /// /// 设备编号,如梳齿式工作站、输送线等,一般使用于CTU场景。系统根据仓位定位到关联的设备编号 /// public string eqpCode { get; set; } } /// /// AGV请求反馈实体类 /// public class AGV_FeedbackRequest { /// /// 请求编号 /// public string reqCode { get; set; } /// /// 任务单号 /// public string taskCode { get; set; } } /// /// AGV接口通用响应类 /// public class AGV_Response { /// /// 返回码 "0"表示成功 /// public string code { get; set; } /// /// 返回消息 /// public string message { get; set; } /// /// 请求编号 /// public string reqCode { get; set; } public AGV_Response() { code = "0"; message = "成功"; reqCode = ""; } } }