| | |
| | | import com.fgkj.dao.BaseDAOFactory;
|
| | | import com.fgkj.dao.FBS9100_ComBase;
|
| | | import com.fgkj.dao.impl.ram.Bts_gprs_stateImpl;
|
| | | import com.fgkj.dao.impl.ram.Fbs9100_setparamImpl;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.fgkj.dto.ram.Bts_gprs_state;
|
| | |
|
| | |
| | |
|
| | | return model;
|
| | | }
|
| | | |
| | | //获取设备进程信息
|
| | | public ServiceModel update_bts_task_inf(Object obj) {
|
| | | Bts_gprs_state gprs=(Bts_gprs_state) obj;
|
| | | boolean bl=(new Fbs9100_setparamImpl()).sendCmdToFBS9100Dev(gprs.getNum(),0,gprs.getDev_id());
|
| | | if(bl){
|
| | | model.setCode(1);
|
| | | model.setMsg("获取设备进程信息成功!");
|
| | | }else{
|
| | | model.setCode(0);
|
| | | model.setMsg("获取设备进程信息失败,请检查网络!");
|
| | | }
|
| | | return model; |
| | | }
|
| | | //根据设备id读取的设备连接的gprs模块的信号值
|
| | | public ServiceModel serchByCondition(Object obj){
|
| | | List list = dao.serchByCondition(obj);
|