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