|
|
|
@ -91,7 +91,7 @@
|
|
|
|
<div class="circuitStatus">
|
|
|
|
<div class="circuitStatus">
|
|
|
|
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
|
|
|
|
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
|
|
|
|
<div class="line">
|
|
|
|
<div class="line">
|
|
|
|
<div class="line_item">电源: <span>{{ circuit.V }}V</span></div>
|
|
|
|
<div class="line_item">直流电压: <span>{{ circuit.V ? circuit.V?.toFixed(2) : 0 }}V</span></div>
|
|
|
|
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
|
|
|
|
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -112,7 +112,7 @@
|
|
|
|
<div class="circuitStatus">
|
|
|
|
<div class="circuitStatus">
|
|
|
|
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
|
|
|
|
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
|
|
|
|
<div class="line">
|
|
|
|
<div class="line">
|
|
|
|
<div class="line_item">电源: <span>{{ circuit.V }}V</span></div>
|
|
|
|
<div class="line_item">直流电压: <span>{{ circuit.V ? circuit.V?.toFixed(2) : 0 }}V</span></div>
|
|
|
|
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
|
|
|
|
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -269,7 +269,7 @@ const powerPhases = ref([
|
|
|
|
|
|
|
|
|
|
|
|
const energyParams = ref({
|
|
|
|
const energyParams = ref({
|
|
|
|
dcVoltage: '0.0V',
|
|
|
|
dcVoltage: '0.0V',
|
|
|
|
activeEnergy: '0kwh',
|
|
|
|
activeEnergy: '0kW·h',
|
|
|
|
activePower: '0kW',
|
|
|
|
activePower: '0kW',
|
|
|
|
powerFactor: '0'
|
|
|
|
powerFactor: '0'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
@ -393,7 +393,8 @@ const getInfo = () => {
|
|
|
|
powerPhases.value[2].power = res.cPower + 'kW'
|
|
|
|
powerPhases.value[2].power = res.cPower + 'kW'
|
|
|
|
powerPhases.value[2].factor = res.cPowerFactor
|
|
|
|
powerPhases.value[2].factor = res.cPowerFactor
|
|
|
|
|
|
|
|
|
|
|
|
energyParams.value.activeEnergy = res.activeEnergy + 'A'
|
|
|
|
energyParams.value.activeEnergy = res.activeEnergy + 'kW·h'
|
|
|
|
|
|
|
|
energyParams.value.activePower = res.activePower + 'kW'
|
|
|
|
energyParams.value.powerFactor = res.powerFactor
|
|
|
|
energyParams.value.powerFactor = res.powerFactor
|
|
|
|
})
|
|
|
|
})
|
|
|
|
RPC.post('/m9z/getDeviceStatus2', { comm_uid: commit_uid }).then((res) => {
|
|
|
|
RPC.post('/m9z/getDeviceStatus2', { comm_uid: commit_uid }).then((res) => {
|
|
|
|
|