|
@@ -239,13 +239,15 @@ public class StatusService {
|
|
|
private boolean isJcl(Date currentDate, Map<String, ProBasicEquipmentPoint> stringWindturbinetestingpointnewMap) throws Exception {
|
|
|
boolean isJcl = false;
|
|
|
ProBasicEquipmentPoint zsgdPoint = stringWindturbinetestingpointnewMap.get(ContantXk.CJ_YLZSGD);
|
|
|
-
|
|
|
- if (!zsgdPoint.getNemCode().equals("INITIAL")){
|
|
|
- Double realData = edosUtil.getSectionData(zsgdPoint,currentDate.getTime()).getPointValueInDouble();
|
|
|
- if (realData<Double.parseDouble(AI110)){
|
|
|
- isJcl = true;
|
|
|
+ if (zsgdPoint != null){
|
|
|
+ if (!zsgdPoint.getNemCode().equals("INITIAL")){
|
|
|
+ Double realData = edosUtil.getSectionData(zsgdPoint,currentDate.getTime()).getPointValueInDouble();
|
|
|
+ if (realData<Double.parseDouble(AI110)){
|
|
|
+ isJcl = true;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
return isJcl;
|
|
|
}
|
|
|
|