Compare commits

...

2 Commits

@ -1208,6 +1208,7 @@ namespace BatCharging.Service
{
//todo 实例化CMD201对象
CMD201 cMD201 = new CMD201();
cMD201.value04 = "0";
//201中其他字段如何赋值
cMD201.value05 = CMD202.value17;

@ -668,7 +668,7 @@ namespace BatCharging.Service
lstContent.AddRange(BitConverter.GetBytes(CMD.value01));
lstContent.AddRange(BitConverter.GetBytes(CMD.value02));
lstContent.AddRange(BitConverter.GetBytes(CMD.value03));
lstContent.AddRange(ByteUtils.ToByteByHexStr(CMD.value04));
lstContent.AddRange(ByteUtils.ToByteByHexStr32(CMD.value04,32));
lstContent.AddRange(BitConverter.GetBytes(CMD.value05));
lstContent.AddRange(BitConverter.GetBytes(CMD.value06));
lstContent.AddRange(BitConverter.GetBytes(CMD.value07));

Loading…
Cancel
Save