mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 枪口充电记录
This commit is contained in:
@@ -132,4 +132,6 @@ public interface IPileConnectorInfoService {
|
||||
List<ConnectorInfoVO> getConnectorListForLianLian(Long stationId);
|
||||
|
||||
List<ConnectorInfoVO> selectConnectorInfoList(String pileSn);
|
||||
|
||||
PageResponse selectStationConnectorList(QueryConnectorListDTO dto);
|
||||
}
|
||||
|
||||
@@ -423,6 +423,12 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
||||
return connectorInfoList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageResponse selectStationConnectorList(QueryConnectorListDTO dto) {
|
||||
PageResponse response = getUniAppConnectorInfoListByParams(dto);
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询充电枪口的实时数据
|
||||
*/
|
||||
@@ -448,7 +454,8 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
||||
pileConnectorInfoVO.setChargingDegree(new BigDecimal(realTimeMonitorData.getChargingDegree()));
|
||||
pileConnectorInfoVO.setGunLineTemperature(realTimeMonitorData.getGunLineTemperature()); // 枪线温度
|
||||
pileConnectorInfoVO.setTimeRemaining(realTimeMonitorData.getTimeRemaining());
|
||||
pileConnectorInfoVO.setChargingTime(realTimeMonitorData.getSumChargingTime());
|
||||
pileConnectorInfoVO.setChargingTime(realTimeMonitorData.getSumChargingTime()); // 已充时长
|
||||
pileConnectorInfoVO.setTimeRemaining(realTimeMonitorData.getTimeRemaining()); // 剩余时间
|
||||
// 计算实时功率(单位:kw)
|
||||
BigDecimal instantPowerTemp = outputVoltage.multiply(outputCurrent);
|
||||
BigDecimal instantPower = instantPowerTemp.divide(new BigDecimal(1000));
|
||||
|
||||
@@ -102,6 +102,11 @@ public class PileConnectorInfoVO {
|
||||
*/
|
||||
private String chargingTime;
|
||||
|
||||
/**
|
||||
* 剩余时间
|
||||
*/
|
||||
private String timeRemaining;
|
||||
|
||||
/**
|
||||
* 电压
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user