#
Junjie
7 天以前 410a7a2ca039361a0082655fd95f79abd50ca33f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.zy.core.network.api;
 
import java.util.List;
 
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.StationCommand;
import com.zy.core.network.entity.ZyStationStatusEntity;
 
public interface ZyStationConnectApi {
 
    boolean connect();
 
    boolean disconnect();
 
    List<ZyStationStatusEntity> getStatus(Integer deviceNo);//设备状态
 
    CommandResponse sendCommand(Integer deviceNo, StationCommand command);//下发命令
 
}