| | |
| | | import com.fgkj.dto.Batt_State;
|
| | | import com.fgkj.dto.Batt_param_low;
|
| | | import com.fgkj.dto.Batttestdata_inf;
|
| | | import com.fgkj.dto.Page;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.sun.net.httpserver.Authenticator.Success;
|
| | |
|
| | |
| | | float standard_monvol=(new Battmon_testcapImpl()).serchByStandardvol(bs.getBinf().getMonVolStd(), bs.getBstate().getBatt_test_cap(), bs.getBinf().getMonCapStd());
|
| | | float real_cap=(float)(((bs.getBstate().getGroup_vol())-38)/(standard_monvol*bs.getBstate().getBatt_count()-38)*(bs.getBinf().getMonCapStd()*1.2));
|
| | | list.get(i).getBstate().setBatt_real_cap(Math.abs(real_cap));
|
| | | //System.out.println("1:"+standard_monvol);
|
| | | }
|
| | | //System.out.println(bs.getBstate().getBattGroupId()+" "+bs.getBstate().getBatt_test_cap()+" "+max_cap+" "+bs.getBinf().getMonCapStd());
|
| | | }
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | |
| | | tdata.setNum(0);
|
| | | tdata.setTest_starttype(0);
|
| | | BattInf binf=new BattInf();
|
| | | binf.setNum(1002);
|
| | | binf.setStationName("");
|
| | | binf.setStationName1("");
|
| | | binf.setStationName2("");
|
| | | binf.setStationName5("");
|
| | | binf.setMonVolStd(12f);
|
| | | binf.setMonVolStd(0f);
|
| | | Page page=new Page();
|
| | | page.setPageCurr(1);
|
| | | page.setPageSize(10);
|
| | | binf.setPage(page);
|
| | | binf.setBattProductDate(ActionUtil.getSimpDate(date1));
|
| | | binf.setBattProductDate1(ActionUtil.getSimpDate(date2));
|
| | | bmd.setTdata(tdata);
|
| | | bmd.setBinf(binf);
|
| | | bs.serchBattLife(binf);
|
| | | //bs.serchBattLife(binf);
|
| | | //bs.serchByInfo(bmd);
|
| | | bs.serchBattLifeNow(binf);
|
| | | }
|
| | | }
|