diff --git a/APP/businessLogic/Src/bl_usart.c b/APP/businessLogic/Src/bl_usart.c index 5d9d94c..2898964 100644 --- a/APP/businessLogic/Src/bl_usart.c +++ b/APP/businessLogic/Src/bl_usart.c @@ -3203,7 +3203,7 @@ BOOL analysisBatteryStatusHY(void) temp = getDischargCurrent(); memcpy(replay_pack, &temp, sizeof(float)); replay_pack += 4; - //充电电流 + //充电电流1 // *(float *)(replay_pack) = getChargCurrent(); temp = getChargCurrent(); memcpy(replay_pack, &temp, sizeof(float)); @@ -3213,26 +3213,28 @@ BOOL analysisBatteryStatusHY(void) temp = getSOC(); memcpy(replay_pack, &temp, sizeof(float)); replay_pack += 4; - //充电开路电压 + //充电开路电压1 // *(float *)(replay_pack) = getSolarOpenCircuitVoltage(); temp = getSolarOpenCircuitVoltage(); memcpy(replay_pack, &temp, sizeof(float)); replay_pack += 4; - //充电开关状态 + //充电开关状态1 *(replay_pack) = getChargMosState(); replay_pack += 1; - //充电电流 + //充电电流2 // *(float *)(replay_pack) = getChargCurrent(); - temp = getChargCurrent(); + // temp = getChargCurrent(); + temp = 0; memcpy(replay_pack, &temp, sizeof(float)); replay_pack += 4; - //充电开路电压 + //充电开路电压2 // *(float *)(replay_pack) = getSolarOpenCircuitVoltage(); - temp = getSolarOpenCircuitVoltage(); + // temp = getSolarOpenCircuitVoltage(); + temp = 0; memcpy(replay_pack, &temp, sizeof(float)); replay_pack += 4; - //充电开关状态 - *(replay_pack) = getChargMosState(); + //充电开关状态2 + *(replay_pack) = 0x00; replay_pack += 1; //工作温度 // *(float *)(replay_pack) = getHighSideMosTemperature();