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);
|
}
|