From 1ae875606f75721ea8440936f99272dc03b2243e Mon Sep 17 00:00:00 2001 From: zenghongyao <873884283@qq.com> Date: Wed, 7 May 2025 11:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AnalysisData/DataStorage.cs | 2 +- .../T37612012ProtocolPlugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/JiShe.CollectBus.Protocol.T37612012/AnalysisData/DataStorage.cs b/protocols/JiShe.CollectBus.Protocol.T37612012/AnalysisData/DataStorage.cs index be655fc..06ab962 100644 --- a/protocols/JiShe.CollectBus.Protocol.T37612012/AnalysisData/DataStorage.cs +++ b/protocols/JiShe.CollectBus.Protocol.T37612012/AnalysisData/DataStorage.cs @@ -319,7 +319,7 @@ namespace JiShe.CollectBus.Protocol.T37612012.AnalysisData DeviceType = $"{data.DeviceType}.{IOTDBDataType.Status}", ProjectId = $"{data.ProjectId}", Timestamps = timestamps, - SingleMeasuring = new Tuple(ConcentratorStatusFieldConst.FrameData, (analysisBaseDto.HexMessage ?? string.Empty).Replace(" ","") ) + SingleMeasuring = new Tuple(ConcentratorStatusFieldConst.FrameData, analysisBaseDto.HexMessage ?? string.Empty ) }; _runtimeContext.UseTableSessionPool = false; // 使树模型池 diff --git a/protocols/JiShe.CollectBus.Protocol.T37612012/T37612012ProtocolPlugin.cs b/protocols/JiShe.CollectBus.Protocol.T37612012/T37612012ProtocolPlugin.cs index 867971e..b8568d4 100644 --- a/protocols/JiShe.CollectBus.Protocol.T37612012/T37612012ProtocolPlugin.cs +++ b/protocols/JiShe.CollectBus.Protocol.T37612012/T37612012ProtocolPlugin.cs @@ -394,7 +394,7 @@ namespace JiShe.CollectBus.Protocol.T37612012 { HexMessageList = hexStringList }; - baseHexMessage.HexMessageString = string.Join(" ", baseHexMessage.HexMessageList); + baseHexMessage.HexMessageString = string.Join("", baseHexMessage.HexMessageList); TB3761 tB3761 = new TB3761 { BaseHexMessage=baseHexMessage,