消息丢失bug修复

zw
rszn 5 months ago
parent c2346c594f
commit d46fa988fc

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

Loading…
Cancel
Save