提交 79e35701 作者: wysheng

抢座状态检测

上级 502d8fd1
...@@ -2457,7 +2457,9 @@ void InformationReporting_22_A(void) ...@@ -2457,7 +2457,9 @@ void InformationReporting_22_A(void)
InformainReport_A.InfRe.DCModComm = PillarError.Value.NoDcmod; InformainReport_A.InfRe.DCModComm = PillarError.Value.NoDcmod;
InformainReport_A.InfRe.DCModFan = 0; InformainReport_A.InfRe.DCModFan = 0;
InformainReport_A.InfRe.CCConnect = !CcStatusRead(); InformainReport_A.InfRe.CCConnect = !CcStatusRead();
InformainReport_A.InfRe.InsertGunSta = !GunStatusGet(); InformainReport_A.InfRe.InsertGunSta = 1;
if(!CcStatusRead() && (ChargeCtrl.CurProcess == eChgPro_ChgIdle))
InformainReport_A.InfRe.InsertGunSta = !GunStatusGet();
InformainReport_A.InfRe.DcOutContSta = DcOutPosGetSet(); InformainReport_A.InfRe.DcOutContSta = DcOutPosGetSet();
InformainReport_A.InfRe.ElectLock = LockGet(); InformainReport_A.InfRe.ElectLock = LockGet();
...@@ -2586,7 +2588,9 @@ void InformationReporting_22_B(void) ...@@ -2586,7 +2588,9 @@ void InformationReporting_22_B(void)
InformainReport_B.InfRe.DCModComm = PillarError_B.Value.NoDcmod; InformainReport_B.InfRe.DCModComm = PillarError_B.Value.NoDcmod;
InformainReport_B.InfRe.DCModFan = 0; InformainReport_B.InfRe.DCModFan = 0;
InformainReport_B.InfRe.CCConnect = !CcStatusRead_B(); InformainReport_B.InfRe.CCConnect = !CcStatusRead_B();
InformainReport_B.InfRe.InsertGunSta = !GunStatusGet_B(); InformainReport_B.InfRe.InsertGunSta = 1;
if(!CcStatusRead_B() && (ChargeCtrl_B.CurProcess == eChgPro_ChgIdle))
InformainReport_B.InfRe.InsertGunSta = !GunStatusGet_B();
InformainReport_B.InfRe.DcOutContSta = DcOutPosGetSet_B(); InformainReport_B.InfRe.DcOutContSta = DcOutPosGetSet_B();
InformainReport_B.InfRe.ElectLock = LockGet_B(); InformainReport_B.InfRe.ElectLock = LockGet_B();
...@@ -3140,6 +3144,33 @@ void VehicleVerificationHandle(void) ...@@ -3140,6 +3144,33 @@ void VehicleVerificationHandle(void)
} }
/*
1 设备名称 ASCII码 32Byte
2 充电桩设备型号 BIN 2Byte
3 设备类型 BIN 1Byte
4 设备序列号 ASCII码 32Byte
5 设备厂商编码 BIN 4Byte
6 设备控制器硬件版本 BIN 2Byte
7 设备控制器软件版本 BIN 3Byte
8 设备控制器软件日期 BIN 4Byte
9 设备控制器软件校验码 BIN 16Byte
10 设备运行模式 BIN 1Byte
11 设备通信地址(充电主控模块与计费控制单元) BIN 1Byte
12 设备通信超时时间(充电主控模块与计费控制单元) BIN 1Byte
13 设备通信协议版本号(充电主控模块与计费控制单元) BIN 2Byte
14 设备通信地址(充电主控模块与功率控制模块) BIN 1Byte
15 设备通信超时时间(充电主控模块与功率控制模块) BIN 1Byte
16 设备通信协议版本号(充电主控模块与功率控制模块) BIN 2Byte
17 充电桩额定输出电压 BIN 2Byte
18 充电桩额定输出电流 BIN 2Byte
19 充电桩最高输出电压 BIN 2Byte
20 充电桩最低输出电压 BIN 2Byte
21 充电桩最大输出电流 BIN 2Byte
22 充电桩最小输出电流 BIN 2Byte
23 BMS协议版本 BIN 1 Byte
24 遥信报文上送周期 BIN 1Byte
25 遥测报文上送周期 BIN 1Byte
*/
u8 TCUValueSetAddr = 0; u8 TCUValueSetAddr = 0;
void TCUValueSetHandle(StructTCUSend * pPgnRecv) void TCUValueSetHandle(StructTCUSend * pPgnRecv)
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论