Documentation ¶
Index ¶
- func Active(conf *Conf) error
- func ActiveDevice(device model.Device, config *config.Config) error
- func Add(url string)
- func GetBaseInfo(uid string) (map[string]interface{}, error)
- func GetCHValue(device model.Device, chTagName string) (map[string]interface{}, error)
- func GetRealTimeData(device model.Device) (interface{}, error)
- func GetRealtimeData(uid string) (interface{}, error)
- func GetStatus(device model.Device) (map[string]interface{}, error)
- func GetValue(uid string, tag string) (map[string]interface{}, error)
- func Invoke(url, cmd string, request interface{}) (*Result, error)
- func Remove(uid string)
- func Reset(uid string)
- func ResetConfig(device model.Device)
- func Restart(url string)
- func SetCHValue(device model.Device, chTagName string, v interface{}) error
- func SetValue(uid string, tag string, val interface{}) error
- type Balance
- type EdgesMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseInfo ¶
GetBaseInfo 用于获取设备基本信息
func GetCHValue ¶
func GetRealTimeData ¶
func GetRealtimeData ¶
GetRealtimeData 获取指定设备的实时数据
func ResetConfig ¶
Types ¶
type Balance ¶
type Balance struct {
// contains filtered or unexported fields
}
func (*Balance) DeltaTotal ¶
Click to show internal directories.
Click to hide internal directories.