forked from gary/BCU
2
0
Fork 0

解决了mqtt上传信息中,总压告警缺失的问题,并核对了一遍告警上传的部分

This commit is contained in:
Carl 2025-05-16 10:26:41 +08:00
parent 05a9411a6c
commit d697ad7e5f
1 changed files with 3 additions and 3 deletions

View File

@ -86,19 +86,19 @@ uint32_t bms_get_baseInfo(uint16_t input)
tmp = (uint32_t)bms_get_soc() * get_eeprom_data(kEep_RatedCapacity, kEepromDataType_Full)/10000*get_eeprom_data(kEep_RatedTotalVolt, kEepromDataType_Full)/10000;
return tmp;
case 11:
tmp = bms_get_bmu_num();
tmp = bms_get_bmu_num(); //电池总数
return tmp;
case 12:
tmp = bms_get_bmu_online_num();
return tmp;
case 13:
tmp = bms_get_cell_num();
tmp = bms_get_cell_num(); //电芯总数
return tmp;
case 14:
tmp = bms_get_statistic_data(kStatisticData_OnlineCellNum);
return tmp;
case 15:
tmp = bms_get_temp_num();
tmp = bms_get_temp_num(); //温感总数
return tmp;
case 16:
tmp = bms_get_statistic_data(kStatisticData_OnlineTempNum);