代码拉取完成,页面将自动刷新
package scene
import (
"gitee.com/unitedrhino/core/service/syssvr/client/common"
"gitee.com/unitedrhino/core/service/syssvr/client/notifymanage"
"gitee.com/unitedrhino/core/service/syssvr/sysExport"
"gitee.com/unitedrhino/share/def"
"gitee.com/unitedrhino/things/service/dmsvr/client/devicegroup"
deviceinteract "gitee.com/unitedrhino/things/service/dmsvr/client/deviceinteract"
devicemanage "gitee.com/unitedrhino/things/service/dmsvr/client/devicemanage"
devicemsg "gitee.com/unitedrhino/things/service/dmsvr/client/devicemsg"
"gitee.com/unitedrhino/things/service/dmsvr/dmExport"
)
import "context"
type CheckRepo struct {
Ctx context.Context
DeviceCache dmExport.DeviceCacheT
UserShareCache dmExport.UserShareCacheT
ProductCache dmExport.ProductCacheT
ProductSchemaCache dmExport.SchemaCacheT
ProjectCache sysExport.ProjectCacheT
DeviceMsg devicemsg.DeviceMsg
Common common.Common
GetSceneInfo func(ctx context.Context, sceneID int64) (*Info, error)
Info *Info
}
type ActionRepo struct {
Info *Info
UserID int64
DeviceInteract deviceinteract.DeviceInteract
DeviceM devicemanage.DeviceManage
DeviceCache dmExport.DeviceCacheT
ProductCache dmExport.ProductCacheT
DeviceG devicegroup.DeviceGroup
NotifyM notifymanage.NotifyManage
SceneExec func(ctx context.Context, sceneID int64, status def.Bool) error
AlarmExec func(ctx context.Context, in AlarmSerial) error
SaveLog func(ctx context.Context, log *Log) error
}
//type AlarmRepo interface {
// //告警触发
// AlarmTrigger(ctx context.Context, in AlarmSerial) error
// //告警解除
// AlarmRelieve(ctx context.Context, in AlarmRelieve) error
//}
//type Serial interface {
// GenSerial() string
//}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。