Documentation ¶
Index ¶
- type SceneAlarm
- func (l *SceneAlarm) AlarmRelieve(ctx context.Context, in scene.AlarmRelieve) error
- func (l *SceneAlarm) AlarmTrigger(ctx context.Context, in scene.TriggerSerial) error
- func (l *SceneAlarm) HandleRelieve(ctx context.Context, in scene.AlarmRelieve, ...) error
- func (l *SceneAlarm) HandleTrigger(ctx context.Context, in scene.TriggerSerial, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SceneAlarm ¶
type SceneAlarm struct { AiDB *relationDB.AlarmInfoRepo ArDB *relationDB.AlarmRecordRepo AdrDB *relationDB.AlarmDealRecordRepo AlDB *relationDB.AlarmLogRepo // contains filtered or unexported fields }
func NewSceneAlarm ¶
func NewSceneAlarm(svcCtx *svc.ServiceContext, ctx context.Context) *SceneAlarm
func (*SceneAlarm) AlarmRelieve ¶
func (l *SceneAlarm) AlarmRelieve(ctx context.Context, in scene.AlarmRelieve) error
func (*SceneAlarm) AlarmTrigger ¶
func (l *SceneAlarm) AlarmTrigger(ctx context.Context, in scene.TriggerSerial) error
func (*SceneAlarm) HandleRelieve ¶
func (l *SceneAlarm) HandleRelieve(ctx context.Context, in scene.AlarmRelieve, alarmInfo *relationDB.RuleAlarmInfo) error
func (*SceneAlarm) HandleTrigger ¶
func (l *SceneAlarm) HandleTrigger(ctx context.Context, in scene.TriggerSerial, alarmInfo *relationDB.RuleAlarmInfo) error
Click to show internal directories.
Click to hide internal directories.