From abf782e4e9d505184652635aa0912781f572f843 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期四, 24 七月 2025 17:26:41 +0800 Subject: [PATCH] 后端实现添加物料绑定货位, 优化货位容器绑定时容器表插入, 多个物料信息记录的功能 --- api/ApiModel.cs | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 58 insertions(+), 2 deletions(-) diff --git a/api/ApiModel.cs b/api/ApiModel.cs index c6eb912..567fccb 100644 --- a/api/ApiModel.cs +++ b/api/ApiModel.cs @@ -139,6 +139,30 @@ public string msg { get; set; } public int orderID { get; set; } } + + public class EmptyGzResult { + + } + + public class agvRealtimeStateReportInfo { + public int agvID { get; set; } + public int agvStatusID { get; set; } + public bool netConnected { get; set; } + public string agv_speed { get; set; } + public object node_information_of_traffic { get; set; } + public int dispatchTaskActive { get; set; } + public double position_x { get; set; } + public double position_y { get; set; } + public double angle { get; set; } + public double battery_percentage { get; set; } + public double safetyTriggered { get; set; } + public bool isBlocked { get; set; } + public bool faultHappened { get; set; } + public bool isCharging { get; set; } + public bool hang_agv { get; set; } + public string extroInfo1 { get; set; } + public string extroInfo2 { get; set; } + } } public class OtherModel { @@ -156,11 +180,19 @@ public string Row { get; set; } } + public class AddCgDetailInfo { + public string LocCode { get; set; } + //public string CntrCode { get; set; } + public string ItemCode { get; set; } + public string ItemName { get; set; } + public string ItemShortDesc { get; set; } + public int ItemCount { get; set; } + } + public class InboundDataInfo { /// <summary> /// 璧风偣璐т綅 /// </summary> - [JsonProperty("StartLoc")] public string StartLoc { get; set; } /// <summary> @@ -170,7 +202,9 @@ public string Row { get; set; } public string ItemCode { get; set; } - //public string ItemName { get; set; } + public string ItemName { get; set; } + public string ItemShortDesc { get; set; } + public int ItemCount { get; set; } } public class SelectLocationInfo { @@ -197,6 +231,19 @@ /// 缁堢偣浣嶇疆 /// </summary> public string endLoc { get; set; } + } + + public class InboundLocInfo { + public string startLoc { get; set; } + public string endLoc { get; set; } + public string ItemCode { get; set; } + public string ItemName { get; set; } + public string ItemShortDesc { get; set; } + public int ItemCount { get; set; } + } + + public class UnbindLocInfo { + public string startLoc { get; set; } } public class CancelTaskInfo { @@ -231,6 +278,11 @@ //public string cntrCode { get; set; } public string locCode { get; set; } public float qty { get; set; } + } + + public class CheckOutboundOnceInfo { + public string cntrCode { get; set; } + public string endLoc { get; set; } } /// <summary> @@ -515,5 +567,9 @@ /// </summary> public string ext5 { get; set; } } + + public class KanbanAgvState { + public string AgvState { get; set; } + } } } -- Gitblit v1.9.1