From 7c708f741f0d07a1508a31c85b4390fe9f0aeda5 Mon Sep 17 00:00:00 2001 From: CZ Date: Tue, 28 May 2024 19:49:43 +0800 Subject: [PATCH] =?UTF-8?q?3.6.2.2=20=E5=85=85=E6=94=BE=E7=94=B5=E6=9C=BA?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9F=BA=E6=9C=AC=E5=8F=82=E6=95=B0=202?= =?UTF-8?q?=EF=BC=88PGN:0x00F802=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Charger/Msg/Charger/Req/BasicParameter.cs | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) 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; } }