Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCloudCenter = DefaultCloudMediator.(ICloudCenter)
View Source
var DefaultCloudMediator = newMockCloudMediator()
Functions ¶
This section is empty.
Types ¶
type ICloudCenter ¶
type ICloudCenter interface {
Register(dev ISmartDevice) //注册设备
}
云中心面向智能设备的注册接口
type ICloudMediator ¶
云中心面向手机app的接口
type MockPhoneApp ¶
type MockPhoneApp struct {
// contains filtered or unexported fields
}
func (*MockPhoneApp) LightClose ¶
func (me *MockPhoneApp) LightClose(id int) error
func (*MockPhoneApp) LightOpen ¶
func (me *MockPhoneApp) LightOpen(id int) error
func (*MockPhoneApp) LightSwitchMode ¶
func (me *MockPhoneApp) LightSwitchMode(id int, mode int) error
Click to show internal directories.
Click to hide internal directories.