|
|
@ -11,6 +11,7 @@ using Service.Charger.Msg.Bms;
|
|
|
|
using Service.Charger.Msg.Charger.Req;
|
|
|
|
using Service.Charger.Msg.Charger.Req;
|
|
|
|
using Service.Charger.Msg.Charger.Resp;
|
|
|
|
using Service.Charger.Msg.Charger.Resp;
|
|
|
|
using Service.Charger.Msg.Host.Req;
|
|
|
|
using Service.Charger.Msg.Host.Req;
|
|
|
|
|
|
|
|
using static System.Net.Mime.MediaTypeNames;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Service.Charger.Codec;
|
|
|
|
namespace Service.Charger.Codec;
|
|
|
|
|
|
|
|
|
|
|
@ -140,6 +141,7 @@ public class Decoder : ByteToMessageDecoder
|
|
|
|
50 => ModelConvert.Decode<SdUpPkFtValSet>(bytes),
|
|
|
|
50 => ModelConvert.Decode<SdUpPkFtValSet>(bytes),
|
|
|
|
52 => ModelConvert.Decode<AuthVINRes>(bytes),
|
|
|
|
52 => ModelConvert.Decode<AuthVINRes>(bytes),
|
|
|
|
75 => ModelConvert.Decode<UploadModuleStatus>(bytes),
|
|
|
|
75 => ModelConvert.Decode<UploadModuleStatus>(bytes),
|
|
|
|
|
|
|
|
80 => new Test(),
|
|
|
|
81 => ModelConvert.Decode<RemoteSignaling>(bytes),
|
|
|
|
81 => ModelConvert.Decode<RemoteSignaling>(bytes),
|
|
|
|
82 => ModelConvert.Decode<BatteryPackData>(bytes),
|
|
|
|
82 => ModelConvert.Decode<BatteryPackData>(bytes),
|
|
|
|
83 => ModelConvert.Decode<BatteryPackDataVoltage>(bytes),
|
|
|
|
83 => ModelConvert.Decode<BatteryPackDataVoltage>(bytes),
|
|
|
@ -212,6 +214,7 @@ public class Decoder : ByteToMessageDecoder
|
|
|
|
57 => ModelConvert.Decode<CscSumVolt>(bytes),
|
|
|
|
57 => ModelConvert.Decode<CscSumVolt>(bytes),
|
|
|
|
58 => ModelConvert.Decode<CscSumTemp>(bytes),
|
|
|
|
58 => ModelConvert.Decode<CscSumTemp>(bytes),
|
|
|
|
59 => ModelConvert.Decode<TimingInfo>(bytes),
|
|
|
|
59 => ModelConvert.Decode<TimingInfo>(bytes),
|
|
|
|
|
|
|
|
62 => new Test(),
|
|
|
|
81 => ModelConvert.Decode<QueryBatterySnRes>(bytes),
|
|
|
|
81 => ModelConvert.Decode<QueryBatterySnRes>(bytes),
|
|
|
|
142 => ModelConvert.Decode<BattenergyInfo1>(bytes),
|
|
|
|
142 => ModelConvert.Decode<BattenergyInfo1>(bytes),
|
|
|
|
143 => ModelConvert.Decode<BattenergyInfo2>(bytes),
|
|
|
|
143 => ModelConvert.Decode<BattenergyInfo2>(bytes),
|
|
|
|