| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import javax.servlet.http.HttpServletResponse;
|
| | |
|
| | | import com.fgkj.actions.ActionUtil;
|
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | |
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //导航上实时查询61850设备的处于核容测试的数据
|
| | | //导航上实时查询61850设备的处于核容测试的数据
|
| | | public String seach6185Nuclear_cap(){
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | ServiceModel model = service.seach6185Nuclear_cap(uinf);
|
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //导航上实时查询bts处于放电测试的数据的设备
|
| | | public String seachNuclear_cap(){
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | ServiceModel model = service.seachNuclear_cap(uinf);
|
| | | result = tojson(model);
|
| | | return SUCCESS; |
| | | }
|
| | | |
| | | //11.1FBS9100设备通信状态查询 <-- 跨域 -->
|
| | | public String serchByCondition_ky(){
|
| | | HttpServletResponse res = ActionUtil.getResponse();
|
| | | res.setHeader("Access-Control-Allow-Origin", "*"); //允许跨域访问
|
| | | res.setHeader("Access-Control-Allow-Headers", "X-Requested-With,content-type,token");
|
| | | res.setHeader("Access-Control-Allow-Methods", "GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, PATCH");
|
| | | ServiceModel model = service.serchByCondition_ky();
|
| | | result = tojson(model);
|
| | | return SUCCESS; |
| | | }
|
| | | |
| | | |
| | | public String getResult() {
|
| | | return result;
|
| | | }
|