字段值修改
This commit is contained in:
@ -31,7 +31,7 @@ public class PcsBranchInfo
|
|||||||
private String deviceId;
|
private String deviceId;
|
||||||
|
|
||||||
/** 支路id */
|
/** 支路id */
|
||||||
private Long branchId;
|
private String branchId;
|
||||||
|
|
||||||
public String getDischargeStatus() {
|
public String getDischargeStatus() {
|
||||||
return dischargeStatus;
|
return dischargeStatus;
|
||||||
@ -81,11 +81,11 @@ public class PcsBranchInfo
|
|||||||
this.deviceId = deviceId;
|
this.deviceId = deviceId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getBranchId() {
|
public String getBranchId() {
|
||||||
return branchId;
|
return branchId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBranchId(Long branchId) {
|
public void setBranchId(String branchId) {
|
||||||
this.branchId = branchId;
|
this.branchId = branchId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,12 +51,12 @@ public class SingleSiteBaseInfo {
|
|||||||
/**
|
/**
|
||||||
* 装机功率(MW)
|
* 装机功率(MW)
|
||||||
*/
|
*/
|
||||||
private BigDecimal installedPower;
|
private BigDecimal installPower;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 装机容量(MW)
|
* 装机容量(MW)
|
||||||
*/
|
*/
|
||||||
private BigDecimal installedCap;
|
private BigDecimal installCapacity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 七天放电统计
|
* 七天放电统计
|
||||||
@ -79,20 +79,20 @@ public class SingleSiteBaseInfo {
|
|||||||
this.dayChargedCap = dayChargedCap;
|
this.dayChargedCap = dayChargedCap;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getInstalledCap() {
|
public BigDecimal getInstallPower() {
|
||||||
return installedCap;
|
return installPower;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setInstalledCap(BigDecimal installedCap) {
|
public void setInstallPower(BigDecimal installPower) {
|
||||||
this.installedCap = installedCap;
|
this.installPower = installPower;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getInstalledPower() {
|
public BigDecimal getInstallCapacity() {
|
||||||
return installedPower;
|
return installCapacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setInstalledPower(BigDecimal installedPower) {
|
public void setInstallCapacity(BigDecimal installCapacity) {
|
||||||
this.installedPower = installedPower;
|
this.installCapacity = installCapacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getRunningTime() {
|
public String getRunningTime() {
|
||||||
|
@ -57,8 +57,8 @@ public class HomePageServiceImpl implements IHomePageService
|
|||||||
if (emsSite != null) {
|
if (emsSite != null) {
|
||||||
// 装机功率+装机容量
|
// 装机功率+装机容量
|
||||||
singleSiteBaseInfo.setSiteName(emsSite.getSiteName());
|
singleSiteBaseInfo.setSiteName(emsSite.getSiteName());
|
||||||
singleSiteBaseInfo.setInstalledCap(emsSite.getInstallCapacity());
|
singleSiteBaseInfo.setInstallCapacity(emsSite.getInstallCapacity());
|
||||||
singleSiteBaseInfo.setInstalledPower(emsSite.getInstallPower());
|
singleSiteBaseInfo.setInstallPower(emsSite.getInstallPower());
|
||||||
String[] siteLocation = new String[2];
|
String[] siteLocation = new String[2];
|
||||||
siteLocation[0] = emsSite.getLongitude() == null ? "" : emsSite.getLongitude().toString();
|
siteLocation[0] = emsSite.getLongitude() == null ? "" : emsSite.getLongitude().toString();
|
||||||
siteLocation[1] = emsSite.getLatitude() == null ? "" : emsSite.getLatitude().toString();
|
siteLocation[1] = emsSite.getLatitude() == null ? "" : emsSite.getLatitude().toString();
|
||||||
|
Reference in New Issue
Block a user