|
|
@ -2182,10 +2182,6 @@ namespace BatCharging.Service
|
|
|
|
model.CMD = 1;
|
|
|
|
model.CMD = 1;
|
|
|
|
model.checksumDomain = 0x01;
|
|
|
|
model.checksumDomain = 0x01;
|
|
|
|
|
|
|
|
|
|
|
|
//CMD1502 CMD = new CMD1502();
|
|
|
|
|
|
|
|
//CMD.reserved1 = 0;
|
|
|
|
|
|
|
|
//CMD.reserved2 = 0;
|
|
|
|
|
|
|
|
//CMD.responseCode = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.dataDomain = GetRCMD1502DataInfo(CMD); //数据域
|
|
|
|
model.dataDomain = GetRCMD1502DataInfo(CMD); //数据域
|
|
|
|
model.LengthDomain = Convert.ToUInt16(9 + model.dataDomain.Length); //报文长度
|
|
|
|
model.LengthDomain = Convert.ToUInt16(9 + model.dataDomain.Length); //报文长度
|
|
|
@ -2225,7 +2221,6 @@ namespace BatCharging.Service
|
|
|
|
|
|
|
|
|
|
|
|
APDUModel model = new APDUModel();
|
|
|
|
APDUModel model = new APDUModel();
|
|
|
|
model.OriginDomain1 = 0xAA;
|
|
|
|
model.OriginDomain1 = 0xAA;
|
|
|
|
model.OriginDomain2 = 0xF5;
|
|
|
|
|
|
|
|
model.infoDomain = 0x02;
|
|
|
|
model.infoDomain = 0x02;
|
|
|
|
model.SerialNumberDomain = 0xff;
|
|
|
|
model.SerialNumberDomain = 0xff;
|
|
|
|
model.CMD = 1;
|
|
|
|
model.CMD = 1;
|
|
|
|