jiazx0107@163.com
2023-12-14 a69402c8b67d8ce4b698d0c394d15ff43b5d99d0
src/main/java/com/fzzy/gateway/api/GatewayRemoteService.java
@@ -1,6 +1,5 @@
package com.fzzy.gateway.api;
import com.fzzy.gateway.data.GatewayResponse;
import com.fzzy.gateway.entity.GatewayConf;
@@ -15,11 +14,28 @@
    /**
     * 数据推送
     *
     * @param conf 参数
     * 网关设备初始化
     * @param gatewayConf
     */
    public GatewayResponse authorize(GatewayConf conf);
    void init(GatewayConf gatewayConf);
    /**
     * 网关设备心跳维持
     * @param gatewayConf
     */
    void heartbeat(GatewayConf gatewayConf);
    /**
     * 网关设备信息上报
     * @param gatewayConf
     */
    void pushInfo(GatewayConf gatewayConf);
    /**
     * 获取当前网关下的设备列表,并上报设备状态
     * @param gatewayConf
     */
    void pushDeviceStatus(GatewayConf gatewayConf);
}