|
|
@ -492,6 +492,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
parameter.put("startStakeMark", start); |
|
|
|
parameter.put("endStakeMark", end); |
|
|
|
parameter.put("useState",UniversalEnum.ONE.getNumber()); |
|
|
|
parameter.put("deviceState", UniversalEnum.ONE.getValue()); |
|
|
|
dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); |
|
|
|
Collections.sort(dcDevices, new Comparator<DcDevice>() { |
|
|
|
@Override |
|
|
@ -516,6 +517,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
parameter.put("startStakeMark", start); |
|
|
|
parameter.put("endStakeMark", end); |
|
|
|
parameter.put("useState",UniversalEnum.ONE.getNumber()); |
|
|
|
parameter.put("deviceState", UniversalEnum.ONE.getValue()); |
|
|
|
dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); |
|
|
|
Collections.sort(dcDevices, new Comparator<DcDevice>() { |
|
|
|
@Override |
|
|
@ -543,6 +545,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
parameter.put("startStakeMark", start); |
|
|
|
parameter.put("endStakeMark", end); |
|
|
|
parameter.put("useState",UniversalEnum.ONE.getNumber()); |
|
|
|
parameter.put("deviceState", UniversalEnum.ONE.getValue()); |
|
|
|
dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); |
|
|
|
Collections.sort(dcDevices, new Comparator<DcDevice>() { |
|
|
|
@Override |
|
|
@ -567,6 +570,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
parameter.put("startStakeMark", start); |
|
|
|
parameter.put("endStakeMark", end); |
|
|
|
parameter.put("useState",UniversalEnum.ONE.getNumber()); |
|
|
|
parameter.put("deviceState", UniversalEnum.ONE.getValue()); |
|
|
|
dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); |
|
|
|
Collections.sort(dcDevices, new Comparator<DcDevice>() { |
|
|
|
@Override |
|
|
@ -596,6 +600,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
parameter.put("endStakeMark", end); |
|
|
|
parameter.put("deviceType", dcExecuteAction.getDeviceType()); |
|
|
|
parameter.put("useState",UniversalEnum.ONE.getNumber()); |
|
|
|
parameter.put("deviceState", UniversalEnum.ONE.getValue()); |
|
|
|
// 根据桩号范围,查询附近设备
|
|
|
|
dcDevices = dcDeviceService.devicePileNumberQueryDevice(parameter); |
|
|
|
} |
|
|
|