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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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);
}