diff --git a/ems-system/src/main/java/com/xzzn/ems/domain/EmsBatteryStack.java b/ems-system/src/main/java/com/xzzn/ems/domain/EmsBatteryStack.java index 82409b9..989c612 100644 --- a/ems-system/src/main/java/com/xzzn/ems/domain/EmsBatteryStack.java +++ b/ems-system/src/main/java/com/xzzn/ems/domain/EmsBatteryStack.java @@ -11,7 +11,7 @@ import com.xzzn.common.annotation.Excel; * 电池堆数据对象 ems_battery_stack * * @author xzzn - * @date 2025-06-29 + * @date 2025-07-02 */ public class EmsBatteryStack extends BaseEntity { @@ -20,193 +20,173 @@ public class EmsBatteryStack extends BaseEntity /** */ private Long id; - /** 工作状态 */ - @Excel(name = "工作状态") + /** 工作状态:0-正常 1-异常 2-停止 */ + @Excel(name = "工作状态:0-正常 1-异常 2-停止") private String workStatus; - /** 与PCS通信状态 */ - @Excel(name = "与PCS通信状态") + /** 与PCS通信状态:0-正常 1-通信中断 2-异常 */ + @Excel(name = "与PCS通信状态:0-正常 1-通信中断 2-异常") private String pcsCommunicationStatus; - /** 与EMS通信状态 */ - @Excel(name = "与EMS通信状态") + /** 与EMS通信状态:0-正常 1-通信中断 2-异常 */ + @Excel(name = "与EMS通信状态:0-正常 1-通信中断 2-异常") private String emsCommunicationStatus; - /** 电池堆总电压 (V) */ - @Excel(name = "电池堆总电压 (V)") - private BigDecimal totalVoltage; + /** 电操状态 */ + @Excel(name = "电操状态") + private String operationStatus; - /** 可充电量 (kWh) */ - @Excel(name = "可充电量 (kWh)") - private BigDecimal chargeableCapacity; + /** 电池堆电压/V */ + @Excel(name = "电池堆电压/V") + private BigDecimal stackVoltage; - /** 累计充电量 (kWh) */ - @Excel(name = "累计充电量 (kWh)") - private BigDecimal totalChargedCapacity; + /** 电池堆电流/A */ + @Excel(name = "电池堆电流/A") + private BigDecimal stackCurrent; - /** 电池堆总电流 (A) */ - @Excel(name = "电池堆总电流 (A)") - private BigDecimal totalCurrent; + /** 电池堆SOC/% */ + @Excel(name = "电池堆SOC/%") + private BigDecimal stackSoc; - /** 可放电量 (kWh) */ - @Excel(name = "可放电量 (kWh)") - private BigDecimal dischargeableCapacity; + /** 电池堆SOH/% */ + @Excel(name = "电池堆SOH/%") + private BigDecimal stackSoh; - /** 累计放电量 (kWh) */ - @Excel(name = "累计放电量 (kWh)") - private BigDecimal totalDischargedCapacity; - - /** SOH (%) */ - @Excel(name = "SOH (%)") - private BigDecimal soh; - - /** 平均温度 (℃) */ - @Excel(name = "平均温度 (℃)") - private BigDecimal averageTemperature; - - /** 绝缘电阻 (Ω) */ - @Excel(name = "绝缘电阻 (Ω)") - private BigDecimal insulationResistance; - - /** 当前SOC (%) */ - @Excel(name = "当前SOC (%)") - private BigDecimal currentSoc; - - /** 站点id */ - @Excel(name = "站点id") - private String siteId; - - /** 设备唯一标识符 */ - @Excel(name = "设备唯一标识符") - private String deviceId; - - /** 允许充电最大功率 */ - @Excel(name = "允许充电最大功率") - private BigDecimal maxAllowedChargePower; - - /** 允许放电最大功率 */ - @Excel(name = "允许放电最大功率") - private BigDecimal maxAllowedDischargePower; - - /** 允许充电最大电压 */ - @Excel(name = "允许充电最大电压") - private BigDecimal maxAllowedChargeVoltage; - - /** 允许放电最大电压 */ - @Excel(name = "允许放电最大电压") - private BigDecimal maxAllowedDischargeVoltage; - - /** 允许充电最大电流 */ - @Excel(name = "允许充电最大电流") - private BigDecimal maxAllowedChargeCurrent; - - /** 允许放电最大电流 */ - @Excel(name = "允许放电最大电流") - private BigDecimal maxAllowedDischargeCurrent; - - /** 组电压 */ - @Excel(name = "组电压") - private BigDecimal batteryPackVoltage; - - /** 组电流 */ - @Excel(name = "组电流") - private BigDecimal batteryPackCurrent; - - /** 模块温度 */ - @Excel(name = "模块温度") - private BigDecimal batteryPackTemp; - - /** 组SOC */ - @Excel(name = "组SOC") - private BigDecimal batteryPackSoc; - - /** 组SOH */ - @Excel(name = "组SOH") - private BigDecimal batteryPackSoh; - - /** 组绝缘电阻 */ - @Excel(name = "组绝缘电阻") - private BigDecimal batteryPackInsulationResistance; - - /** 平均单体电压 */ - @Excel(name = "平均单体电压") - private BigDecimal avgCellVoltage; - - /** 平均单体温度 */ - @Excel(name = "平均单体温度") - private BigDecimal avgCellTemp; - - /** 最高单体电压 */ - @Excel(name = "最高单体电压") + /** 最高电池电压/V */ + @Excel(name = "最高电池电压/V") private BigDecimal maxCellVoltage; - /** 最高单体电压对应点号 */ - @Excel(name = "最高单体电压对应点号") - private Long maxCellVoltageId; + /** 最高电池电压组号 */ + @Excel(name = "最高电池电压组号") + private Long maxVoltageGroupId; - /** 最低单体电压 */ - @Excel(name = "最低单体电压") + /** 高电压电池所在组中的点号 */ + @Excel(name = "高电压电池所在组中的点号") + private Long maxVoltageCellId; + + /** 最低电池电压/V */ + @Excel(name = "最低电池电压/V") private BigDecimal minCellVoltage; - /** 最低单体电压对应点号 */ - @Excel(name = "最低单体电压对应点号") - private Long minCellVoltageId; + /** 最低电池电压组号 */ + @Excel(name = "最低电池电压组号") + private Long minVoltageGroupId; - /** 最高单体温度 */ - @Excel(name = "最高单体温度") + /** 最低电压电池所在组中的点号 */ + @Excel(name = "最低电压电池所在组中的点号") + private Long minVoltageCellId; + + /** 最高电池温度/℃ */ + @Excel(name = "最高电池温度/℃") private BigDecimal maxCellTemp; - /** 最高单体温度对应点号 */ - @Excel(name = "最高单体温度对应点号") - private Long maxCellTempId; + /** 最高温度电池组号 */ + @Excel(name = "最高温度电池组号") + private Long maxTempGroupId; - /** 最低单体温度 */ - @Excel(name = "最低单体温度") + /** 最高温度电池所在组中的点号 */ + @Excel(name = "最高温度电池所在组中的点号") + private Long maxTempCellId; + + /** 最低电池温度/℃ */ + @Excel(name = "最低电池温度/℃") private BigDecimal minCellTemp; - /** 最低单体温度对应点号 */ - @Excel(name = "最低单体温度对应点号") - private Long minCellTempId; + /** 最低电池温度组号 */ + @Excel(name = "最低电池温度组号") + private Long minTempGroupId; - /** 最高单体SOC */ - @Excel(name = "最高单体SOC") - private BigDecimal maxCellSoc; + /** 最低温度电池所在组中的点号 */ + @Excel(name = "最低温度电池所在组中的点号") + private Long minTempCellId; - /** 最高单体SOC对应点号 */ - @Excel(name = "最高单体SOC对应点号") - private Long maxCellSocId; + /** 堆累计充电电量/kWh */ + @Excel(name = "堆累计充电电量/kWh") + private BigDecimal totalChargeCapacity; - /** 最低单体SOC */ - @Excel(name = "最低单体SOC") - private BigDecimal minCellSoc; + /** 堆累计放电电量/kWh */ + @Excel(name = "堆累计放电电量/kWh") + private BigDecimal totalDischargeCapacity; - /** 最低单体SOC对应点号 */ - @Excel(name = "最低单体SOC对应点号") - private Long minCellSocId; + /** 堆单次累计充电电量/kWh */ + @Excel(name = "堆单次累计充电电量/kWh") + private BigDecimal sessionChargeCapacity; - /** 最高单体SOH */ - @Excel(name = "最高单体SOH") - private BigDecimal maxCellSoh; + /** 堆单次累计放电电量/kWh */ + @Excel(name = "堆单次累计放电电量/kWh") + private BigDecimal sessionDischargeCapacity; - /** 最高单体SOH对应点号 */ - @Excel(name = "最高单体SOH对应点号") - private Long maxCellSohId; + /** 堆可充电量/kWh */ + @Excel(name = "堆可充电量/kWh") + private BigDecimal availableChargeCapacity; - /** 最低单体SOH */ - @Excel(name = "最低单体SOH") - private BigDecimal minCellSoh; + /** 堆可放电量/kWh */ + @Excel(name = "堆可放电量/kWh") + private BigDecimal availableDischargeCapacity; - /** 最低单体SOH对应点号 */ - @Excel(name = "最低单体SOH对应点号") - private Long minCellSohId; + /** 可用放电时间/min */ + @Excel(name = "可用放电时间/min") + private Long remainingDischargeTime; - /** 单次累计充电电量 */ - @Excel(name = "单次累计充电电量") - private BigDecimal totalChargeEnergy; + /** 可用充电时间/min */ + @Excel(name = "可用充电时间/min") + private Long remainingChargeTime; - /** 单次累计放电电量 */ - @Excel(name = "单次累计放电电量") - private BigDecimal totalDischargeEnergy; + /** 允许最大放电功率/kW */ + @Excel(name = "允许最大放电功率/kW") + private BigDecimal maxDischargePower; + + /** 允许最大充电功率/kW */ + @Excel(name = "允许最大充电功率/kW") + private BigDecimal maxChargePower; + + /** 允许最大放电电流/A */ + @Excel(name = "允许最大放电电流/A") + private BigDecimal maxDischargeCurrent; + + /** 允许最大充电电流/A */ + @Excel(name = "允许最大充电电流/A") + private BigDecimal maxChargeCurrent; + + /** 当天放电次数 */ + @Excel(name = "当天放电次数") + private Long dailyDischargeCycles; + + /** 当天充电次数 */ + @Excel(name = "当天充电次数") + private Long dailyChargeCycles; + + /** 当天放电电量/kWh */ + @Excel(name = "当天放电电量/kWh") + private BigDecimal dailyDischargeCapacity; + + /** 当天充电电量/kWh */ + @Excel(name = "当天充电电量/kWh") + private BigDecimal dailyChargeCapacity; + + /** 运行温度/℃ */ + @Excel(name = "运行温度/℃") + private BigDecimal operatingTemp; + + /** BMS堆当前状态 */ + @Excel(name = "BMS堆当前状态") + private String bmsStatus; + + /** BMS充放电状态 */ + @Excel(name = "BMS充放电状态") + private String bmsChargeStatus; + + /** 电池堆绝缘电阻/kΩ */ + @Excel(name = "电池堆绝缘电阻/kΩ") + private BigDecimal stackInsulationResistance; + + /** 站点 id */ + @Excel(name = "站点 id") + private String siteId; + + /** 设备id */ + @Excel(name = "设备id") + private String deviceId; public void setId(Long id) { @@ -248,104 +228,374 @@ public class EmsBatteryStack extends BaseEntity return emsCommunicationStatus; } - public void setTotalVoltage(BigDecimal totalVoltage) + public void setOperationStatus(String operationStatus) { - this.totalVoltage = totalVoltage; + this.operationStatus = operationStatus; } - public BigDecimal getTotalVoltage() + public String getOperationStatus() { - return totalVoltage; + return operationStatus; } - public void setChargeableCapacity(BigDecimal chargeableCapacity) + public void setStackVoltage(BigDecimal stackVoltage) { - this.chargeableCapacity = chargeableCapacity; + this.stackVoltage = stackVoltage; } - public BigDecimal getChargeableCapacity() + public BigDecimal getStackVoltage() { - return chargeableCapacity; + return stackVoltage; } - public void setTotalChargedCapacity(BigDecimal totalChargedCapacity) + public void setStackCurrent(BigDecimal stackCurrent) { - this.totalChargedCapacity = totalChargedCapacity; + this.stackCurrent = stackCurrent; } - public BigDecimal getTotalChargedCapacity() + public BigDecimal getStackCurrent() { - return totalChargedCapacity; + return stackCurrent; } - public void setTotalCurrent(BigDecimal totalCurrent) + public void setStackSoc(BigDecimal stackSoc) { - this.totalCurrent = totalCurrent; + this.stackSoc = stackSoc; } - public BigDecimal getTotalCurrent() + public BigDecimal getStackSoc() { - return totalCurrent; + return stackSoc; } - public void setDischargeableCapacity(BigDecimal dischargeableCapacity) + public void setStackSoh(BigDecimal stackSoh) { - this.dischargeableCapacity = dischargeableCapacity; + this.stackSoh = stackSoh; } - public BigDecimal getDischargeableCapacity() + public BigDecimal getStackSoh() { - return dischargeableCapacity; + return stackSoh; } - public void setTotalDischargedCapacity(BigDecimal totalDischargedCapacity) + public void setMaxCellVoltage(BigDecimal maxCellVoltage) { - this.totalDischargedCapacity = totalDischargedCapacity; + this.maxCellVoltage = maxCellVoltage; } - public BigDecimal getTotalDischargedCapacity() + public BigDecimal getMaxCellVoltage() { - return totalDischargedCapacity; + return maxCellVoltage; } - public void setSoh(BigDecimal soh) + public void setMaxVoltageGroupId(Long maxVoltageGroupId) { - this.soh = soh; + this.maxVoltageGroupId = maxVoltageGroupId; } - public BigDecimal getSoh() + public Long getMaxVoltageGroupId() { - return soh; + return maxVoltageGroupId; } - public void setAverageTemperature(BigDecimal averageTemperature) + public void setMaxVoltageCellId(Long maxVoltageCellId) { - this.averageTemperature = averageTemperature; + this.maxVoltageCellId = maxVoltageCellId; } - public BigDecimal getAverageTemperature() + public Long getMaxVoltageCellId() { - return averageTemperature; + return maxVoltageCellId; } - public void setInsulationResistance(BigDecimal insulationResistance) + public void setMinCellVoltage(BigDecimal minCellVoltage) { - this.insulationResistance = insulationResistance; + this.minCellVoltage = minCellVoltage; } - public BigDecimal getInsulationResistance() + public BigDecimal getMinCellVoltage() { - return insulationResistance; + return minCellVoltage; } - public void setCurrentSoc(BigDecimal currentSoc) + public void setMinVoltageGroupId(Long minVoltageGroupId) { - this.currentSoc = currentSoc; + this.minVoltageGroupId = minVoltageGroupId; } - public BigDecimal getCurrentSoc() + public Long getMinVoltageGroupId() { - return currentSoc; + return minVoltageGroupId; + } + + public void setMinVoltageCellId(Long minVoltageCellId) + { + this.minVoltageCellId = minVoltageCellId; + } + + public Long getMinVoltageCellId() + { + return minVoltageCellId; + } + + public void setMaxCellTemp(BigDecimal maxCellTemp) + { + this.maxCellTemp = maxCellTemp; + } + + public BigDecimal getMaxCellTemp() + { + return maxCellTemp; + } + + public void setMaxTempGroupId(Long maxTempGroupId) + { + this.maxTempGroupId = maxTempGroupId; + } + + public Long getMaxTempGroupId() + { + return maxTempGroupId; + } + + public void setMaxTempCellId(Long maxTempCellId) + { + this.maxTempCellId = maxTempCellId; + } + + public Long getMaxTempCellId() + { + return maxTempCellId; + } + + public void setMinCellTemp(BigDecimal minCellTemp) + { + this.minCellTemp = minCellTemp; + } + + public BigDecimal getMinCellTemp() + { + return minCellTemp; + } + + public void setMinTempGroupId(Long minTempGroupId) + { + this.minTempGroupId = minTempGroupId; + } + + public Long getMinTempGroupId() + { + return minTempGroupId; + } + + public void setMinTempCellId(Long minTempCellId) + { + this.minTempCellId = minTempCellId; + } + + public Long getMinTempCellId() + { + return minTempCellId; + } + + public void setTotalChargeCapacity(BigDecimal totalChargeCapacity) + { + this.totalChargeCapacity = totalChargeCapacity; + } + + public BigDecimal getTotalChargeCapacity() + { + return totalChargeCapacity; + } + + public void setTotalDischargeCapacity(BigDecimal totalDischargeCapacity) + { + this.totalDischargeCapacity = totalDischargeCapacity; + } + + public BigDecimal getTotalDischargeCapacity() + { + return totalDischargeCapacity; + } + + public void setSessionChargeCapacity(BigDecimal sessionChargeCapacity) + { + this.sessionChargeCapacity = sessionChargeCapacity; + } + + public BigDecimal getSessionChargeCapacity() + { + return sessionChargeCapacity; + } + + public void setSessionDischargeCapacity(BigDecimal sessionDischargeCapacity) + { + this.sessionDischargeCapacity = sessionDischargeCapacity; + } + + public BigDecimal getSessionDischargeCapacity() + { + return sessionDischargeCapacity; + } + + public void setAvailableChargeCapacity(BigDecimal availableChargeCapacity) + { + this.availableChargeCapacity = availableChargeCapacity; + } + + public BigDecimal getAvailableChargeCapacity() + { + return availableChargeCapacity; + } + + public void setAvailableDischargeCapacity(BigDecimal availableDischargeCapacity) + { + this.availableDischargeCapacity = availableDischargeCapacity; + } + + public BigDecimal getAvailableDischargeCapacity() + { + return availableDischargeCapacity; + } + + public void setRemainingDischargeTime(Long remainingDischargeTime) + { + this.remainingDischargeTime = remainingDischargeTime; + } + + public Long getRemainingDischargeTime() + { + return remainingDischargeTime; + } + + public void setRemainingChargeTime(Long remainingChargeTime) + { + this.remainingChargeTime = remainingChargeTime; + } + + public Long getRemainingChargeTime() + { + return remainingChargeTime; + } + + public void setMaxDischargePower(BigDecimal maxDischargePower) + { + this.maxDischargePower = maxDischargePower; + } + + public BigDecimal getMaxDischargePower() + { + return maxDischargePower; + } + + public void setMaxChargePower(BigDecimal maxChargePower) + { + this.maxChargePower = maxChargePower; + } + + public BigDecimal getMaxChargePower() + { + return maxChargePower; + } + + public void setMaxDischargeCurrent(BigDecimal maxDischargeCurrent) + { + this.maxDischargeCurrent = maxDischargeCurrent; + } + + public BigDecimal getMaxDischargeCurrent() + { + return maxDischargeCurrent; + } + + public void setMaxChargeCurrent(BigDecimal maxChargeCurrent) + { + this.maxChargeCurrent = maxChargeCurrent; + } + + public BigDecimal getMaxChargeCurrent() + { + return maxChargeCurrent; + } + + public void setDailyDischargeCycles(Long dailyDischargeCycles) + { + this.dailyDischargeCycles = dailyDischargeCycles; + } + + public Long getDailyDischargeCycles() + { + return dailyDischargeCycles; + } + + public void setDailyChargeCycles(Long dailyChargeCycles) + { + this.dailyChargeCycles = dailyChargeCycles; + } + + public Long getDailyChargeCycles() + { + return dailyChargeCycles; + } + + public void setDailyDischargeCapacity(BigDecimal dailyDischargeCapacity) + { + this.dailyDischargeCapacity = dailyDischargeCapacity; + } + + public BigDecimal getDailyDischargeCapacity() + { + return dailyDischargeCapacity; + } + + public void setDailyChargeCapacity(BigDecimal dailyChargeCapacity) + { + this.dailyChargeCapacity = dailyChargeCapacity; + } + + public BigDecimal getDailyChargeCapacity() + { + return dailyChargeCapacity; + } + + public void setOperatingTemp(BigDecimal operatingTemp) + { + this.operatingTemp = operatingTemp; + } + + public BigDecimal getOperatingTemp() + { + return operatingTemp; + } + + public void setBmsStatus(String bmsStatus) + { + this.bmsStatus = bmsStatus; + } + + public String getBmsStatus() + { + return bmsStatus; + } + + public void setBmsChargeStatus(String bmsChargeStatus) + { + this.bmsChargeStatus = bmsChargeStatus; + } + + public String getBmsChargeStatus() + { + return bmsChargeStatus; + } + + public void setStackInsulationResistance(BigDecimal stackInsulationResistance) + { + this.stackInsulationResistance = stackInsulationResistance; + } + + public BigDecimal getStackInsulationResistance() + { + return stackInsulationResistance; } public void setSiteId(String siteId) @@ -368,326 +618,6 @@ public class EmsBatteryStack extends BaseEntity return deviceId; } - public void setMaxAllowedChargePower(BigDecimal maxAllowedChargePower) - { - this.maxAllowedChargePower = maxAllowedChargePower; - } - - public BigDecimal getMaxAllowedChargePower() - { - return maxAllowedChargePower; - } - - public void setMaxAllowedDischargePower(BigDecimal maxAllowedDischargePower) - { - this.maxAllowedDischargePower = maxAllowedDischargePower; - } - - public BigDecimal getMaxAllowedDischargePower() - { - return maxAllowedDischargePower; - } - - public void setMaxAllowedChargeVoltage(BigDecimal maxAllowedChargeVoltage) - { - this.maxAllowedChargeVoltage = maxAllowedChargeVoltage; - } - - public BigDecimal getMaxAllowedChargeVoltage() - { - return maxAllowedChargeVoltage; - } - - public void setMaxAllowedDischargeVoltage(BigDecimal maxAllowedDischargeVoltage) - { - this.maxAllowedDischargeVoltage = maxAllowedDischargeVoltage; - } - - public BigDecimal getMaxAllowedDischargeVoltage() - { - return maxAllowedDischargeVoltage; - } - - public void setMaxAllowedChargeCurrent(BigDecimal maxAllowedChargeCurrent) - { - this.maxAllowedChargeCurrent = maxAllowedChargeCurrent; - } - - public BigDecimal getMaxAllowedChargeCurrent() - { - return maxAllowedChargeCurrent; - } - - public void setMaxAllowedDischargeCurrent(BigDecimal maxAllowedDischargeCurrent) - { - this.maxAllowedDischargeCurrent = maxAllowedDischargeCurrent; - } - - public BigDecimal getMaxAllowedDischargeCurrent() - { - return maxAllowedDischargeCurrent; - } - - public void setBatteryPackVoltage(BigDecimal batteryPackVoltage) - { - this.batteryPackVoltage = batteryPackVoltage; - } - - public BigDecimal getBatteryPackVoltage() - { - return batteryPackVoltage; - } - - public void setBatteryPackCurrent(BigDecimal batteryPackCurrent) - { - this.batteryPackCurrent = batteryPackCurrent; - } - - public BigDecimal getBatteryPackCurrent() - { - return batteryPackCurrent; - } - - public void setBatteryPackTemp(BigDecimal batteryPackTemp) - { - this.batteryPackTemp = batteryPackTemp; - } - - public BigDecimal getBatteryPackTemp() - { - return batteryPackTemp; - } - - public void setBatteryPackSoc(BigDecimal batteryPackSoc) - { - this.batteryPackSoc = batteryPackSoc; - } - - public BigDecimal getBatteryPackSoc() - { - return batteryPackSoc; - } - - public void setBatteryPackSoh(BigDecimal batteryPackSoh) - { - this.batteryPackSoh = batteryPackSoh; - } - - public BigDecimal getBatteryPackSoh() - { - return batteryPackSoh; - } - - public void setBatteryPackInsulationResistance(BigDecimal batteryPackInsulationResistance) - { - this.batteryPackInsulationResistance = batteryPackInsulationResistance; - } - - public BigDecimal getBatteryPackInsulationResistance() - { - return batteryPackInsulationResistance; - } - - public void setAvgCellVoltage(BigDecimal avgCellVoltage) - { - this.avgCellVoltage = avgCellVoltage; - } - - public BigDecimal getAvgCellVoltage() - { - return avgCellVoltage; - } - - public void setAvgCellTemp(BigDecimal avgCellTemp) - { - this.avgCellTemp = avgCellTemp; - } - - public BigDecimal getAvgCellTemp() - { - return avgCellTemp; - } - - public void setMaxCellVoltage(BigDecimal maxCellVoltage) - { - this.maxCellVoltage = maxCellVoltage; - } - - public BigDecimal getMaxCellVoltage() - { - return maxCellVoltage; - } - - public void setMaxCellVoltageId(Long maxCellVoltageId) - { - this.maxCellVoltageId = maxCellVoltageId; - } - - public Long getMaxCellVoltageId() - { - return maxCellVoltageId; - } - - public void setMinCellVoltage(BigDecimal minCellVoltage) - { - this.minCellVoltage = minCellVoltage; - } - - public BigDecimal getMinCellVoltage() - { - return minCellVoltage; - } - - public void setMinCellVoltageId(Long minCellVoltageId) - { - this.minCellVoltageId = minCellVoltageId; - } - - public Long getMinCellVoltageId() - { - return minCellVoltageId; - } - - public void setMaxCellTemp(BigDecimal maxCellTemp) - { - this.maxCellTemp = maxCellTemp; - } - - public BigDecimal getMaxCellTemp() - { - return maxCellTemp; - } - - public void setMaxCellTempId(Long maxCellTempId) - { - this.maxCellTempId = maxCellTempId; - } - - public Long getMaxCellTempId() - { - return maxCellTempId; - } - - public void setMinCellTemp(BigDecimal minCellTemp) - { - this.minCellTemp = minCellTemp; - } - - public BigDecimal getMinCellTemp() - { - return minCellTemp; - } - - public void setMinCellTempId(Long minCellTempId) - { - this.minCellTempId = minCellTempId; - } - - public Long getMinCellTempId() - { - return minCellTempId; - } - - public void setMaxCellSoc(BigDecimal maxCellSoc) - { - this.maxCellSoc = maxCellSoc; - } - - public BigDecimal getMaxCellSoc() - { - return maxCellSoc; - } - - public void setMaxCellSocId(Long maxCellSocId) - { - this.maxCellSocId = maxCellSocId; - } - - public Long getMaxCellSocId() - { - return maxCellSocId; - } - - public void setMinCellSoc(BigDecimal minCellSoc) - { - this.minCellSoc = minCellSoc; - } - - public BigDecimal getMinCellSoc() - { - return minCellSoc; - } - - public void setMinCellSocId(Long minCellSocId) - { - this.minCellSocId = minCellSocId; - } - - public Long getMinCellSocId() - { - return minCellSocId; - } - - public void setMaxCellSoh(BigDecimal maxCellSoh) - { - this.maxCellSoh = maxCellSoh; - } - - public BigDecimal getMaxCellSoh() - { - return maxCellSoh; - } - - public void setMaxCellSohId(Long maxCellSohId) - { - this.maxCellSohId = maxCellSohId; - } - - public Long getMaxCellSohId() - { - return maxCellSohId; - } - - public void setMinCellSoh(BigDecimal minCellSoh) - { - this.minCellSoh = minCellSoh; - } - - public BigDecimal getMinCellSoh() - { - return minCellSoh; - } - - public void setMinCellSohId(Long minCellSohId) - { - this.minCellSohId = minCellSohId; - } - - public Long getMinCellSohId() - { - return minCellSohId; - } - - public void setTotalChargeEnergy(BigDecimal totalChargeEnergy) - { - this.totalChargeEnergy = totalChargeEnergy; - } - - public BigDecimal getTotalChargeEnergy() - { - return totalChargeEnergy; - } - - public void setTotalDischargeEnergy(BigDecimal totalDischargeEnergy) - { - this.totalDischargeEnergy = totalDischargeEnergy; - } - - public BigDecimal getTotalDischargeEnergy() - { - return totalDischargeEnergy; - } - @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -695,55 +625,49 @@ public class EmsBatteryStack extends BaseEntity .append("workStatus", getWorkStatus()) .append("pcsCommunicationStatus", getPcsCommunicationStatus()) .append("emsCommunicationStatus", getEmsCommunicationStatus()) - .append("totalVoltage", getTotalVoltage()) - .append("chargeableCapacity", getChargeableCapacity()) - .append("totalChargedCapacity", getTotalChargedCapacity()) - .append("totalCurrent", getTotalCurrent()) - .append("dischargeableCapacity", getDischargeableCapacity()) - .append("totalDischargedCapacity", getTotalDischargedCapacity()) - .append("soh", getSoh()) - .append("averageTemperature", getAverageTemperature()) - .append("insulationResistance", getInsulationResistance()) - .append("currentSoc", getCurrentSoc()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("remark", getRemark()) + .append("operationStatus", getOperationStatus()) + .append("stackVoltage", getStackVoltage()) + .append("stackCurrent", getStackCurrent()) + .append("stackSoc", getStackSoc()) + .append("stackSoh", getStackSoh()) + .append("maxCellVoltage", getMaxCellVoltage()) + .append("maxVoltageGroupId", getMaxVoltageGroupId()) + .append("maxVoltageCellId", getMaxVoltageCellId()) + .append("minCellVoltage", getMinCellVoltage()) + .append("minVoltageGroupId", getMinVoltageGroupId()) + .append("minVoltageCellId", getMinVoltageCellId()) + .append("maxCellTemp", getMaxCellTemp()) + .append("maxTempGroupId", getMaxTempGroupId()) + .append("maxTempCellId", getMaxTempCellId()) + .append("minCellTemp", getMinCellTemp()) + .append("minTempGroupId", getMinTempGroupId()) + .append("minTempCellId", getMinTempCellId()) + .append("totalChargeCapacity", getTotalChargeCapacity()) + .append("totalDischargeCapacity", getTotalDischargeCapacity()) + .append("sessionChargeCapacity", getSessionChargeCapacity()) + .append("sessionDischargeCapacity", getSessionDischargeCapacity()) + .append("availableChargeCapacity", getAvailableChargeCapacity()) + .append("availableDischargeCapacity", getAvailableDischargeCapacity()) + .append("remainingDischargeTime", getRemainingDischargeTime()) + .append("remainingChargeTime", getRemainingChargeTime()) + .append("maxDischargePower", getMaxDischargePower()) + .append("maxChargePower", getMaxChargePower()) + .append("maxDischargeCurrent", getMaxDischargeCurrent()) + .append("maxChargeCurrent", getMaxChargeCurrent()) + .append("dailyDischargeCycles", getDailyDischargeCycles()) + .append("dailyChargeCycles", getDailyChargeCycles()) + .append("dailyDischargeCapacity", getDailyDischargeCapacity()) + .append("dailyChargeCapacity", getDailyChargeCapacity()) + .append("operatingTemp", getOperatingTemp()) + .append("bmsStatus", getBmsStatus()) + .append("bmsChargeStatus", getBmsChargeStatus()) + .append("stackInsulationResistance", getStackInsulationResistance()) .append("siteId", getSiteId()) .append("deviceId", getDeviceId()) - .append("maxAllowedChargePower", getMaxAllowedChargePower()) - .append("maxAllowedDischargePower", getMaxAllowedDischargePower()) - .append("maxAllowedChargeVoltage", getMaxAllowedChargeVoltage()) - .append("maxAllowedDischargeVoltage", getMaxAllowedDischargeVoltage()) - .append("maxAllowedChargeCurrent", getMaxAllowedChargeCurrent()) - .append("maxAllowedDischargeCurrent", getMaxAllowedDischargeCurrent()) - .append("batteryPackVoltage", getBatteryPackVoltage()) - .append("batteryPackCurrent", getBatteryPackCurrent()) - .append("batteryPackTemp", getBatteryPackTemp()) - .append("batteryPackSoc", getBatteryPackSoc()) - .append("batteryPackSoh", getBatteryPackSoh()) - .append("batteryPackInsulationResistance", getBatteryPackInsulationResistance()) - .append("avgCellVoltage", getAvgCellVoltage()) - .append("avgCellTemp", getAvgCellTemp()) - .append("maxCellVoltage", getMaxCellVoltage()) - .append("maxCellVoltageId", getMaxCellVoltageId()) - .append("minCellVoltage", getMinCellVoltage()) - .append("minCellVoltageId", getMinCellVoltageId()) - .append("maxCellTemp", getMaxCellTemp()) - .append("maxCellTempId", getMaxCellTempId()) - .append("minCellTemp", getMinCellTemp()) - .append("minCellTempId", getMinCellTempId()) - .append("maxCellSoc", getMaxCellSoc()) - .append("maxCellSocId", getMaxCellSocId()) - .append("minCellSoc", getMinCellSoc()) - .append("minCellSocId", getMinCellSocId()) - .append("maxCellSoh", getMaxCellSoh()) - .append("maxCellSohId", getMaxCellSohId()) - .append("minCellSoh", getMinCellSoh()) - .append("minCellSohId", getMinCellSohId()) - .append("totalChargeEnergy", getTotalChargeEnergy()) - .append("totalDischargeEnergy", getTotalDischargeEnergy()) + .append("createTime", getCreateTime()) + .append("createBy", getCreateBy()) + .append("updateTime", getUpdateTime()) + .append("updateBy", getUpdateBy()) .toString(); } } diff --git a/ems-system/src/main/java/com/xzzn/ems/service/impl/FXXDataProcessServiceImpl.java b/ems-system/src/main/java/com/xzzn/ems/service/impl/FXXDataProcessServiceImpl.java index 32fef12..d6f91f5 100644 --- a/ems-system/src/main/java/com/xzzn/ems/service/impl/FXXDataProcessServiceImpl.java +++ b/ems-system/src/main/java/com/xzzn/ems/service/impl/FXXDataProcessServiceImpl.java @@ -77,58 +77,72 @@ public class FXXDataProcessServiceImpl implements IFXXDataProcessService { //BMS 电池簇 EmsBatteryStack dataStack = new EmsBatteryStack(); - // 设置所有 BigDecimal 类型字段为 ZERO - dataStack.setChargeableCapacity(StringUtils.getBigDecimal(obj.get("KCDL"))); - dataStack.setTotalChargedCapacity(StringUtils.getBigDecimal(obj.get("LJCDDL"))); - dataStack.setDischargeableCapacity(StringUtils.getBigDecimal(obj.get("KFDL"))); - dataStack.setTotalDischargedCapacity(StringUtils.getBigDecimal(obj.get("LJFDDL"))); - dataStack.setSoh(StringUtils.getBigDecimal(obj.get("ZSOH"))); - dataStack.setAverageTemperature(StringUtils.getBigDecimal(obj.get("MKWD"))); - dataStack.setInsulationResistance(StringUtils.getBigDecimal(obj.get("ZJYDZ"))); - dataStack.setCurrentSoc(StringUtils.getBigDecimal(obj.get("ZSOC"))); - dataStack.setMaxAllowedChargePower(StringUtils.getBigDecimal(obj.get("YXCDZDGL"))); - dataStack.setMaxAllowedDischargePower(StringUtils.getBigDecimal(obj.get("YXFDZDGL"))); - dataStack.setMaxAllowedChargeVoltage(StringUtils.getBigDecimal(obj.get("YXCDZDDY"))); - dataStack.setMaxAllowedDischargeVoltage(StringUtils.getBigDecimal(obj.get("YXFDZDDY"))); - dataStack.setMaxAllowedChargeCurrent(StringUtils.getBigDecimal(obj.get("YXCDZDDL"))); - dataStack.setMaxAllowedDischargeCurrent(StringUtils.getBigDecimal(obj.get("YXFDZDDL"))); - dataStack.setBatteryPackVoltage(StringUtils.getBigDecimal(obj.get("ZDY"))); - dataStack.setBatteryPackCurrent(StringUtils.getBigDecimal(obj.get("ZDL"))); - dataStack.setBatteryPackTemp(StringUtils.getBigDecimal(obj.get("MKWD"))); - dataStack.setBatteryPackSoc(StringUtils.getBigDecimal(obj.get("ZSOC"))); - dataStack.setBatteryPackSoh(StringUtils.getBigDecimal(obj.get("ZSOH"))); - dataStack.setBatteryPackInsulationResistance(StringUtils.getBigDecimal(obj.get("ZJYDZ"))); - dataStack.setAvgCellVoltage(StringUtils.getBigDecimal(obj.get("PJDTDY"))); - dataStack.setAvgCellTemp(StringUtils.getBigDecimal(obj.get("PJDTWD"))); - dataStack.setMaxCellVoltage(StringUtils.getBigDecimal(obj.get("ZGDTDY"))); - dataStack.setMinCellVoltage(StringUtils.getBigDecimal(obj.get("ZDDTDY"))); - dataStack.setMaxCellTemp(StringUtils.getBigDecimal(obj.get("ZGDTWD"))); - dataStack.setMinCellTemp(StringUtils.getBigDecimal(obj.get("ZDDTWD"))); - dataStack.setMaxCellSoc(StringUtils.getBigDecimal(obj.get("ZGDTSOC"))); - dataStack.setMinCellSoc(StringUtils.getBigDecimal(obj.get("ZDDTSOC"))); - dataStack.setMaxCellSoh(StringUtils.getBigDecimal(obj.get("ZGDTSOH"))); - dataStack.setMinCellSoh(StringUtils.getBigDecimal(obj.get("ZDDTSOH"))); - dataStack.setTotalChargeEnergy(StringUtils.getBigDecimal(obj.get("DCLJCDDL"))); - dataStack.setTotalDischargeEnergy(StringUtils.getBigDecimal(obj.get("DCLJFDDL"))); // 其他非 BigDecimal 字段 dataStack.setWorkStatus(WorkStatus.NORMAL.getCode()); // 或其他默认值 dataStack.setPcsCommunicationStatus(CommunicationStatus.OK.getCode()); dataStack.setEmsCommunicationStatus(CommunicationStatus.OK.getCode()); + + // 电池堆状态数据设置 + dataStack.setOperationStatus(StringUtils.getString(obj.get("DCZT"))); + dataStack.setStackVoltage(StringUtils.getBigDecimal(obj.get("DCDDY"))); + dataStack.setStackCurrent(StringUtils.getBigDecimal(obj.get("DCDDL"))); + dataStack.setStackSoc(StringUtils.getBigDecimal(obj.get("DCDSOC"))); + dataStack.setStackSoh(StringUtils.getBigDecimal(obj.get("DCDSOH"))); + + // 电压极值信息 + dataStack.setMaxCellVoltage(StringUtils.getBigDecimal(obj.get("ZGDCDY"))); + dataStack.setMaxVoltageGroupId(StringUtils.getLong(obj.get("ZGDCDYZH"))); + dataStack.setMaxVoltageCellId(StringUtils.getLong(obj.get("ZGDCDYZHDH"))); + dataStack.setMinCellVoltage(StringUtils.getBigDecimal(obj.get("ZDDCDY"))); + dataStack.setMinVoltageGroupId(StringUtils.getLong(obj.get("ZDDCDYZH"))); + dataStack.setMinVoltageCellId(StringUtils.getLong(obj.get("ZDDCDYZHDH"))); + + // 温度极值信息 + dataStack.setMaxCellTemp(StringUtils.getBigDecimal(obj.get("ZGDCWD"))); + dataStack.setMaxTempGroupId(StringUtils.getLong(obj.get("ZGDCWDZH"))); + dataStack.setMaxTempCellId(StringUtils.getLong(obj.get("ZGDCWDZHDH"))); + dataStack.setMinCellTemp(StringUtils.getBigDecimal(obj.get("ZDDCWD"))); + dataStack.setMinTempGroupId(StringUtils.getLong(obj.get("ZDDCWDZH"))); + dataStack.setMinTempCellId(StringUtils.getLong(obj.get("ZDDCWDZHDH"))); + + // 电量统计信息 + dataStack.setTotalChargeCapacity(StringUtils.getBigDecimal(obj.get("DLJCDDL"))); + dataStack.setTotalDischargeCapacity(StringUtils.getBigDecimal(obj.get("DLCFDDL"))); + dataStack.setSessionChargeCapacity(StringUtils.getBigDecimal(obj.get("DDCLJCDDL"))); + dataStack.setSessionDischargeCapacity(StringUtils.getBigDecimal(obj.get("DDCLJFDDL"))); + dataStack.setAvailableChargeCapacity(StringUtils.getBigDecimal(obj.get("DKCDL"))); + dataStack.setAvailableDischargeCapacity(StringUtils.getBigDecimal(obj.get("DKFDL"))); + +// 时间信息 + dataStack.setRemainingDischargeTime(StringUtils.getLong(obj.get("KYFDSJ"))); + dataStack.setRemainingChargeTime(StringUtils.getLong(obj.get("KYCDSJ"))); + +// 功率/电流限制 + dataStack.setMaxDischargePower(StringUtils.getBigDecimal(obj.get("YXZDFDGL"))); + dataStack.setMaxChargePower(StringUtils.getBigDecimal(obj.get("YXZDCDGL"))); + dataStack.setMaxDischargeCurrent(StringUtils.getBigDecimal(obj.get("YXZDFDDL"))); + dataStack.setMaxChargeCurrent(StringUtils.getBigDecimal(obj.get("YXZDCDDL"))); + + // 当日统计 + dataStack.setDailyDischargeCycles(StringUtils.getLong(obj.get("DTFDCS"))); + dataStack.setDailyChargeCycles(StringUtils.getLong(obj.get("DTCDCS"))); + dataStack.setDailyDischargeCapacity(StringUtils.getBigDecimal(obj.get("DTFDDL"))); + dataStack.setDailyChargeCapacity(StringUtils.getBigDecimal(obj.get("DTCDDL"))); + + // 系统状态 + dataStack.setOperatingTemp(StringUtils.getBigDecimal(obj.get("YXWD"))); + dataStack.setBmsStatus(StringUtils.getString(obj.get("BMSDDQZT"))); + dataStack.setBmsChargeStatus(StringUtils.getString(obj.get("BMSCFDZT"))); + dataStack.setStackInsulationResistance(StringUtils.getBigDecimal(obj.get("DCDJYDZ"))); + + dataStack.setCreateBy("system"); dataStack.setCreateTime(DateUtils.getNowDate()); dataStack.setUpdateBy("system"); dataStack.setUpdateTime(DateUtils.getNowDate()); dataStack.setSiteId("021_FXX_01"); dataStack.setDeviceId(deviceId); - dataStack.setMaxCellVoltageId(StringUtils.getLong(obj.get("ZGDTDYDYD"))); - dataStack.setMinCellVoltageId(StringUtils.getLong(obj.get("ZDDTDYDYD"))); - dataStack.setMaxCellTempId(StringUtils.getLong(obj.get("ZGDTWDDYD"))); - dataStack.setMinCellTempId(StringUtils.getLong(obj.get("ZDDTWDDYD"))); - dataStack.setMaxCellSocId(StringUtils.getLong(obj.get("ZGDTSOCDYD"))); - dataStack.setMinCellSocId(StringUtils.getLong(obj.get("ZDDTSOCDYD"))); - dataStack.setMaxCellSohId(StringUtils.getLong(obj.get("ZGDTSOHDYD"))); - dataStack.setMinCellSohId(StringUtils.getLong(obj.get("ZDDTSOHDYD"))); emsBatteryStackMapper.insertEmsBatteryStack(dataStack); diff --git a/ems-system/src/main/resources/mapper/ems/EmsBatteryStackMapper.xml b/ems-system/src/main/resources/mapper/ems/EmsBatteryStackMapper.xml index 3421457..c8f23c5 100644 --- a/ems-system/src/main/resources/mapper/ems/EmsBatteryStackMapper.xml +++ b/ems-system/src/main/resources/mapper/ems/EmsBatteryStackMapper.xml @@ -9,59 +9,53 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - select id, work_status, pcs_communication_status, ems_communication_status, total_voltage, chargeable_capacity, total_charged_capacity, total_current, dischargeable_capacity, total_discharged_capacity, soh, average_temperature, insulation_resistance, current_soc, create_by, create_time, update_by, update_time, remark, site_id, device_id, max_allowed_charge_power, max_allowed_discharge_power, max_allowed_charge_voltage, max_allowed_discharge_voltage, max_allowed_charge_current, max_allowed_discharge_current, battery_pack_voltage, battery_pack_current, battery_pack_temp, battery_pack_soc, battery_pack_soh, battery_pack_insulation_resistance, avg_cell_voltage, avg_cell_temp, max_cell_voltage, max_cell_voltage_id, min_cell_voltage, min_cell_voltage_id, max_cell_temp, max_cell_temp_id, min_cell_temp, min_cell_temp_id, max_cell_soc, max_cell_soc_id, min_cell_soc, min_cell_soc_id, max_cell_soh, max_cell_soh_id, min_cell_soh, min_cell_soh_id, total_charge_energy, total_discharge_energy from ems_battery_stack + select id, work_status, pcs_communication_status, ems_communication_status, operation_status, stack_voltage, stack_current, stack_soc, stack_soh, max_cell_voltage, max_voltage_group_id, max_voltage_cell_id, min_cell_voltage, min_voltage_group_id, min_voltage_cell_id, max_cell_temp, max_temp_group_id, max_temp_cell_id, min_cell_temp, min_temp_group_id, min_temp_cell_id, total_charge_capacity, total_discharge_capacity, session_charge_capacity, session_discharge_capacity, available_charge_capacity, available_discharge_capacity, remaining_discharge_time, remaining_charge_time, max_discharge_power, max_charge_power, max_discharge_current, max_charge_current, daily_discharge_cycles, daily_charge_cycles, daily_discharge_capacity, daily_charge_capacity, operating_temp, bms_status, bms_charge_status, stack_insulation_resistance, site_id, device_id, create_time, create_by, update_time, update_by from ems_battery_stack @@ -128,109 +117,97 @@ work_status, pcs_communication_status, ems_communication_status, - total_voltage, - chargeable_capacity, - total_charged_capacity, - total_current, - dischargeable_capacity, - total_discharged_capacity, - soh, - average_temperature, - insulation_resistance, - current_soc, - create_by, - create_time, - update_by, - update_time, - remark, - site_id, - device_id, - max_allowed_charge_power, - max_allowed_discharge_power, - max_allowed_charge_voltage, - max_allowed_discharge_voltage, - max_allowed_charge_current, - max_allowed_discharge_current, - battery_pack_voltage, - battery_pack_current, - battery_pack_temp, - battery_pack_soc, - battery_pack_soh, - battery_pack_insulation_resistance, - avg_cell_voltage, - avg_cell_temp, + operation_status, + stack_voltage, + stack_current, + stack_soc, + stack_soh, max_cell_voltage, - max_cell_voltage_id, + max_voltage_group_id, + max_voltage_cell_id, min_cell_voltage, - min_cell_voltage_id, + min_voltage_group_id, + min_voltage_cell_id, max_cell_temp, - max_cell_temp_id, + max_temp_group_id, + max_temp_cell_id, min_cell_temp, - min_cell_temp_id, - max_cell_soc, - max_cell_soc_id, - min_cell_soc, - min_cell_soc_id, - max_cell_soh, - max_cell_soh_id, - min_cell_soh, - min_cell_soh_id, - total_charge_energy, - total_discharge_energy, + min_temp_group_id, + min_temp_cell_id, + total_charge_capacity, + total_discharge_capacity, + session_charge_capacity, + session_discharge_capacity, + available_charge_capacity, + available_discharge_capacity, + remaining_discharge_time, + remaining_charge_time, + max_discharge_power, + max_charge_power, + max_discharge_current, + max_charge_current, + daily_discharge_cycles, + daily_charge_cycles, + daily_discharge_capacity, + daily_charge_capacity, + operating_temp, + bms_status, + bms_charge_status, + stack_insulation_resistance, + site_id, + device_id, + create_time, + create_by, + update_time, + update_by, #{workStatus}, #{pcsCommunicationStatus}, #{emsCommunicationStatus}, - #{totalVoltage}, - #{chargeableCapacity}, - #{totalChargedCapacity}, - #{totalCurrent}, - #{dischargeableCapacity}, - #{totalDischargedCapacity}, - #{soh}, - #{averageTemperature}, - #{insulationResistance}, - #{currentSoc}, - #{createBy}, - #{createTime}, - #{updateBy}, - #{updateTime}, - #{remark}, - #{siteId}, - #{deviceId}, - #{maxAllowedChargePower}, - #{maxAllowedDischargePower}, - #{maxAllowedChargeVoltage}, - #{maxAllowedDischargeVoltage}, - #{maxAllowedChargeCurrent}, - #{maxAllowedDischargeCurrent}, - #{batteryPackVoltage}, - #{batteryPackCurrent}, - #{batteryPackTemp}, - #{batteryPackSoc}, - #{batteryPackSoh}, - #{batteryPackInsulationResistance}, - #{avgCellVoltage}, - #{avgCellTemp}, + #{operationStatus}, + #{stackVoltage}, + #{stackCurrent}, + #{stackSoc}, + #{stackSoh}, #{maxCellVoltage}, - #{maxCellVoltageId}, + #{maxVoltageGroupId}, + #{maxVoltageCellId}, #{minCellVoltage}, - #{minCellVoltageId}, + #{minVoltageGroupId}, + #{minVoltageCellId}, #{maxCellTemp}, - #{maxCellTempId}, + #{maxTempGroupId}, + #{maxTempCellId}, #{minCellTemp}, - #{minCellTempId}, - #{maxCellSoc}, - #{maxCellSocId}, - #{minCellSoc}, - #{minCellSocId}, - #{maxCellSoh}, - #{maxCellSohId}, - #{minCellSoh}, - #{minCellSohId}, - #{totalChargeEnergy}, - #{totalDischargeEnergy}, + #{minTempGroupId}, + #{minTempCellId}, + #{totalChargeCapacity}, + #{totalDischargeCapacity}, + #{sessionChargeCapacity}, + #{sessionDischargeCapacity}, + #{availableChargeCapacity}, + #{availableDischargeCapacity}, + #{remainingDischargeTime}, + #{remainingChargeTime}, + #{maxDischargePower}, + #{maxChargePower}, + #{maxDischargeCurrent}, + #{maxChargeCurrent}, + #{dailyDischargeCycles}, + #{dailyChargeCycles}, + #{dailyDischargeCapacity}, + #{dailyChargeCapacity}, + #{operatingTemp}, + #{bmsStatus}, + #{bmsChargeStatus}, + #{stackInsulationResistance}, + #{siteId}, + #{deviceId}, + #{createTime}, + #{createBy}, + #{updateTime}, + #{updateBy}, @@ -240,55 +217,49 @@ work_status = #{workStatus}, pcs_communication_status = #{pcsCommunicationStatus}, ems_communication_status = #{emsCommunicationStatus}, - total_voltage = #{totalVoltage}, - chargeable_capacity = #{chargeableCapacity}, - total_charged_capacity = #{totalChargedCapacity}, - total_current = #{totalCurrent}, - dischargeable_capacity = #{dischargeableCapacity}, - total_discharged_capacity = #{totalDischargedCapacity}, - soh = #{soh}, - average_temperature = #{averageTemperature}, - insulation_resistance = #{insulationResistance}, - current_soc = #{currentSoc}, - create_by = #{createBy}, - create_time = #{createTime}, - update_by = #{updateBy}, - update_time = #{updateTime}, - remark = #{remark}, - site_id = #{siteId}, - device_id = #{deviceId}, - max_allowed_charge_power = #{maxAllowedChargePower}, - max_allowed_discharge_power = #{maxAllowedDischargePower}, - max_allowed_charge_voltage = #{maxAllowedChargeVoltage}, - max_allowed_discharge_voltage = #{maxAllowedDischargeVoltage}, - max_allowed_charge_current = #{maxAllowedChargeCurrent}, - max_allowed_discharge_current = #{maxAllowedDischargeCurrent}, - battery_pack_voltage = #{batteryPackVoltage}, - battery_pack_current = #{batteryPackCurrent}, - battery_pack_temp = #{batteryPackTemp}, - battery_pack_soc = #{batteryPackSoc}, - battery_pack_soh = #{batteryPackSoh}, - battery_pack_insulation_resistance = #{batteryPackInsulationResistance}, - avg_cell_voltage = #{avgCellVoltage}, - avg_cell_temp = #{avgCellTemp}, + operation_status = #{operationStatus}, + stack_voltage = #{stackVoltage}, + stack_current = #{stackCurrent}, + stack_soc = #{stackSoc}, + stack_soh = #{stackSoh}, max_cell_voltage = #{maxCellVoltage}, - max_cell_voltage_id = #{maxCellVoltageId}, + max_voltage_group_id = #{maxVoltageGroupId}, + max_voltage_cell_id = #{maxVoltageCellId}, min_cell_voltage = #{minCellVoltage}, - min_cell_voltage_id = #{minCellVoltageId}, + min_voltage_group_id = #{minVoltageGroupId}, + min_voltage_cell_id = #{minVoltageCellId}, max_cell_temp = #{maxCellTemp}, - max_cell_temp_id = #{maxCellTempId}, + max_temp_group_id = #{maxTempGroupId}, + max_temp_cell_id = #{maxTempCellId}, min_cell_temp = #{minCellTemp}, - min_cell_temp_id = #{minCellTempId}, - max_cell_soc = #{maxCellSoc}, - max_cell_soc_id = #{maxCellSocId}, - min_cell_soc = #{minCellSoc}, - min_cell_soc_id = #{minCellSocId}, - max_cell_soh = #{maxCellSoh}, - max_cell_soh_id = #{maxCellSohId}, - min_cell_soh = #{minCellSoh}, - min_cell_soh_id = #{minCellSohId}, - total_charge_energy = #{totalChargeEnergy}, - total_discharge_energy = #{totalDischargeEnergy}, + min_temp_group_id = #{minTempGroupId}, + min_temp_cell_id = #{minTempCellId}, + total_charge_capacity = #{totalChargeCapacity}, + total_discharge_capacity = #{totalDischargeCapacity}, + session_charge_capacity = #{sessionChargeCapacity}, + session_discharge_capacity = #{sessionDischargeCapacity}, + available_charge_capacity = #{availableChargeCapacity}, + available_discharge_capacity = #{availableDischargeCapacity}, + remaining_discharge_time = #{remainingDischargeTime}, + remaining_charge_time = #{remainingChargeTime}, + max_discharge_power = #{maxDischargePower}, + max_charge_power = #{maxChargePower}, + max_discharge_current = #{maxDischargeCurrent}, + max_charge_current = #{maxChargeCurrent}, + daily_discharge_cycles = #{dailyDischargeCycles}, + daily_charge_cycles = #{dailyChargeCycles}, + daily_discharge_capacity = #{dailyDischargeCapacity}, + daily_charge_capacity = #{dailyChargeCapacity}, + operating_temp = #{operatingTemp}, + bms_status = #{bmsStatus}, + bms_charge_status = #{bmsChargeStatus}, + stack_insulation_resistance = #{stackInsulationResistance}, + site_id = #{siteId}, + device_id = #{deviceId}, + create_time = #{createTime}, + create_by = #{createBy}, + update_time = #{updateTime}, + update_by = #{updateBy}, where id = #{id} @@ -303,25 +274,4 @@ #{id} - - \ No newline at end of file