1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| package com.tievd.jyz.handler.alg;
|
| import com.alibaba.fastjson.JSONObject;
| import com.tievd.jyz.mqtt.dto.EventInfoDTO;
|
| /**
| * 算法处理接口
| * @author timi
| */
| public interface AlgHandleInterface {
|
| /**
| * 获取算法类编码标识
| * @return
| */
| String[] getAlgTag();
|
| /**
| * 处理入口
| * @param eventInfoDTO
| * @param sn
| * @param time
| */
| void handle(EventInfoDTO<JSONObject> eventInfoDTO, String sn,String time);
| }
|
|