|
|
@ -241,10 +241,12 @@ export default { |
|
|
|
}; |
|
|
|
|
|
|
|
//2021-12-17 群里说的那个锁的 需要全部关闭灯的按钮从 set-rpio 变成 set-rpio-lock 普通开灯保持不变 加锁开灯(长开) set-rpio-lock |
|
|
|
// 20240530 灯控 常开和关闭需要改成set-rpio-lock |
|
|
|
if(switchInfo.hardware_type=="Light"&&_data.data.value.status=="high")_data.data.name = "set-rpio-lock" |
|
|
|
if(switchInfo.hardware_type=="Light"&&status==2)_data.data.name = "set-rpio-lock" |
|
|
|
// 20240530 灯控 云中控 常开和关闭需要改成set-rpio-lock ,(单独对yzk 上面有覆盖不管) |
|
|
|
if( |
|
|
|
switchInfo?.hardware_type === "Light" |
|
|
|
// &&this.changeLowerCase(switchInfo?.hardware_connect_method ?? '') === 'yzk' |
|
|
|
&&this.changeLowerCase(switchInfo?.hardware_connect_method ?? '') === 'yzk' |
|
|
|
&&(status === 2 || status === 0) |
|
|
|
){ |
|
|
|
_data.data.name = "set-rpio-lock"; |
|
|
|