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 getStatus(Integer deviceNo);//设备状态 CommandResponse sendCommand(Integer deviceNo, StationCommand command);//下发命令 CommandResponse sendOriginCommand(String address, short[] data);//原始命令 byte[] readOriginCommand(String address, int length);//读取原始数据 }