| | |
| | | public class AgvTaskDto |
| | | { |
| | | /// <summary> |
| | | /// 请求编号,每个请求都要一个唯一编号 |
| | | /// 同一个请求重复提交 使用同一编号 |
| | | /// 是否必填:是 |
| | | /// 任务号 |
| | | /// </summary> |
| | | public string reqCode { get; set; } |
| | | public string robotTaskCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 请求时间戳 |
| | | /// 格式: “yyyy-MM-ddHH:mm:ss” |
| | | /// 是否必填:是 |
| | | /// 当前执行任务的机器人唯一标识 |
| | | /// </summary> |
| | | public string reqTime { get; set; } |
| | | public string singleRobotCode { get; set; } |
| | | |
| | | public int currentSeq { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 地码 X 坐标(mm):任务完成时有值 |
| | | /// 是否必填:否 |
| | | /// 自定义扩展字段 |
| | | /// </summary> |
| | | public double cooX { get; set; } |
| | | public ExtraModel extra { get; set; } |
| | | } |
| | | |
| | | |
| | | public class ExtraModel |
| | | { |
| | | public string async { get; set; } = "0"; |
| | | |
| | | /// <summary> |
| | | /// 地码 Y 坐标(mm):任务完成时有值 |
| | | /// 是否必填:否 |
| | | /// 回调数据对象 |
| | | /// </summary> |
| | | public double cooY { get; set; } |
| | | public ExtraModelView values { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前位置编号 |
| | | /// 任务开始:该位置为任务起点 |
| | | /// 走出储位:该位置为任务起点 |
| | | /// 任务单取消:该位置为工作位编号 |
| | | /// 任务结束:该位置为任务终点 |
| | | /// 取放申请:取放料箱的点 |
| | | /// 是否必填:是 |
| | | /// </summary> |
| | | public string currentPositionCode { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 自定义字段,不超过 2000 个字符 |
| | | /// 是否必填:否 |
| | | /// </summary> |
| | | public string data { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 回调参数 |
| | | /// </summary> |
| | | public class ExtraModelView |
| | | { |
| | | /// <summary> |
| | | /// 地图编号 |
| | | /// 是否必填:否 |
| | | /// </summary> |
| | | public string mapCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 地码编号:任务完成时有值 |
| | | /// 是否必填:否 |
| | | /// </summary> |
| | | public string mapDataCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 仓位编号:叉车与 CTU 任务时有值 |
| | | /// 是否必填:否 |
| | | /// </summary> |
| | | public string stgBinCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 方法名, 可使用任务类型做为方法名 |
| | | /// 由 RCS-2000 任务模板配置后并告知上层系统 |
| | | /// 默认使用方式: |
| | | /// start : 任务开始 |
| | | /// outbin : 走出储位 |
| | | /// end : 任务结束 |
| | | /// cancel : 任务单取消 |
| | | /// apply:CTU 料箱取放申请 |
| | | /// 是否必填:是 |
| | | /// 回调任务 |
| | | /// <para> start:任务开始,outbin:走出储位,end:任务完成</para> |
| | | /// </summary> |
| | | public string method { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 货架编号:背货架时有值 |
| | | /// 是否必填:否 |
| | | /// 载具编号 |
| | | /// </summary> |
| | | public string podCode { get; set; } |
| | | public string carrierCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 别对应地图的任务完成时有值 |
| | | /// 左: 180 |
| | | /// 右: 0 |
| | | /// 上: 90 |
| | | /// 下: -90 |
| | | /// 是否必填:否 |
| | | /// 载具名称 |
| | | /// </summary> |
| | | public string podDir { get; set; } |
| | | public string carrierName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 物料编号 |
| | | /// 是否必填:否 |
| | | /// 载具类型 |
| | | /// </summary> |
| | | public string materialLot { get; set; } |
| | | public string carrierType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// AGV 编号(同 agvCode ) |
| | | /// 是否必填:否 |
| | | /// 载具种类 |
| | | /// </summary> |
| | | public string robotCode { get; set; } |
| | | public string carrierCategory { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 当前任务单号 |
| | | /// 是否必填:是 |
| | | /// 当前站点编号 |
| | | /// </summary> |
| | | public string taskCode { get; set; } |
| | | public string slotCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工作位,与 RCS-2000 端配置的位置名称一致。任务完成时有值,与生成任务单接口中的 wbCode 一致 |
| | | /// 是否必填:否 |
| | | /// 站点别名 |
| | | /// <para>1.走出储位:起点。2.任务完成:目标点</para> |
| | | /// </summary> |
| | | public string wbCode { get; set; } |
| | | public string slotName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 容器编号 |
| | | /// 是否必填:否 |
| | | /// 存储类型(BIN:仓位,SITE:站点) |
| | | /// </summary> |
| | | public string ctnrCode { get; set; } |
| | | public string slotCategory { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 容器类型 |
| | | /// 是否必填:否 |
| | | /// x坐标 |
| | | /// </summary> |
| | | public string ctnrType { get; set; } |
| | | public decimal? x { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 巷道编号 |
| | | /// 是否必填:否 |
| | | /// y坐标 |
| | | /// </summary> |
| | | public string roadWayCode { get; set; } |
| | | public decimal? y { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 巷道内顺序号 |
| | | /// 巷道尾是 0,到巷道头依次递增 1 |
| | | /// 是否必填:否 |
| | | /// 机器人种类 |
| | | /// </summary> |
| | | public string seq { get; set; } |
| | | public string amrCategory { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号,如梳齿式工作站、输送线等,一般使用于 CTU 场景。系统根据仓位定位到关联的设备编号。 |
| | | /// 是否必填:否 |
| | | /// 机器人类型 |
| | | /// </summary> |
| | | public string eqpCode { get; set; } |
| | | public string amrType { get; set; } |
| | | |
| | | |
| | | public int? pileCount { get; set; } |
| | | public int? layerNo { get; set; } |
| | | public string amrCode { get; set; } |
| | | |
| | | } |
| | | /// <summary> |
| | | /// WMS回应AGV信息 |
| | | /// </summary> |
| | | public class OutCommanAgvDto |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// WMS回应AGV信息 |
| | | /// </summary> |
| | | public class OutCommanAgvDto |
| | | { |
| | | /// <summary> |
| | | /// 返回码 |
| | |
| | | public string data { get; set; } |
| | | public string reqCode { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// agv请求接口应答 |
| | | /// </summary> |
| | | public class AgvResultModel2 |
| | | { |
| | | public string code { get; set; } |
| | | public string message { get; set; } |
| | | public Data da { get; set; } |
| | | } |
| | | public class Data |
| | | { |
| | | public string robotTaskCode { get; set; } |
| | | #endregion |
| | | } |