diff --git a/Service/Charger/Msg/Charger/Req/BasicParameter.cs b/Service/Charger/Msg/Charger/Req/BasicParameter.cs index c603155..1510026 100644 --- a/Service/Charger/Msg/Charger/Req/BasicParameter.cs +++ b/Service/Charger/Msg/Charger/Req/BasicParameter.cs @@ -31,63 +31,78 @@ namespace Service.Charger.Msg.Charger.Req /// /// 电池编码 /// - public byte BatteryCode { get; set; } + [Property(32, 24, PropertyReadConstant.Byte)] + public byte[] BatteryCode { get; set; } /// /// 产权标识 /// + [Property(224, 8)] public byte TitleMarke { get; set; } /// /// 电池成组厂商 /// - public byte Batterymanufacturers { get; set; } + [Property(232, 32)] + public string Batterymanufacturers { get; set; } /// /// 电池成组生产日期:年 /// + [Property(264, 8)] public byte GroupYear { get; set; } /// /// 电池成组生产日期:月 /// + [Property(272, 8)] public byte GroupMonth { get; set; } /// /// 电池成组生产日期:日 /// + [Property(280, 8)] public byte GroupDay { get; set; } /// /// 电池电芯生产厂商 /// - public byte BatteryManufacturer { get; set; } + [Property(288, 32)] + public byte[] BatteryManufacturer { get; set; } /// /// 电池电芯生产日期:年 /// + [Property(320, 8)] public byte CellYear { get; set; } /// /// 电池电芯生产日期:月 /// + [Property(328, 8)] public byte CellMonth { get; set; } /// /// 电池电芯生产日期:日 /// + [Property(336, 8)] public byte CellDay { get; set; } /// /// 电池箱电子控制单元生产厂商 /// - public byte Manufacturer { get; set; } + [Property(344, 32)] + public byte[] Manufacturer { get; set; } /// /// 电池箱电子控制单元硬件版本 /// + [Property(376, 8)] public byte HardwareVersion { get; set; } /// /// 电池箱电子控制单元软件版本 /// + [Property(384, 8)] public byte SoftwareVersion { get; set; } /// /// 电池包序列号 /// - public byte SerialNumber { get; set; } + [Property(392, 32)] + public byte[] SerialNumber { get; set; } /// /// 电池包型号 /// - public byte ModelNumber { get; set; } + [Property(424, 64)] + public byte[] ModelNumber { get; set; } }