| | |
| | | import com.fgkj.dao.BattTestData;
|
| | | import com.fgkj.dao.BattinfGroupFactory;
|
| | | import com.fgkj.dao.DAOHelper;
|
| | | import com.fgkj.dao.FBS9100_ComBase;
|
| | | import com.fgkj.dao.ProcessServerDao;
|
| | | import com.fgkj.dao.impl.App_SysImpl;
|
| | | import com.fgkj.dao.impl.BattInfImpl;
|
| | |
| | | PreparedStatement ps=null;
|
| | | boolean b=((BattInfImpl)dao).updateIp(obj);
|
| | | if(b){
|
| | | boolean bl=(new Fbs9100_setparamImpl()).sendCmdToFBS9100Dev(binf.getNum(), binf.getFBSDeviceId());
|
| | | boolean bl=(new Fbs9100_setparamImpl()).sendCmdToFBS9100Dev(binf.getNum(),FBS9100_ComBase.CMD_TESTCMD_NULL, binf.getFBSDeviceId());
|
| | | if(bl){
|
| | | //将6185的服务设为重启
|
| | | Process_survey process=new Process_survey();
|
| | |
| | | //根据维护区和机房名称查询电池组信息
|
| | | public ServiceModel searchInform(Object obj) {
|
| | | List<BattInf> list=((BattInfImpl)dao).searchInform(obj);
|
| | | if (list != null && list.size() > 0) {
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | | model.setMsg("查询成功!");
|
| | | }
|
| | | else{
|
| | | model.setCode(0);
|
| | | model.setMsg("查询失败!");
|
| | | }
|
| | | return model;
|
| | | }
|
| | | //根据维护区和机房名称查询电池组信息
|
| | | public ServiceModel searchInform1(Object obj) {
|
| | | List<BattInf> list=((BattInfImpl)dao).searchInform1(obj);
|
| | | if (list != null && list.size() > 0) {
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | |
| | | BattInf_Rebuild brinf=(BattInf_Rebuild) listr.get(z);
|
| | | if((j+1)==brinf.getNew_monum()&&b.getBattGroupId()==brinf.getNew_battgroupid()){
|
| | | b.setBattProducer(brinf.getOld_battproducer());
|
| | | b.setNum(1);
|
| | | }
|
| | | if((j+1)==brinf.getOld_monum()&&b.getBattGroupId()==brinf.getOld_battgroupid()){
|
| | | b.setNum(0);
|
| | | break;
|
| | | }
|
| | | }
|
| | | list_b.add(b);
|