From 3091217d4f4ccecde578ef1abddd810094bfc6bc Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 10 10月 2025 13:39:32 +0800
Subject: [PATCH] 增加字段
---
DEmon/iWareCc/Conveyor/Service/GateService.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/DEmon/iWareCc/Conveyor/Service/GateService.cs b/DEmon/iWareCc/Conveyor/Service/GateService.cs
index 9704f8b..0c289d8 100644
--- a/DEmon/iWareCc/Conveyor/Service/GateService.cs
+++ b/DEmon/iWareCc/Conveyor/Service/GateService.cs
@@ -327,7 +327,7 @@
GateDatagramProp prop = new GateDatagramAnalyze().SCAnalyze(ASCIIEncoding.ASCII.GetBytes(msg));
if (!string.IsNullOrEmpty(prop.MaterialCode))
{
- GateEntity.RCheckMaterialCode = prop.MaterialCode.Trim();
+ GateEntity.RCheckMaterialCode = prop.MaterialCode.Replace("\r","").Replace("\0","").Trim();
}
}
catch (Exception ex)
--
Gitblit v1.9.3