| | |
| | | import com.whyc.dto.RealTimeDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.factory.BattCapFactory; |
| | | import com.whyc.pojo.db_batt_testdata.BatttestdataInf; |
| | | import com.whyc.pojo.db_ram_db.BattRtstate; |
| | | import com.whyc.pojo.db_ram_db.DeviceState; |
| | | import com.whyc.pojo.db_ram_db.PwrdevAcdcdata; |
| | |
| | | //获取系统概述界面信息 |
| | | private Response getSystemPage(RealTimeDto realDto) { |
| | | try { |
| | | |
| | | //实时获取电池组信息 |
| | | BattRtstate battRtstate = battRtstateService.getBattRealInfo(realDto.getBattgroupId()); |
| | | //实时获取设备信息 |
| | | DeviceState deviceState = deviceStateService.getDevRealInfo(realDto.getDevId()); |
| | | //获取上一次标准核容信息 |
| | | BatttestdataInf tinfData= batttestdataInfService.getLastStandardTestData(realDto.getBattgroupId()); |
| | | //获取近半小时电源数据 |
| | | //获取近半小时整流器数据 |
| | | //获取近半小时核容设备数据 |
| | | }catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |