#
Junjie
3 天以前 5e644156839fbb018fe63972ee74be550540a06a
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);//下发命令
 
}