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) {