37 Star 391 Fork 118

联犀/物联网iot模块

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
repo.go 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
杨磊 提交于 2024-10-10 22:13 . feat: 更新mod
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
//}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/unitedrhino/things.git
git@gitee.com:unitedrhino/things.git
unitedrhino
things
物联网iot模块
v1.0.0

搜索帮助