From 06e0e3b7d61e95902a6129de2490461cd0693e1d Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 15 十月 2025 15:06:40 +0800
Subject: [PATCH] 新增异步方法并优化服务调用逻辑在多个数据库文件中进行了二进制文件的修改、删除和新增操作,可能涉及数据库内容的更新或重建。在 HttpsClient.cs文件中新增了 PostNotLimitAsync方法,用于发送支持 JSON 格式的异步 HTTP POST 请求,并记录请求和响应参数。在 AgingInOrOutInputService.cs文件中,将 HttpsClient.PostAsync替换为PostNotLimitAsync,以利用新方法的功能特性。同时删除了不再需要的注释代码。
---
Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/ProcessParameters/Platform.cs | 33 ++++++++++++++++++++++++++-------
1 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/ProcessParameters/Platform.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/ProcessParameters/Platform.cs
index 7055892..c7391c7 100644
--- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/ProcessParameters/Platform.cs
+++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/ProcessParameters/Platform.cs
@@ -24,7 +24,7 @@
/// </summary>
[ImporterHeader(Name = "绔欏彴缂栧彿锛屽敮涓�鏍囪瘑姣忎釜绔欏彴鐨勭紪鍙�")]
[ExporterHeader(DisplayName = "绔欏彴缂栧彿锛屽敮涓�鏍囪瘑姣忎釜绔欏彴鐨勭紪鍙�")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "绔欏彴缂栧彿锛屽敮涓�鏍囪瘑姣忎釜绔欏彴鐨勭紪鍙�")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴缂栧彿锛屽敮涓�鏍囪瘑姣忎釜绔欏彴鐨勭紪鍙�")]
public string PlatCode { get; set; }
/// <summary>
@@ -32,7 +32,7 @@
/// </summary>
[ImporterHeader(Name = "绔欏彴鍚嶇О")]
[ExporterHeader(DisplayName = "绔欏彴鍚嶇О")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "绔欏彴鍚嶇О")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴鍚嶇О")]
public string PlatformName { get; set; }
/// <summary>
@@ -40,7 +40,7 @@
/// </summary>
[ImporterHeader(Name = "瀵瑰簲鍫嗗灈鏈�")]
[ExporterHeader(DisplayName = "瀵瑰簲鍫嗗灈鏈�")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀵瑰簲鍫嗗灈鏈�")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀵瑰簲鍫嗗灈鏈�")]
public string Stacker { get; set; }
/// <summary>
@@ -48,7 +48,7 @@
/// </summary>
[ImporterHeader(Name = "鎵ц鏂规硶")]
[ExporterHeader(DisplayName = "鎵ц鏂规硶")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵ц鏂规硶")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鎵ц鏂规硶")]
public string ExecutionMethod { get; set; }
/// <summary>
@@ -56,7 +56,7 @@
/// </summary>
[ImporterHeader(Name = "绔欏彴绫诲瀷")]
[ExporterHeader(DisplayName = "绔欏彴绫诲瀷")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "绔欏彴绫诲瀷")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴绫诲瀷")]
public string PlatformType { get; set; }
/// <summary>
@@ -64,8 +64,8 @@
/// </summary>
[ImporterHeader(Name = "瀵瑰簲PLC缂栧彿")]
[ExporterHeader(DisplayName = "瀵瑰簲PLC缂栧彿")]
- [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀵瑰簲PLC缂栧彿")]
- public string PLCCode { get; set; }
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀵瑰簲PLC缂栧彿")]
+ public string DeviceCode { get; set; }
/// <summary>
/// 绔欏彴浣嶇疆
@@ -90,5 +90,24 @@
[ExporterHeader(DisplayName = "绔欏彴鐘舵��")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴鐘舵��")]
public string Status { get; set; } = "Active";
+
+
+ /// <summary>
+ /// 鐢熶骇浜х嚎
+ /// </summary>
+ [ImporterHeader(Name = "鐢熶骇浜х嚎")]
+ [ExporterHeader(DisplayName = "鐢熶骇浜х嚎")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鐢熶骇浜х嚎")]
+ public string ProductionLine { get; set; }
+
+ /// <summary>
+ /// 宸烽亾
+ /// </summary>
+ [ImporterHeader(Name = "宸烽亾")]
+ [ExporterHeader(DisplayName = "宸烽亾")]
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "宸烽亾")]
+ public string Roadway { get; set; }
+
+
}
}
--
Gitblit v1.9.3