mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
bugfix 电池算法应用平台Service
This commit is contained in:
@@ -244,12 +244,12 @@ public class ChargeAlgorithmService {
|
|||||||
detailInfo.setDcv(realTimeData_0x23.getPileVoltageOutput());
|
detailInfo.setDcv(realTimeData_0x23.getPileVoltageOutput());
|
||||||
detailInfo.setDca(new BigDecimal(realTimeData_0x23.getPileCurrentOutput()).toBigInteger().toString());
|
detailInfo.setDca(new BigDecimal(realTimeData_0x23.getPileCurrentOutput()).toBigInteger().toString());
|
||||||
detailInfo.setBmsDemandVoltage(realTimeData_0x23.getBmsVoltageDemand());
|
detailInfo.setBmsDemandVoltage(realTimeData_0x23.getBmsVoltageDemand());
|
||||||
detailInfo.setBmsDemandElectricity(realTimeData_0x23.getBmsCurrentDemand());
|
detailInfo.setBmsDemandElectricity(new BigDecimal(realTimeData_0x23.getBmsCurrentDemand()).toBigInteger().toString());
|
||||||
detailInfo.setChargePower(realTimeData_0x23.getOutputPower());
|
detailInfo.setChargePower(realTimeData_0x23.getOutputPower());
|
||||||
detailInfo.setSingleMaxVoltage(parameterConfigData.getPileMaxOutputVoltage());
|
detailInfo.setSingleMaxVoltage(parameterConfigData.getPileMaxOutputVoltage());
|
||||||
detailInfo.setSingleMinVoltage(parameterConfigData.getPileMinOutputVoltage());
|
detailInfo.setSingleMinVoltage(parameterConfigData.getPileMinOutputVoltage());
|
||||||
|
|
||||||
detailInfo.setMeasuringChargeVoltage(realTimeData_0x23.getBmsChargingVoltage());
|
detailInfo.setMeasuringChargeVoltage(new BigDecimal(realTimeData_0x23.getBmsChargingVoltage()).toBigInteger().toString());
|
||||||
detailInfo.setMeasuringChargeElectricity(new BigDecimal(realTimeData_0x23.getBmsChargingCurrent()).toBigInteger().toString());
|
detailInfo.setMeasuringChargeElectricity(new BigDecimal(realTimeData_0x23.getBmsChargingCurrent()).toBigInteger().toString());
|
||||||
detailInfo.setMaxSingleVoltageGroupNum(new BigDecimal(realTimeData_0x23.getBmsMaxVoltageAndGroup()).intValue());
|
detailInfo.setMaxSingleVoltageGroupNum(new BigDecimal(realTimeData_0x23.getBmsMaxVoltageAndGroup()).intValue());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user