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