czt
2 天以前 51faf3e9c3c613e7fb12db6c88356946f2429e0c
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
package com.fzzy.igds.io.service;
 
import com.fzzy.igds.request.ExeBaseRequest;
import com.fzzy.igds.request.GrainReqData;
import com.fzzy.igds.response.GrainResponse;
 
/**
 * @Description 远程执行粮情接口,需要在每个协议包中实现    系统默认实现一个Default
 * @Author CZT
 * @Date 2025/12/9 10:19
 */
public interface RemoteGrainService {
 
    /**
     * 当前协议名称,系统根据协议名称自动调用分机匹配的协议实现
     *
     *
     */
    String getProtocol();
 
 
    /**
     * 粮情检测接口
     *
     * @param request 请求参数
     */
    GrainResponse checkGrain(ExeBaseRequest<GrainReqData> request);
 
}