#1
dubin
4 天以前 f9ccc882fc1b1296f0c843a888a5962b45df236d
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);//下发命令
 
}