Browse Source

#104 测试空压机通道名称变更

master
sige 1 year ago
parent
commit
801b0cd524
  1. 12
      src/components/Test.vue

12
src/components/Test.vue

@ -185,7 +185,7 @@
</div>
</div>
<div class="common_set switch_wrap">
<p class="title">空压机通道</p>
<p class="title" style="width:200px;">设备工作模式</p>
<div class="btn_wrap">
<div style="width:100px;"
:class="
@ -245,7 +245,7 @@
<p class="info">湿度 {{ deviceStore.binHumidity }} </p>
<p class="info">过氧化氢浓度 {{ deviceStore.binHP }} PPM</p>
</div>
<div class="common_set switch_wrap">
<div v-if="false" class="common_set switch_wrap">
<p class="title">空压机阀1</p>
<div class="btn_wrap">
<div
@ -605,12 +605,16 @@ const changeDraughtStatus = flag => {
}
const changeChannel = flag => {
if (flag == 1) {
if (flag == 1) { //
websocketStore.sendCommandMsg(airCompressorChannelSelectJSON([2]))
sealStore.updateAirCompressorChannelSelectVal(2)
} else {
changeAirValve1(1)
changeAirValve2(1)
} else { //
websocketStore.sendCommandMsg(airCompressorChannelSelectJSON([1]))
sealStore.updateAirCompressorChannelSelectVal(1)
changeAirValve1(2)
changeAirValve2(2)
}
}
</script>

Loading…
Cancel
Save