jiazx0107@163.com
2023-12-14 8435cf1d25d07b09e2a9937d39bed1c1a422e4f0
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
package com.fzzy.gateway.api;
 
 
import com.fzzy.gateway.data.BaseResp;
import com.fzzy.gateway.data.BaseReqData;
import com.fzzy.gateway.hx2023.data.KafaGrainData;
 
/**
 * 网关设备同步接口,根据业务需求定义接口
 */
public interface GatewaySyncGranService {
 
    /**
     * 协议定义
     *
     * @return
     */
    String getGrainProtocol();
 
 
    /**
     * 同步粮情信息返回JSON报文
     *
     * @param reqData
     * @return
     */
    public BaseResp syncGrain(BaseReqData reqData);
}