| | |
| | | private final ImageResourceSecurityMapper imageResourceSecurityMapper; |
| | | |
| | | private static final BigDecimal NUM = new BigDecimal("0.15"); |
| | | //TODO:加任务 |
| | | |
| | | public void siteOnlineTask() { |
| | | log.info("开始计算点位在线率"); |
| | | List<TMonitorResult> tMonitorResults = monitorMapper.selectMonitorResult(CheckConstants.Rule_Category_Video); |
| | | List<TMonitorResult> tMonitorResults = monitorMapper.selectMonitorResult(CheckConstants.Rule_Category_Video,null); |
| | | CalculationStrategy calculator = IndexCalculationFactory.getCalculator(CalculationStrategyConstants.Video_SiteOnline); |
| | | calculator.calculate(tMonitorResults); |
| | | log.info("结束计算点位在线率"); |