dev #2
@ -277,15 +277,6 @@ public class StrategyPoller {
|
|||||||
return writeTags;
|
return writeTags;
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<String> getMatchFields(Integer clusterNum) {
|
|
||||||
List<String> matchFields = new ArrayList<>();
|
|
||||||
for (int i = 1; i <= clusterNum; i++) {
|
|
||||||
//电池簇PCS有功功率给定
|
|
||||||
matchFields.add("cluster"+ i +"_active_power");
|
|
||||||
}
|
|
||||||
return matchFields;
|
|
||||||
}
|
|
||||||
|
|
||||||
public DeviceConfig getDeviceConfig(String siteId, String deviceId, EmsPcsSetting pcsSetting, ChargeStatus chargeStatus, BigDecimal chargeDischargePower) {
|
public DeviceConfig getDeviceConfig(String siteId, String deviceId, EmsPcsSetting pcsSetting, ChargeStatus chargeStatus, BigDecimal chargeDischargePower) {
|
||||||
EmsDevicesSetting device = emsDevicesMapper.getDeviceBySiteAndDeviceId(deviceId, siteId);
|
EmsDevicesSetting device = emsDevicesMapper.getDeviceBySiteAndDeviceId(deviceId, siteId);
|
||||||
if (device == null) {
|
if (device == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user