Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IArchive ¶ added in v1.0.1
type IArchive interface { // GetName 获取名称 GetName() string // GetCode 获取编号 GetCode() string // GetBuild 获取建筑附加信息 GetBuild() IArchiveBuild // GetDeg 获取开度 GetDeg() uint8 // GetSupTemp 获取供温 GetSupTemp() float32 // GetRetTemp 获取回温 GetRetTemp() float32 // GetRoomTemp 获取室温 GetRoomTemp() float32 // GetLsl 获取瞬流 GetLsl() float32 // GetRgl 获取瞬热 GetRgl() float32 // SetRegulate 设置调控状态 SetRegulate(regulate bool) // GetRegulate 获取调控状态 GetRegulate() bool // SetWeight 设置权重 SetWeight(weight float32) // GetWeight 获取权重 GetWeight() float32 }
type IArchiveBuild ¶ added in v1.0.1
type IWatchRegulate ¶ added in v1.0.2
type IWatcher ¶
type IWatcher interface { // GetArchiveFunc 获取档案函数 GetArchiveFunc() func(*WatcherArchiveParams) []IArchive // SetArchiveFunc 设置档案函数 SetArchiveFunc(func(*WatcherArchiveParams) []IArchive) // SetRegulateCallbackFunc 设置调控回调函数 SetRegulateCallbackFunc(func(*WatcherRegulateParams) IWatchRegulate) // GetRegulateCallbackFunc 获取调控回调函数 GetRegulateCallbackFunc() func(*WatcherRegulateParams) IWatchRegulate // SetParamsCallbackFunc 设置参数回调函数 SetParamsCallbackFunc(func(params map[string]interface{})) // GetParamsCallbackFunc 获取参数回调函数 GetParamsCallbackFunc() func(params map[string]interface{}) }
type WatcherArchiveParams ¶ added in v1.0.3
type WatcherArchiveParams struct { Code string `json:"code"` // 网关编号 Kind int `json:"kind"` // 1-垂直平衡、户阀信息,2-水平平衡、楼阀信息 }
WatcherArchiveParams 档案参数
Click to show internal directories.
Click to hide internal directories.