|
|
|
@ -140,8 +140,10 @@ public class T_W_TemperturedataController extends BaseController
|
|
|
|
|
*/
|
|
|
|
|
public String getTempFirstMonitorId(){
|
|
|
|
|
List<T_W_Temperturedata> t_w_temperturedata = t_W_TemperturedataService.select_Temp_TopOne();
|
|
|
|
|
String monitorId = t_w_temperturedata.get(0).getMonitorId();
|
|
|
|
|
return monitorId;
|
|
|
|
|
if (t_w_temperturedata.size() > 0){
|
|
|
|
|
return t_w_temperturedata.get(0).getMonitorId();
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -150,8 +152,10 @@ public class T_W_TemperturedataController extends BaseController
|
|
|
|
|
*/
|
|
|
|
|
public String getIllFirstMonitorId(){
|
|
|
|
|
List<T_W_Temperturedata> t_w_temperturedata = t_W_TemperturedataService.select_Ill_TopOne();
|
|
|
|
|
String monitorId = t_w_temperturedata.get(0).getMonitorId();
|
|
|
|
|
return monitorId;
|
|
|
|
|
if (t_w_temperturedata.size() > 0){
|
|
|
|
|
return t_w_temperturedata.get(0).getMonitorId();
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|