From d46fa988fc4b8f6f230a7d46388b4abdc085ab1a Mon Sep 17 00:00:00 2001 From: rszn <645583145@qq.com> Date: Mon, 17 Jun 2024 18:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E4=B8=A2=E5=A4=B1bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/Codec/Decoder.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Service/Charger/Codec/Decoder.cs b/Service/Charger/Codec/Decoder.cs index 99ff833..4afc699 100644 --- a/Service/Charger/Codec/Decoder.cs +++ b/Service/Charger/Codec/Decoder.cs @@ -71,7 +71,6 @@ public class Decoder : ByteToMessageDecoder ASDU asdu = Parse(buffer, totalFrameLength, delimiter, out data); Log(chargerSn).Info($"receive {BitUtls.BytesToHexStr(data)}:{JsonConvert.SerializeObject(asdu)} from {chargerSn}"); output.Add(asdu); - buffer.Clear(); } catch (Exception e) {