| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import javax.servlet.http.HttpServletResponse;
|
| | |
|
| | | import com.fgkj.dao.impl.BattInfImpl;
|
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.Batt_Maint_Dealarm;
|
| | |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | | |
| | | //跨域访问获取所有电池组的信息<-------跨域----------->
|
| | | public String searchInform_ky(){
|
| | | isAllowHeaders(); //允许跨域访问
|
| | | ServiceModel model = new ServiceModel();
|
| | | model = service.searchInform_ky(); |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //首页上显示已安装数和全部基站数
|
| | | public String serchDevice(){
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | ServiceModel model = service.serchDevice(uinf);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | public BattInf getBif() {
|
| | | return bif;
|
| | | }
|