Documentation ¶
Index ¶
- Constants
- type Archive
- func (this *Archive) GetBuild() persist.IArchiveBuild
- func (this *Archive) GetCode() string
- func (this *Archive) GetDeg() uint8
- func (this *Archive) GetLsl() float32
- func (this *Archive) GetName() string
- func (this *Archive) GetRegulate() bool
- func (this *Archive) GetRetTemp() float32
- func (this *Archive) GetRgl() float32
- func (this *Archive) GetRoomTemp() float32
- func (this *Archive) GetSupTemp() float32
- func (this *Archive) GetWeight() float32
- func (this *Archive) MarshalJSON() ([]byte, error)
- func (this *Archive) SetBuild(build persist.IArchiveBuild)
- func (this *Archive) SetCode(code string)
- func (this *Archive) SetDeg(value uint8)
- func (this *Archive) SetLsl(lsl float32)
- func (this *Archive) SetName(name string)
- func (this *Archive) SetRegulate(value bool)
- func (this *Archive) SetRetTemp(value float32)
- func (this *Archive) SetRgl(rgl float32)
- func (this *Archive) SetRoomTemp(value float32)
- func (this *Archive) SetSupTemp(supTemp float32)
- func (this *Archive) SetWeight(weight float32)
- type ArchiveBuild
- type Archives
- type Context
- type Enforcer
- type EnforcerArchive
- type EnforcerCache
- type EnforcerCacheHandle
- type EnforcerData
- type EnforcerQueueData
- type EnforcerQueues
- type Gateway
- type Option
- type Page
- type Response
- type Watcher
- func (this *Watcher) GetArchiveFunc() func(params *persist.WatcherArchiveParams) []persist.IArchive
- func (this *Watcher) GetParamsCallbackFunc() func(params map[string]interface{})
- func (this *Watcher) GetRegulateCallbackFunc() func(params *persist.WatcherRegulateParams) persist.IWatchRegulate
- func (this *Watcher) SetArchiveFunc(function func(params *persist.WatcherArchiveParams) []persist.IArchive)
- func (this *Watcher) SetParamsCallbackFunc(function func(params map[string]interface{}))
- func (this *Watcher) SetRegulateCallbackFunc(function func(params *persist.WatcherRegulateParams) persist.IWatchRegulate)
- type WatcherRegulate
Constants ¶
View Source
const ( // EnforcerModeForZHW 追回温 EnforcerModeForZHW = iota + 1 // EnforcerModeForZLL 追流量 EnforcerModeForZLL )
View Source
const ( // EnforcerKindForVertical 垂直计算 EnforcerKindForVertical int = iota + 1 // EnforcerKindForHorizontal 水平计算 EnforcerKindForHorizontal )
View Source
const ( // Version 版本号 Version string = "1.1.2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶ added in v1.0.1
type Archive struct {
// contains filtered or unexported fields
}
Archive 档案信息
func NewArchive ¶ added in v1.0.1
func NewArchive() *Archive
func (*Archive) GetBuild ¶ added in v1.0.2
func (this *Archive) GetBuild() persist.IArchiveBuild
func (*Archive) GetRegulate ¶ added in v1.0.2
func (*Archive) GetRetTemp ¶ added in v1.0.2
func (*Archive) GetRoomTemp ¶ added in v1.0.2
func (*Archive) GetSupTemp ¶ added in v1.0.6
func (*Archive) MarshalJSON ¶ added in v1.0.2
func (*Archive) SetBuild ¶ added in v1.0.2
func (this *Archive) SetBuild(build persist.IArchiveBuild)
func (*Archive) SetRegulate ¶ added in v1.0.2
func (*Archive) SetRetTemp ¶ added in v1.0.2
func (*Archive) SetRoomTemp ¶ added in v1.0.2
func (*Archive) SetSupTemp ¶ added in v1.0.6
type ArchiveBuild ¶ added in v1.0.2
type ArchiveBuild struct {
// contains filtered or unexported fields
}
ArchiveBuild 档案建筑信息
func NewArchiveBuild ¶ added in v1.0.2
func NewArchiveBuild() *ArchiveBuild
func (*ArchiveBuild) GetArea ¶ added in v1.0.2
func (this *ArchiveBuild) GetArea() float32
func (*ArchiveBuild) GetToward ¶ added in v1.0.7
func (this *ArchiveBuild) GetToward() string
func (*ArchiveBuild) MarshalJSON ¶ added in v1.0.2
func (this *ArchiveBuild) MarshalJSON() ([]byte, error)
func (*ArchiveBuild) SetArea ¶ added in v1.0.2
func (this *ArchiveBuild) SetArea(area float32)
func (*ArchiveBuild) SetToward ¶ added in v1.0.7
func (this *ArchiveBuild) SetToward(toward string)
type Enforcer ¶
type Enforcer struct {
// contains filtered or unexported fields
}
Enforcer 执行者
func NewEnforcer ¶
func (*Enforcer) GetVersion ¶ added in v1.1.4
type EnforcerArchive ¶ added in v1.0.6
type EnforcerArchive map[string]map[string]model.ArchiveAttribute
type EnforcerCache ¶ added in v1.0.2
type EnforcerCache struct {
// contains filtered or unexported fields
}
type EnforcerCacheHandle ¶ added in v1.0.2
type EnforcerCacheHandle struct {
// contains filtered or unexported fields
}
type EnforcerData ¶ added in v1.0.2
type EnforcerData[T persist.IArchive] struct { persist.IGateway // contains filtered or unexported fields }
EnforcerData 执行者网关参数
func (*EnforcerData[T]) MarshalJSON ¶ added in v1.0.2
func (this *EnforcerData[T]) MarshalJSON() ([]byte, error)
type EnforcerQueueData ¶ added in v1.0.2
func (*EnforcerQueueData[T]) Call ¶ added in v1.0.2
func (this *EnforcerQueueData[T]) Call(args ...interface{})
func (*EnforcerQueueData[T]) Delay ¶ added in v1.0.2
func (this *EnforcerQueueData[T]) Delay() int
func (*EnforcerQueueData[T]) Priority ¶ added in v1.0.2
func (this *EnforcerQueueData[T]) Priority() int
type EnforcerQueues ¶ added in v1.1.2
type EnforcerQueues struct {
// contains filtered or unexported fields
}
type Gateway ¶ added in v1.0.2
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶ added in v1.0.2
func NewGateway() *Gateway
type Option ¶
type Option func(enforcer *Enforcer)
func WithLogger ¶ added in v1.0.2
func WithWatcher ¶ added in v1.0.1
type Response ¶ added in v1.0.2
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶ added in v1.0.1
func NewWatcher() *Watcher
func (*Watcher) GetArchiveFunc ¶ added in v1.0.3
func (this *Watcher) GetArchiveFunc() func(params *persist.WatcherArchiveParams) []persist.IArchive
func (*Watcher) GetParamsCallbackFunc ¶ added in v1.0.3
func (*Watcher) GetRegulateCallbackFunc ¶ added in v1.0.3
func (this *Watcher) GetRegulateCallbackFunc() func(params *persist.WatcherRegulateParams) persist.IWatchRegulate
func (*Watcher) SetArchiveFunc ¶ added in v1.0.3
func (this *Watcher) SetArchiveFunc(function func(params *persist.WatcherArchiveParams) []persist.IArchive)
func (*Watcher) SetParamsCallbackFunc ¶ added in v1.0.3
func (*Watcher) SetRegulateCallbackFunc ¶ added in v1.0.3
func (this *Watcher) SetRegulateCallbackFunc(function func(params *persist.WatcherRegulateParams) persist.IWatchRegulate)
type WatcherRegulate ¶ added in v1.0.2
type WatcherRegulate struct {
// contains filtered or unexported fields
}
func NewWatcherRegulate ¶ added in v1.0.2
func NewWatcherRegulate() *WatcherRegulate
func (*WatcherRegulate) GetRemark ¶ added in v1.0.2
func (this *WatcherRegulate) GetRemark() string
func (*WatcherRegulate) GetStatus ¶ added in v1.0.2
func (this *WatcherRegulate) GetStatus() int
func (*WatcherRegulate) SetRemark ¶ added in v1.0.2
func (this *WatcherRegulate) SetRemark(remark string)
func (*WatcherRegulate) SetStatus ¶ added in v1.0.2
func (this *WatcherRegulate) SetStatus(status int)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.