#
Junjie
6 天以前 2f4a70cf2be3a35b7770d1b6cf105560856b4897
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);//下发命令
 
}