|
|
@ -83,7 +83,16 @@ public class T_MonitorServiceImpl implements IT_MonitorService
|
|
|
|
TSetmonitorthresholdvalue tSetmonitorthresholdvalue = new TSetmonitorthresholdvalue();
|
|
|
|
TSetmonitorthresholdvalue tSetmonitorthresholdvalue = new TSetmonitorthresholdvalue();
|
|
|
|
tSetmonitorthresholdvalue.setMonitorId(t_Monitor.getMonitorId());
|
|
|
|
tSetmonitorthresholdvalue.setMonitorId(t_Monitor.getMonitorId());
|
|
|
|
tSetmonitorthresholdvalue.setMonitorType(16);
|
|
|
|
tSetmonitorthresholdvalue.setMonitorType(16);
|
|
|
|
tSetmonitorthresholdvalueService.insertTSetmonitorthresholdvalue(tSetmonitorthresholdvalue);
|
|
|
|
try {
|
|
|
|
|
|
|
|
TSetmonitorthresholdvalue setmonitorthresholdvalue = new TSetmonitorthresholdvalue();
|
|
|
|
|
|
|
|
setmonitorthresholdvalue.setMonitorId(t_Monitor.getMonitorId());
|
|
|
|
|
|
|
|
List<TSetmonitorthresholdvalue> tSetmonitorthresholdvalueList = tSetmonitorthresholdvalueService.selectTSetmonitorthresholdvalueList(setmonitorthresholdvalue);
|
|
|
|
|
|
|
|
if (tSetmonitorthresholdvalueList.size() == 0){
|
|
|
|
|
|
|
|
tSetmonitorthresholdvalueService.insertTSetmonitorthresholdvalue(tSetmonitorthresholdvalue);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|