运行策略轮询PCS设备配置读取逻辑修改
This commit is contained in:
@ -277,15 +277,6 @@ public class StrategyPoller {
|
||||
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) {
|
||||
EmsDevicesSetting device = emsDevicesMapper.getDeviceBySiteAndDeviceId(deviceId, siteId);
|
||||
if (device == null) {
|
||||
|
||||
Reference in New Issue
Block a user