From 9376389dbf19d202f766a4fe47cf80dfe4db4f42 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期四, 30 四月 2026 11:47:19 +0800
Subject: [PATCH] 规范读取modbus,增加容器出入场调接口
---
项目代码/WIDESEA_WCSServer/WIDESEAWCS_DTO/PDA/ContainerbindingDTO.cs | 93 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 93 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_DTO/PDA/ContainerbindingDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_DTO/PDA/ContainerbindingDTO.cs"
index 3c6c03f..09853b0 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_DTO/PDA/ContainerbindingDTO.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_DTO/PDA/ContainerbindingDTO.cs"
@@ -1,5 +1,6 @@
锘縰sing System;
using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -35,4 +36,96 @@
{
}
+ /// <summary>
+ /// 瀹瑰櫒鍏ュ満璇锋眰鍙傛暟
+ /// </summary>
+ public class ContainerInDTO
+ {
+ /// <summary>
+ /// 璇锋眰 id锛屽箓绛� uuid32 浣�
+ /// </summary>
+ public string requestId { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒绫诲瀷
+ /// 璐ф灦锛歊ACK
+ /// 鏂欑锛欱IN(鏆傛湭瀹炵幇)
+ /// </summary>
+ public string containerType { get; set; } = "RACK";
+
+ /// <summary>
+ /// 瀹瑰櫒妯″瀷缂栫爜
+ /// 褰� isNew=true 鏃跺繀浼�
+ /// </summary>
+ public string containerModelCode { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒缂栧彿
+ /// </summary>
+ public string containerCode { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒鍏ュ満瑙掑害
+ /// 璐ф灦鍏ュ満鏃跺瑙掑害鏈夌壒娈婅姹�
+ /// </summary>
+ public string enterOrientation { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒褰撳墠瀵瑰簲浣嶇疆
+ /// </summary>
+ public string position { get; set; }
+
+ /// <summary>
+ /// 鏄惁鏂板瀹瑰櫒
+ /// 榛樿鍊硷細false
+ /// </summary>
+ public bool? isNew { get; set; } = false;
+
+ /// <summary>
+ /// 瀹瑰櫒鏍¢獙鐮�
+ /// 褰� isNew=true 鏃跺彲浠ユ寚瀹氭槸鍚﹂厤缃�
+ /// </summary>
+ public string containerValidationCode { get; set; }
+
+ /// <summary>
+ /// 鏄惁閰嶇疆瀹瑰櫒榛樿鏍¢獙鐮�
+ /// 榛樿鍊硷細false
+ /// 褰� isNew=true 鏃堕厤缃鍣ㄩ粯璁ゆ牎楠岀爜锛堝悓瀹瑰櫒缂栧彿锛�
+ /// </summary>
+ public bool? withDefaultValidationCode { get; set; } = false;
+ }
+ /// <summary>
+ /// 瀹瑰櫒鍑哄満璇锋眰鍙傛暟
+ /// </summary>
+ public class ContainerOutDTO
+ {
+ /// <summary>
+ /// 璇锋眰 id锛屽箓绛� uuid32 浣�
+ /// </summary>
+ public string requestId { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒绫诲瀷
+ /// 璐ф灦锛歊ACK
+ /// 鏂欑锛欱IN(鏆傛湭瀹炵幇)
+ /// 榛樿鍊硷細RACK
+ /// </summary>
+ public string containerType { get; set; } = "RACK";
+
+ /// <summary>
+ /// 瀹瑰櫒缂栧彿
+ /// </summary>
+ public string containerCode { get; set; }
+
+ /// <summary>
+ /// 瀹瑰櫒鍑哄満浣嶇疆
+ /// </summary>
+ public string position { get; set; }
+
+ /// <summary>
+ /// 鍑哄満鍚庢槸鍚﹀垹闄�
+ /// 榛樿鍊硷細false
+ /// </summary>
+ public bool isDelete { get; set; } = false;
+ }
}
--
Gitblit v1.9.3