jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.ld.igds.io.notify;
 
import java.util.List;
import com.ld.igds.check.dto.CheckItemData;
import com.ld.igds.io.response.ProtocolResponse;
import com.ld.igds.io.sample.data.SampleDto;
 
/**
 * 扦样机 通知接口
 * 
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年3月13日
 *
 */
public interface NotifyCheckMacService {
 
    public static final String BEAN_ID = "notify.CheckMacService";
 
    /**
     * 扦样机通知信息
     * 
     * @param response
     */
    void notify(ProtocolResponse<SampleDto> response);
 
    /**
     * 化验结果通知
     * 
     * @param response
     */
    void notifyCheckResult(ProtocolResponse<List<CheckItemData>> response);
 
    void onCreate(String address, Integer port);
 
    void onDestroy(String address, Integer port);
}