【代码优化】IoT: 场景联动彻底修复索引重用问题
This commit is contained in:
@@ -72,6 +72,7 @@ interface TriggerCondition {
|
||||
|
||||
// 触发器配置
|
||||
interface TriggerConfig {
|
||||
key: any // 解决组件索引重用
|
||||
type: number // 触发类型
|
||||
productKey: string // 产品标识
|
||||
deviceNames: string[] // 设备名称数组
|
||||
@@ -98,6 +99,7 @@ interface ActionAlert {
|
||||
|
||||
// 执行器配置
|
||||
interface ActionConfig {
|
||||
key: any // 解决组件索引重用
|
||||
type: number // 执行类型
|
||||
deviceControl?: ActionDeviceControl // 设备控制
|
||||
alert?: ActionAlert // 告警执行
|
||||
|
||||
Reference in New Issue
Block a user