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_Model/Models/BasicInfo/Dt_StationManager.cs | 56 +++++++++++++++++++++++++++-----------------------------
1 files changed, 27 insertions(+), 29 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Model/Models/BasicInfo/Dt_StationManager.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Model/Models/BasicInfo/Dt_StationManager.cs"
index c337849..47ea202 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Model/Models/BasicInfo/Dt_StationManager.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Model/Models/BasicInfo/Dt_StationManager.cs"
@@ -30,47 +30,47 @@
[ImporterHeader(Name = "涓婚敭")]
[ExporterHeader(DisplayName = "涓婚敭")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
- public int stationID { get; set; }
+ public int StationID { get; set; }
/// <summary>
/// 绔欏彴绫诲瀷
/// </summary>
[ImporterHeader(Name = "绔欏彴绫诲瀷")]
[ExporterHeader(DisplayName = "绔欏彴绫诲瀷")]
- [SugarColumn(IsNullable = false, ColumnDescription = "绔欏彴绫诲瀷")]
- public int stationType { get; set; }
+ [SugarColumn(IsNullable = true, ColumnDescription = "绔欏彴绫诲瀷")]
+ public int StationType { get; set; }
/// <summary>
- /// 鎵�灞濸LC
+ /// 闆朵欢鍙峰湴鍧�
/// </summary>
- [ImporterHeader(Name = "鎵�灞濸LC")]
- [ExporterHeader(DisplayName = "鎵�灞濸LC")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵�灞濸LC")]
- public string stationDeviceCode { get; set; }
+ [ImporterHeader(Name = "闆朵欢鍙峰湴鍧�")]
+ [ExporterHeader(DisplayName = "闆朵欢鍙峰湴鍧�")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "闆朵欢鍙峰湴鍧�")]
+ public string StationDeviceCode { get; set; }
/// <summary>
/// 宸烽亾鍙�
/// </summary>
[ImporterHeader(Name = "宸烽亾鍙�")]
[ExporterHeader(DisplayName = "宸烽亾鍙�")]
- [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "宸烽亾鍙�")]
+ [SugarColumn(IsNullable = true, Length = 10, ColumnDescription = "宸烽亾鍙�")]
public string Roadway { get; set; }
/// <summary>
- /// 澶囨敞
+ /// 鏀剧疆鎵樼洏鐮� 澶囨敞
/// </summary>
[ImporterHeader(Name = "澶囨敞")]
[ExporterHeader(DisplayName = "澶囨敞")]
- [SugarColumn(IsNullable = false, ColumnDescription = "澶囨敞")]
- public string stationRemark { get; set; }
+ [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")]
+ public string StationRemark { get; set; }
/// <summary>
- /// 绾夸綋缂栧彿(瀛愯澶囩紪鍙�)
+ /// 鍙枡鍙峰湴鍧�
/// </summary>
- [ImporterHeader(Name = "绾夸綋缂栧彿(瀛愯澶囩紪鍙�)")]
- [ExporterHeader(DisplayName = "绾夸綋缂栧彿(瀛愯澶囩紪鍙�)")]
- [SugarColumn(IsNullable = false, ColumnDescription = "绾夸綋缂栧彿(瀛愯澶囩紪鍙�)")]
- public string stationChildCode { get; set; }
+ [ImporterHeader(Name = "鍙枡鍙峰湴鍧�")]
+ [ExporterHeader(DisplayName = "鍙枡鍙峰湴鍧�")]
+ [SugarColumn(IsNullable = true, ColumnDescription = "鍙枡鍙峰湴鍧�")]
+ public string StationChildCode { get; set; }
/// <summary>
/// 璁惧鍖哄煙
@@ -78,7 +78,7 @@
[ImporterHeader(Name = "璁惧鍖哄煙")]
[ExporterHeader(DisplayName = "璁惧鍖哄煙")]
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧鍖哄煙")]
- public string stationArea { get; set; }
+ public string StationArea { get; set; }
/// <summary>
/// 鍧愭爣鍦板潃
@@ -86,9 +86,15 @@
[ImporterHeader(Name = "鍧愭爣鍦板潃")]
[ExporterHeader(DisplayName = "鍧愭爣鍦板潃")]
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍧愭爣鍦板潃")]
- public string stationLocation { get; set; }
+ public string StationLocation { get; set; }
- public string remark { get; set; }
+ /// <summary>
+ /// 澶囨敞
+ /// </summary>
+ [ImporterHeader(Name = "澶囨敞")]
+ [ExporterHeader(DisplayName = "澶囨敞")]
+ [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "澶囨敞")]
+ public string Remark { get; set; }
/// <summary>
/// 璁惧鐘舵��
@@ -96,15 +102,7 @@
[ImporterHeader(Name = "璁惧鐘舵��")]
[ExporterHeader(DisplayName = "璁惧鐘舵��")]
[SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "璁惧鐘舵��")]
- public string stationStatus { get; set; }
-
- /// <summary>
- /// 妤煎眰
- /// </summary>
- [ImporterHeader(Name = "妤煎眰")]
- [ExporterHeader(DisplayName = "妤煎眰")]
- [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "妤煎眰")]
- public string stationFloor { get; set; }
+ public string StationStatus { get; set; }
}
}
--
Gitblit v1.9.3