|
@@ -25,6 +25,10 @@ $("#hotPannel input.mui-switch").on('change',(e)=>{//灯
|
|
|
var deviceBtnBind = function($elem, paramCode, paramValue){
|
|
|
$elem.on('click',(e)=>{
|
|
|
paramValue_ = paramValue instanceof Function ? paramValue() : paramValue
|
|
|
+ if(paramCode == '05'){
|
|
|
+ if(paramValue_ > 30 || paramValue_ < 16)return;
|
|
|
+ }
|
|
|
+
|
|
|
window.changeDeviceStatus(window.hotNeedUpdatePannel, paramCode, paramValue_, (a)=>{
|
|
|
hotNeedUpdatePannel.showPannel() //success update
|
|
|
})
|