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