81041
2019-03-06 c7e3de277ce15dfda4315611f02d85ebfa421831
修改实时续航
2个文件已修改
13 ■■■■ 已修改文件
gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/Batttestdata_infService.class 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/src/com/fgkj/services/Batttestdata_infService.java 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/Batttestdata_infService.class
Binary files differ
gx_tieta/src/com/fgkj/services/Batttestdata_infService.java
@@ -21,6 +21,7 @@
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;
@@ -474,7 +475,9 @@
                    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);
@@ -643,16 +646,22 @@
        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);
    }
}