#
Junjie
昨天 8a4bd065579826eda6f7fa8fe165c83e02badcca
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);//下发命令
 
}