|
|
@ -64,6 +64,16 @@ public class DcWarningServiceImpl implements IDcWarningService |
|
|
|
private static final String WARNINGSTRATEGY = "warningStrategy";//redis策略缓存的key
|
|
|
|
private static final String WARNINGDATA = "warningData:";//redis事件缓存的key
|
|
|
|
private static String JUDGE = "1"; //自定义判断参数,1为满足0为不满足
|
|
|
|
|
|
|
|
/** |
|
|
|
* 感知事件数据统计 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public int dcWarningCountNumber() { |
|
|
|
return dcWarningMapper.dcWarningCountNumber(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询预警信息 |
|
|
|
* |
|
|
|