mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 广西平台Service
This commit is contained in:
@@ -1245,6 +1245,9 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
equipmentInfo.setNewNationalStandard(1);
|
||||
equipmentInfo.setVinFlag(1);
|
||||
equipmentInfo.setEquipmentName(pileSn);
|
||||
equipmentInfo.setEquipmentInvestment(new BigDecimal("0.0"));
|
||||
equipmentInfo.setProductSN(pileSn);
|
||||
equipmentInfo.setOpenDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, pileDetailInfoVO.getCreateTime()));
|
||||
equipmentInfo.setPower(new BigDecimal(pileDetailInfoVO.getRatedPower()).setScale(1, BigDecimal.ROUND_HALF_UP));
|
||||
|
||||
// 枪口列表
|
||||
@@ -1371,15 +1374,19 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
if (StringUtils.isNotBlank(pileConnectorInfo.getParkNo())) {
|
||||
connectorInfo.setParkNo(pileConnectorInfo.getParkNo());
|
||||
}
|
||||
connectorInfo.setVoltageUpperLimits(Integer.valueOf(pileDetailInfoVO.getRatedVoltage()));
|
||||
connectorInfo.setVoltageUpperLimits(Integer.parseInt(pileDetailInfoVO.getRatedVoltage()));
|
||||
connectorInfo.setEquipmentClassification(1);
|
||||
connectorInfo.setVoltageLowerLimits(Integer.valueOf(pileDetailInfoVO.getRatedVoltage()));
|
||||
connectorInfo.setCurrent(Integer.valueOf(pileDetailInfoVO.getRatedCurrent()));
|
||||
connectorInfo.setVoltageLowerLimits(Integer.parseInt(pileDetailInfoVO.getRatedVoltage()));
|
||||
connectorInfo.setCurrent(Integer.parseInt(pileDetailInfoVO.getRatedCurrent()));
|
||||
connectorInfo.setConnectorName(pileConnectorInfo.getPileConnectorCode());
|
||||
connectorInfo.setOperateStatus(50); // 50-正常使用
|
||||
connectorInfo.setOpreateStatus(50); // 50-正常使用
|
||||
connectorInfo.setNationalStandard(2); // 2-2015
|
||||
connectorInfo.setNationalStandard(StringUtils.equals("1", pileDetailInfoVO.getSpeedType()) ? 12 : 11); // 2-2015
|
||||
connectorInfo.setAuxPower(3); // 3-兼容12V和24V
|
||||
connectorInfo.setStatus(Integer.parseInt(pileConnectorInfo.getStatus()));
|
||||
connectorInfo.setCurrentUpperLimits(Integer.parseInt(pileDetailInfoVO.getRatedCurrent()));
|
||||
connectorInfo.setCurrentLowerLimits(Integer.parseInt(pileDetailInfoVO.getRatedCurrent()));
|
||||
connectorInfo.setPowerType(StringUtils.equals(Constants.ONE, pileDetailInfoVO.getSpeedType()) ? 2 : 1);
|
||||
|
||||
if (!StringUtils.equals(pileDetailInfoVO.getConnectorNum(), "1")) {
|
||||
// 如果不是单枪,则枪口功率需要除以枪口数量
|
||||
|
||||
@@ -47,6 +47,12 @@ public class ConnectorInfo {
|
||||
@JSONField(name = "ConnectorType")
|
||||
private Integer connectorType;
|
||||
|
||||
/**
|
||||
* 枪口状态
|
||||
*/
|
||||
@JSONField(name = "Status")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 额定电压上限(单位:V) Y
|
||||
*/
|
||||
@@ -83,6 +89,18 @@ public class ConnectorInfo {
|
||||
@JSONField(name = "ConstantCurrentUpperLimits")
|
||||
private Integer ConstantCurrentUpperLimits;
|
||||
|
||||
/**
|
||||
* 额 定 电 流 上限
|
||||
*/
|
||||
@JSONField(name = "CurrentUpperLimits")
|
||||
private Integer currentUpperLimits;
|
||||
|
||||
/**
|
||||
* 额 定 电 流 下限
|
||||
*/
|
||||
@JSONField(name = "CurrentLowerLimits")
|
||||
private Integer currentLowerLimits;
|
||||
|
||||
/**
|
||||
*恒功率电流下限
|
||||
*/
|
||||
@@ -95,6 +113,12 @@ public class ConnectorInfo {
|
||||
@JSONField(name = "Power")
|
||||
private BigDecimal power;
|
||||
|
||||
/**
|
||||
* 接口功率类型
|
||||
*/
|
||||
@JSONField(name = "PowerType")
|
||||
private Integer powerType;
|
||||
|
||||
/**
|
||||
* 车位号 N
|
||||
* 停车场车位编号
|
||||
|
||||
@@ -140,6 +140,24 @@ public class EquipmentInfo {
|
||||
@JSONField(name = "Power")
|
||||
private BigDecimal power;
|
||||
|
||||
/**
|
||||
* 设备开通时间
|
||||
*/
|
||||
@JSONField(name = "OpenDate")
|
||||
private String openDate;
|
||||
|
||||
/**
|
||||
* 设备投资金额
|
||||
*/
|
||||
@JSONField(name = "EquipmentInvestment")
|
||||
private BigDecimal equipmentInvestment;
|
||||
|
||||
/**
|
||||
* 设备出厂序号
|
||||
*/
|
||||
@JSONField(name = "ProductSN")
|
||||
private String productSN;
|
||||
|
||||
|
||||
/**
|
||||
* 站点额定功率
|
||||
|
||||
Reference in New Issue
Block a user