| | |
| | | { |
| | | public string TaskNo { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 叠盘机状态切换 |
| | | /// </summary> |
| | | public class MoboxChangeStatus |
| | | { |
| | | public string Type { get; set; } |
| | | } |
| | | /// <summary> |
| | | /// mobox 接口返回 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 托盘编码 |
| | | /// </summary> |
| | | public string CntrCode { get; set; } |
| | | public string ItemCode { get; set; } |
| | | |
| | | } |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region 大洋立库接口接收请求参数 |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设备信号反馈 |
| | | /// </summary> |
| | | public partial class NotifyDeviceSignalModel |
| | | { |
| | | /// <summary> |
| | | /// 托盘号,可空,多个托盘号可以拼接 |
| | | /// </summary> |
| | | [JsonProperty("cntrNo")] |
| | | public string CntrNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | [JsonProperty("extData")] |
| | | public Dictionary<string, object>[] ExtData { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 货位,上料点、下料点、读码位、称重位 |
| | | /// </summary> |
| | | [JsonProperty("loc")] |
| | | public string Loc { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 请求类型,1:入库申请 |
| | | /// </summary> |
| | | [JsonProperty("signalType")] |
| | | public int SignalType { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 任务状态反馈 |
| | | /// </summary> |
| | | public partial class NotifyTaskStatusModel |
| | | { |
| | | /// <summary> |
| | | /// 设备号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 异常代码,主要是针对各种异常取消的描述 |
| | | /// </summary> |
| | | [JsonProperty("errCode")] |
| | | public int ErrCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前托盘位置 |
| | | /// </summary> |
| | | [JsonProperty("loc")] |
| | | public string Loc { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务状态,1:开始/执行中;2:完成;3:准备取货;4:取货完成;5:准备卸货;6:卸货完成;7:异常取消;8:强制完成 |
| | | /// </summary> |
| | | [JsonProperty("status")] |
| | | public int Status { get; set; } |
| | | |
| | | /// <summary> |
| | | /// wcs的子任务号,如果wcs任务拆分了,可以一起上报子任务号,方便日志追踪 |
| | | /// </summary> |
| | | [JsonProperty("subTaskNo")] |
| | | public string SubTaskNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务号 |
| | | /// </summary> |
| | | [JsonProperty("taskNo")] |
| | | public string TaskNo { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取托盘物料信息 |
| | | /// </summary> |
| | | public partial class GetCntrInfoModel |
| | | { |
| | | /// <summary> |
| | | /// 托盘号 |
| | | /// </summary> |
| | | [JsonProperty("cntrNo")] |
| | | public string CntrNo { get; set; } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设备报警上报 |
| | | /// </summary> |
| | | public partial class NotifyAlarmModel |
| | | { |
| | | /// <summary> |
| | | /// 设备编号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 错误码 |
| | | /// </summary> |
| | | [JsonProperty("errCode")] |
| | | public string ErrCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 错误信息 |
| | | /// </summary> |
| | | [JsonProperty("errMsg")] |
| | | public string ErrMsg { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 大洋立库接口下发参数 |
| | | /// <summary> |
| | | /// 设备信息 |
| | | /// </summary> |
| | | public partial class DeviceStatusModel |
| | | { |
| | | /// <summary> |
| | | /// 当前数量,叠盘机当前托盘数量 |
| | | /// </summary> |
| | | [JsonProperty("cntrQty")] |
| | | public string CntrQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号或者线体编号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 人工设置状态,1启用,0禁用 |
| | | /// </summary> |
| | | [JsonProperty("manualStatus")] |
| | | public int ManualStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 光电状态,1是有载,0是空载 |
| | | /// </summary> |
| | | [JsonProperty("photoStatus")] |
| | | public int PhotoStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工作状态,1可用,0不可用 |
| | | /// </summary> |
| | | [JsonProperty("workStatus")] |
| | | public int WorkStatus { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 任务下发 |
| | | /// </summary> |
| | |
| | | [JsonProperty("to", NullValueHandling = NullValueHandling.Ignore)] |
| | | public string To { get; set; } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设备信号反馈 |
| | | /// 设备状态切换 |
| | | /// </summary> |
| | | public partial class PutInModel |
| | | public partial class ChangeStatusModel |
| | | { |
| | | /// <summary> |
| | | /// 起点 |
| | | /// 设备编码 |
| | | /// </summary> |
| | | public string startBit { get; set; } |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 模式类型,1:叠托模式/2:拆托模式 |
| | | /// 叠托模式,不需要拆分托盘到入库口。 |
| | | /// 拆托模式,需要拆分托盘到入库口 |
| | | /// </summary> |
| | | [JsonProperty("Type")] |
| | | public string Type { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 修改任务优先级 |
| | | /// </summary> |
| | | public partial class ChangePriorityModel |
| | | { |
| | | /// <summary> |
| | | /// 优先级 |
| | | /// </summary> |
| | | [JsonProperty("priority")] |
| | | public int Priority { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务号 |
| | | /// </summary> |
| | | [JsonProperty("taskNo")] |
| | | public string TaskNo { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 大洋立库接口接收返回参数 |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设备信息返回 |
| | | /// </summary> |
| | | public partial class Result<T> |
| | | public partial class Results<T> |
| | | { |
| | | [JsonProperty("code")] |
| | | public long Code { get; set; } |
| | |
| | | [JsonProperty("msg")] |
| | | public string Msg { get; set; } |
| | | } |
| | | /// <summary> |
| | | /// 设备信息 |
| | | /// </summary> |
| | | public partial class DeviceStatusModel |
| | | |
| | | public partial class Result<T> |
| | | { |
| | | /// <summary> |
| | | /// 当前数量,叠盘机当前托盘数量 |
| | | /// </summary> |
| | | [JsonProperty("cntrQty")] |
| | | public string CntrQty { get; set; } |
| | | [JsonProperty("code")] |
| | | public int Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号或者线体编号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | [JsonProperty("data")] |
| | | public T Data { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 人工设置状态,1启用,0禁用 |
| | | /// </summary> |
| | | [JsonProperty("manualStatus")] |
| | | public int ManualStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 光电状态,1是有载,0是空载 |
| | | /// </summary> |
| | | [JsonProperty("photoStatus")] |
| | | public int PhotoStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工作状态,1可用,0不可用 |
| | | /// </summary> |
| | | [JsonProperty("workStatus")] |
| | | public int WorkStatus { get; set; } |
| | | [JsonProperty("msg")] |
| | | public string Msg { get; set; } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设备信号反馈 |
| | | /// 申请终点 |
| | | /// </summary> |
| | | public partial class EquipmentInfoModel |
| | | public partial class ApplyDestModel |
| | | { |
| | | /// <summary> |
| | | /// 托盘号,可空,多个托盘号可以拼接 |
| | | /// 申请类型,1:堆垛机放货异常申请新终点;2:输送线到达接驳位申请终点; |
| | | /// </summary> |
| | | [JsonProperty("cntrNo")] |
| | | public string CntrNo { get; set; } |
| | | [JsonProperty("applyType")] |
| | | public long ApplyType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号 |
| | | /// </summary> |
| | | [JsonProperty("deviceNo")] |
| | | public string DeviceNo { get; set; } |
| | | |
| | | [JsonProperty("extData")] |
| | | public Dictionary<string, object>[] ExtData { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 货位,上料点、下料点、读码位、称重位 |
| | | /// 当前位置,wcs自行控制托盘到特定的入口时,wms根据位置计算终点 |
| | | /// </summary> |
| | | [JsonProperty("loc")] |
| | | public string Loc { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 请求类型,1:入库申请 |
| | | /// 任务号 |
| | | /// </summary> |
| | | [JsonProperty("signalType")] |
| | | public long SignalType { get; set; } |
| | | [JsonProperty("taskNo")] |
| | | public string TaskNo { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 申请终点返回 |
| | | /// </summary> |
| | | public partial class ReseltApplyDestModel |
| | | { |
| | | [JsonProperty("loc")] |
| | | public string Loc { get; set; } |
| | | } |
| | | public partial class Empty |
| | | { |
| | | |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | |
| | | /// <summary> |