| | |
| | | |
| | | this.powerInfo[1].vol = (CD.alldcvol).toFixed(bit); |
| | | this.powerInfo[1].cur = (CD.alldccurr).toFixed(bit); |
| | | // 电源运行状态 |
| | | if (AB.alldcvol > 0 && AB.alldccurr > 0) { |
| | | this.status[2].run = true; |
| | | } |
| | | if (CD.alldcvol > 0 && CD.alldccurr > 0) { |
| | | this.status[1].run = true; |
| | | } |
| | | } |
| | | }); |
| | | this.$api.electric.getAllRtData().then((res)=>{ |
| | |
| | | // 总直流电压 |
| | | this.floatBox[0].list[1].value = (data.alldcvol).toFixed(bit); |
| | | this.powerInfo[0].vol = (data.alldcvol).toFixed(bit); |
| | | |
| | | // 总直流电流 |
| | | this.floatBox[0].list[0].value = (data.alldccurr).toFixed(bit); |
| | | this.powerInfo[0].cur = (data.alldccurr).toFixed(bit); |
| | | |
| | | // 电源运行状态 |
| | | if (data.alldcvol > 0 && data.alldccurr > 0) { |
| | | this.status[0].run = true; |
| | | } |
| | | // 电流 |
| | | this.floatBox[0].list[2].value = (data.brachdccurr).toFixed(bit); |
| | | // 电压 |