| | |
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.fgkj.dto.User_log;
|
| | | import com.fgkj.dto.ram.Fbs9100_battparam;
|
| | | import com.fgkj.dto.ram.Fbs9100_setparam;
|
| | | import com.fgkj.dto.ram.Fbs9100_sysparam;
|
| | | import com.fgkj.services.User_logService;
|
| | |
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //批量重启设备
|
| | | public String restartPL_FBS() {
|
| | | List<Fbs9100_sysparam> list=getGson().fromJson(json, new TypeToken<List<Fbs9100_sysparam>>(){}.getType());
|
| | | ServiceModel model = service.restartPL_FBS(list);
|
| | | { String msg="批量重启"+json_msg+"的设备";
|
| | | User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Batch, msg);
|
| | | uservice.add(ulog);//将用户的操作记录下来
|
| | | }
|
| | | result = tojson(model); |
| | | return SUCCESS; |
| | | }
|
| | |
|
| | | //根据设备id查询系统参数(一定是被管理的)
|
| | | public String serchByCondition(){
|
| | |
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | //批量读取系统参数
|
| | | public String readPL() {
|
| | | List<Fbs9100_sysparam> list=getGson().fromJson(json, new TypeToken<List<Fbs9100_sysparam>>(){}.getType());
|
| | | ServiceModel model = service.readPL(list);
|
| | | /*{
|
| | | String msg="批量读取"+json_msg+"的电池参数信息";
|
| | | User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Batch, msg);
|
| | | uservice.add(ulog);//将用户的操作记录下来
|
| | | }*/
|
| | | result = tojson(model); |
| | | return SUCCESS; |
| | | }
|
| | |
|
| | |
|
| | | public String getResult() {
|