去掉ping功能, 异步状态下设备ping平台, 平台ping设备没用
This commit is contained in:
@@ -22,9 +22,6 @@ type Service interface {
|
||||
|
||||
// Switch 用于切换指定设备的状态, 比如启动和停止
|
||||
Switch(device models.Device, action DeviceAction) error
|
||||
|
||||
// Ping 用于检查设备是否正常
|
||||
Ping() error
|
||||
}
|
||||
|
||||
// 设备操作指令通用结构(最外层)
|
||||
|
||||
Reference in New Issue
Block a user