#AI
Junjie
6 天以前 8e5472d9529e8759c68299e98d5004cc8aa61e3e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.zy.core.network.api;
 
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.CrnCommand;
import com.zy.core.network.entity.ZyCrnStatusEntity;
 
public interface ZyCrnConnectApi {
 
    boolean connect();
 
    boolean disconnect();
 
    ZyCrnStatusEntity getStatus();//设备状态
 
    CommandResponse sendCommand(CrnCommand command);//下发命令
 
}