|
@@ -174,7 +174,7 @@ struct WorkshopPage {
|
|
|
this.lightControlArray[2] = this.lightControlArray[2] === 1 ? 0 : 1
|
|
|
},
|
|
|
}),
|
|
|
- autoCancel: true,
|
|
|
+ autoCancel: false,
|
|
|
alignment: DialogAlignment.Center,
|
|
|
// gridCount: 3,
|
|
|
customStyle: true,
|
|
@@ -188,7 +188,7 @@ struct WorkshopPage {
|
|
|
cancel: ()=> {},
|
|
|
confirm: ()=> {},
|
|
|
}),
|
|
|
- autoCancel: true,
|
|
|
+ autoCancel: false,
|
|
|
alignment: DialogAlignment.Center,
|
|
|
// gridCount: 3,
|
|
|
customStyle: true,
|
|
@@ -853,10 +853,10 @@ struct WorkshopPage {
|
|
|
}
|
|
|
} else if (element.tag! === 'Charging1Set') {
|
|
|
device6.onlineStatus = 1
|
|
|
- device6.controlPowerStatus = element.value
|
|
|
+ device6.controlPowerStatus = element.value === 1 ? 0 : 1
|
|
|
} else if (element.tag! === 'Charging2Set') {
|
|
|
device7.onlineStatus = 1
|
|
|
- device7.controlPowerStatus = element.value
|
|
|
+ device7.controlPowerStatus = element.value === 1 ? 0 : 1
|
|
|
}
|
|
|
break;
|
|
|
case DeviceType.RGV1:
|
|
@@ -1336,9 +1336,9 @@ class StationControl {
|
|
|
onlineStatus?: number
|
|
|
// 1双路控制 2单路控制
|
|
|
stationType?: number
|
|
|
- // 控制电源状态(1:开 2:关)
|
|
|
+ // 控制电源状态(0:开 1:关)
|
|
|
controlPowerStatus?: number
|
|
|
- // 设备电源状态(1:开 2:关)
|
|
|
+ // 设备电源状态(0:开 1:关)
|
|
|
devicePowerStatus?: number
|
|
|
}
|
|
|
|