Compare commits
No commits in common. "226f5f358f348413238f203124318862c898523c" and "5d68ca8790a71c35135b493738a02ca1f9fa097e" have entirely different histories.
226f5f358f
...
5d68ca8790
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
@ -75,13 +75,12 @@ export default {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.dataInit();
|
that.dataInit();
|
||||||
that.timer&&clearInterval(that.timer)
|
that.timer&&clearInterval(that.timer)
|
||||||
that.timer= setInterval(() => {
|
setInterval(() => {
|
||||||
that.dataInit();
|
that.dataInit();
|
||||||
}, 60000);
|
}, 60000);
|
||||||
}, 0);
|
}, 0);
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
const that = this;
|
|
||||||
// 销毁播放器
|
// 销毁播放器
|
||||||
if (this.player) {
|
if (this.player) {
|
||||||
this.player.dispose();
|
this.player.dispose();
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="left-btn">
|
<div class="left-btn">
|
||||||
<div :class="left1Act == 1&&left1Act==3 ? 'active' : ''">进水泵</div>
|
<div :class="left1Act == 0 ? 'active' : ''">进水泵</div>
|
||||||
<div :class="left1Act == 2&&left1Act==3 ? 'active' : ''">配肥泵</div>
|
<div :class="left1Act == 1 ? 'active' : ''">配肥泵</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -247,8 +247,8 @@ export default {
|
|||||||
ADdata: 0,
|
ADdata: 0,
|
||||||
},],
|
},],
|
||||||
right2Index: [],
|
right2Index: [],
|
||||||
rightList2: ['外控信号1#',
|
rightList2: ['外控信号2#',
|
||||||
'外控信号2#',
|
'外控信号1#',
|
||||||
'外控信号3#',
|
'外控信号3#',
|
||||||
'外控信号4#',
|
'外控信号4#',
|
||||||
'高液位信号',
|
'高液位信号',
|
||||||
@ -280,7 +280,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//清除监听
|
//清除监听
|
||||||
beforeDestroy(){
|
beforeDestroy(){
|
||||||
const that = this;
|
|
||||||
that.pageTimer&&clearInterval(that.pageTimer)
|
that.pageTimer&&clearInterval(that.pageTimer)
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -495,19 +494,15 @@ export default {
|
|||||||
},
|
},
|
||||||
//进水泵和出水泵状态
|
//进水泵和出水泵状态
|
||||||
getData30() {
|
getData30() {
|
||||||
// var number = this.padString(this.inputData['30'].toString(2), 2)
|
var number = this.padString(this.inputData['30'].toString(2), 2)
|
||||||
// if (Number(number[0])) {
|
if (Number(number[0])) {
|
||||||
// this.left1Act = 1
|
this.left1Act = 1
|
||||||
// }
|
}
|
||||||
// if (Number(number[1])) {
|
else if (Number(number[1])) {
|
||||||
// this.left1Act = 0
|
this.left1Act = 0
|
||||||
// }
|
} else {
|
||||||
// if (Number(number[0])&&Number(number[1])) {
|
this.left1Act = -1
|
||||||
// this.left1Act = 3
|
}
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
// this.left1Act = -1
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
dataInit() {
|
dataInit() {
|
||||||
var deviceDetail = this.deviceDetail
|
var deviceDetail = this.deviceDetail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user