日志清理

master
rszn 5 months ago
parent 4e8aceadbd
commit ad2d7cd840

@ -33,8 +33,6 @@ public class Decoder : ByteToMessageDecoder
Log.Info($"receive {BitUtls.BytesToHexStr(bytes)}"); Log.Info($"receive {BitUtls.BytesToHexStr(bytes)}");
int id = BitConverter.ToInt32(new byte[] { bytes[3], bytes[2], bytes[1], bytes[0] }, 0); int id = BitConverter.ToInt32(new byte[] { bytes[3], bytes[2], bytes[1], bytes[0] }, 0);
Log.Info(
$"receive id={id} {BitUtls.BytesToHexStr(BitConverter.GetBytes(0x1882D0F3))} {BitUtls.BytesToHexStr(BitConverter.GetBytes(4090528280))}");
BaseMsg baseMsg = id switch BaseMsg baseMsg = id switch
{ {
0x1882D0F3 => ModelConvert.Decode<SocMsg>(bytes), 0x1882D0F3 => ModelConvert.Decode<SocMsg>(bytes),

Loading…
Cancel
Save