package com.ld.igds.io.notify;
|
|
import com.ld.igds.constant.BizType;
|
import com.ld.igds.gas.dto.GasProgressData;
|
import com.ld.igds.io.constant.OrderRespEnum;
|
import com.ld.igds.order.data.OrderProgress;
|
import com.ld.igds.pest.dto.PestProgressData;
|
import com.ld.igds.quantity.dto.QuantityProgressData;
|
|
/**
|
* @author Andy
|
*
|
*/
|
public interface NotifyWebInvoker {
|
|
String BEAN_ID = "notifyWebInvoker";
|
|
/**
|
* 直接通知页面
|
*
|
* @param companyId
|
* @param orderResp
|
* @param notifyMsg
|
*/
|
void notifyWeb(String companyId, OrderRespEnum orderResp, BizType bizType,String notifyMsg);
|
|
/**
|
* 登录踢出通知
|
* @param companyId
|
* @param userId
|
* @param orderResp
|
* @param bizType
|
* @param notifyMsg
|
*/
|
void notifyWeb(String companyId, String deptId, String userId, OrderRespEnum orderResp, BizType bizType,String notifyMsg);
|
|
/**
|
* 执行进度通知
|
* @param progress
|
*/
|
void notifyGasProgress(GasProgressData progress);
|
|
|
/**
|
* 执行进度通知
|
* @param progress
|
*/
|
void notifyPestProgress(PestProgressData progress);
|
|
/**
|
* 用于通知设备状态查询完成
|
* @param companyId
|
* @param orderResp
|
* @param notifyMsg
|
*/
|
void notifyAnalysisStatusSuccess(String companyId, String serId,OrderRespEnum orderResp, String notifyMsg);
|
|
/**
|
* 推送命令执行进度,例如批量粮情采集的执行进度信息
|
*
|
* @param companyId
|
* @param bizType
|
* @param progress
|
*/
|
void notifyWebOrderProgress(String companyId, String bizType, OrderProgress progress);
|
|
|
|
void notifyQuantityProgress(QuantityProgressData progress);
|
}
|