| | |
| | | public String seachDischarge(){
|
| | | BattInf binf=getGson().fromJson(json, BattInf.class);
|
| | | User_inf uinf=(User_inf) getUser();
|
| | | binf.setNum(uinf.getUId());
|
| | | binf.setBattGroupId(uinf.getUId());
|
| | | ServiceModel model = service.seachDischarge(binf);
|
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //实时刷新批量设置放电参数
|
| | | public String freshenDischarge(){
|
| | | List list=getGson().fromJson(json,new TypeToken<List<BattInf>>(){}.getType());
|
| | | ServiceModel model = service.freshenDischarge(list);
|
| | | result = tojson(model);
|
| | | return SUCCESS; |
| | | }
|
| | | //11.1FBS9100设备通信状态查询 <-- 跨域 -->
|
| | | public String serchByCondition_ky(){
|
| | | //isAllowHeaders(); //允许跨域访问
|