2024-11-18 22:04:59 +08:00
|
|
|
|
<template>
|
2024-12-18 18:53:55 +08:00
|
|
|
|
<div class="dialog">
|
2024-12-18 15:56:59 +08:00
|
|
|
|
<div class="dialog-title">
|
2024-12-18 18:53:55 +08:00
|
|
|
|
<el-progress
|
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
|
:percentage="percentage"
|
|
|
|
|
|
:color="customColors"/>
|
|
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
v-if="!isPause&&activeIndex < activeTotalNum"
|
|
|
|
|
|
:disabled="activeIndex===0"
|
|
|
|
|
|
:icon="VideoPause"
|
|
|
|
|
|
@click="handlePauseTest">暂停检测
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
<el-button type="success" v-if="activeIndex >= activeTotalNum" :icon="Check" disabled>检测完成</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
v-if="isPause && activeIndex < activeTotalNum"
|
|
|
|
|
|
:icon="Refresh"
|
|
|
|
|
|
@click="handlePauseTest"
|
|
|
|
|
|
>继续检测
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
<!-- <el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
v-if="activeIndex >= activeTotalNum"
|
|
|
|
|
|
:icon="Refresh"
|
|
|
|
|
|
@click="handleReCheck"
|
|
|
|
|
|
>重新检测</el-button
|
|
|
|
|
|
> -->
|
|
|
|
|
|
<!-- <el-button type="danger" :icon="Close" @click="handleFinishTest"
|
|
|
|
|
|
>停止检测</el-button
|
|
|
|
|
|
> -->
|
2024-11-18 22:04:59 +08:00
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-11-20 21:30:05 +08:00
|
|
|
|
<!-- background: '#f5f7fa', color: '#606266' -->
|
2024-12-18 18:53:55 +08:00
|
|
|
|
<!-- v-on:cell-click="handleClick" -->
|
|
|
|
|
|
<!-- <el-table :key="tableKey" :data="tableData" :row-class-name="tableRowClassName" row-key="id" height="545px" :header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" style="width: 100%" border> -->
|
|
|
|
|
|
<!-- <el-table :data="tableData" :row-class-name="tableRowClassName" row-key="id" height="545px" :header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " style="width: 100%" border> -->
|
2024-12-05 15:22:46 +08:00
|
|
|
|
<div class="dialog-content ">
|
2024-12-18 18:53:55 +08:00
|
|
|
|
<el-table :data="tableData" :cell-class-name="tableCell" row-key="id" height="450px"
|
|
|
|
|
|
:header-cell-style="{ background: '#003078', color: '#eee', textAlign: 'center' } " style="width: 100%"
|
|
|
|
|
|
border>
|
|
|
|
|
|
<el-table-column fixed prop="scriptItemName" label="检测项目" width="250px">
|
|
|
|
|
|
<!-- <template #default="scope">
|
|
|
|
|
|
<div :style="{ backgroundColor: '#003078' }">
|
|
|
|
|
|
{{ scope.row.name }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template> -->
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="chnSum<=MAX_CHN_SUM">
|
|
|
|
|
|
<el-table-column v-for="(item) in monitorList" :key="item.deviceID" :label="item.label" :min-width="minwidth"
|
|
|
|
|
|
align="center">
|
|
|
|
|
|
<!-- <template #default="scope">
|
|
|
|
|
|
<el-tooltip :content="scope.row.resultType1==='info' ? '暂无数据' : '点击查看详情'" placement="top">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
:disabled = "scope.row.resultType1=='info'"
|
|
|
|
|
|
:type="scope.row.resultType1"
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
@click="handleClick(scope.row)"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ scope.row.resultValue1 }}
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
</template> -->
|
|
|
|
|
|
<el-table-column v-for="(chnItem, index) in item.chnNum" :key="item.deviceID+index"
|
|
|
|
|
|
:label="'通道'+(index+1)" align="center">
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
|
<el-tooltip :content="scope.row.resultType1==='info' ? '暂无数据' : '点击查看详情'" placement="top">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
:disabled="scope.row.resultType1=='info'"
|
|
|
|
|
|
:type="scope.row.resultType1"
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
@click="handleClick(item,index+1)"
|
2024-12-18 15:56:59 +08:00
|
|
|
|
>
|
|
|
|
|
|
{{ scope.row.resultValue1 }}
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
</el-tooltip>
|
2024-12-18 18:53:55 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<template v-else>
|
|
|
|
|
|
<el-table-column v-for="(item) in monitorList" :key="item.deviceID" :label="item.label" :min-width="minwidth"
|
|
|
|
|
|
align="center">
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
|
<el-tooltip :content="scope.row.resultType1==='info' ? '暂无数据' : '点击查看详情'" placement="top">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
:disabled="scope.row.resultType1=='info'"
|
|
|
|
|
|
:type="scope.row.resultType1"
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
@click="handleClick(item,-1)"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ scope.row.resultValue1 }}
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
</el-tooltip>
|
2024-12-18 15:56:59 +08:00
|
|
|
|
</template>
|
2024-12-18 18:53:55 +08:00
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</template>
|
2024-12-18 15:56:59 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
</el-table>
|
2024-11-18 22:04:59 +08:00
|
|
|
|
</div>
|
2024-12-18 15:56:59 +08:00
|
|
|
|
|
2024-12-11 19:12:04 +08:00
|
|
|
|
<div style="height: 80px;">
|
2024-12-18 18:53:55 +08:00
|
|
|
|
<el-collapse model-value="1" accordion>
|
|
|
|
|
|
<el-collapse-item title="检测项进度" name="1">
|
|
|
|
|
|
<div ref="scrollContainer" class="dialog-log">
|
|
|
|
|
|
<p v-for="(item, index) in testLogList" :key="index"
|
|
|
|
|
|
:style="{color:item.type==='error'?'#F56C6C':'var(--el-text-color-regular)'}">
|
|
|
|
|
|
{{ item.log }} <br/>
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
</el-collapse>
|
2024-11-18 22:04:59 +08:00
|
|
|
|
</div>
|
2024-12-18 18:53:55 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<resultPopup
|
|
|
|
|
|
:visible="resultDialogVisible"
|
|
|
|
|
|
@update:visible="resultDialogVisible = $event"
|
|
|
|
|
|
></resultPopup>
|
|
|
|
|
|
<dataCheckSingleChannelSingleTestPopup ref="dialogRef1"/>
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-11-18 22:04:59 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
<script lang="tsx" setup name="test">
|
2024-12-18 18:53:55 +08:00
|
|
|
|
import {Check, Refresh, VideoPause} from '@element-plus/icons-vue'
|
2024-11-19 19:34:00 +08:00
|
|
|
|
import resultPopup from './resultPopup.vue'
|
|
|
|
|
|
import dataCheckSingleChannelSingleTestPopup from './dataCheckSingleChannelSingleTestPopup.vue'
|
2024-12-18 15:56:59 +08:00
|
|
|
|
import {reactive} from "vue";
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
2024-11-25 21:11:10 +08:00
|
|
|
|
const minwidth = ref(110)
|
2024-11-21 23:02:43 +08:00
|
|
|
|
const activeIndex = ref(0)
|
|
|
|
|
|
const activeTotalNum = ref(12)
|
2024-12-18 15:56:59 +08:00
|
|
|
|
const dialogRef1 = ref();
|
2024-11-21 23:02:43 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
const currentRow = ref<{
|
|
|
|
|
|
id: number;
|
|
|
|
|
|
scriptItemName: string;
|
|
|
|
|
|
name: string;
|
|
|
|
|
|
address: string;
|
|
|
|
|
|
hasChildren?: boolean;
|
|
|
|
|
|
children?: User[]
|
|
|
|
|
|
} | null>(null);
|
2024-11-20 21:30:05 +08:00
|
|
|
|
// const currentRow = ref(null); // 用于存储当前选中的行
|
2024-11-18 22:04:59 +08:00
|
|
|
|
|
2024-12-18 15:56:59 +08:00
|
|
|
|
const monitorList = reactive([
|
2024-11-20 21:30:05 +08:00
|
|
|
|
{
|
|
|
|
|
|
deviceID: '1',
|
|
|
|
|
|
deviceName: '被检设备1',
|
2024-12-18 15:56:59 +08:00
|
|
|
|
chnNum: 2,
|
2024-11-20 21:30:05 +08:00
|
|
|
|
monitorIdx: 1,
|
2024-12-18 18:53:55 +08:00
|
|
|
|
label: '240001',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
prop: 'Result1',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-12-18 15:56:59 +08:00
|
|
|
|
deviceID: '2',
|
|
|
|
|
|
deviceName: '被检设备2',
|
|
|
|
|
|
chnNum: 2,
|
2024-11-20 21:30:05 +08:00
|
|
|
|
monitorIdx: 2,
|
2024-12-18 18:53:55 +08:00
|
|
|
|
label: '240002',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
prop: 'Result2',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-12-18 15:56:59 +08:00
|
|
|
|
deviceID: '3',
|
|
|
|
|
|
deviceName: '被检设备3',
|
|
|
|
|
|
chnNum: 2,
|
2024-11-20 21:30:05 +08:00
|
|
|
|
monitorIdx: 1,
|
2024-12-18 18:53:55 +08:00
|
|
|
|
label: '240003',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
prop: 'Result3',
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-12-18 15:56:59 +08:00
|
|
|
|
deviceID: '4',
|
|
|
|
|
|
deviceName: '被检设备4',
|
|
|
|
|
|
chnNum: 4,
|
2024-11-20 21:30:05 +08:00
|
|
|
|
monitorIdx: 2,
|
2024-12-18 18:53:55 +08:00
|
|
|
|
label: '240004',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
prop: 'Result4',
|
|
|
|
|
|
}
|
|
|
|
|
|
])
|
2024-12-13 08:56:42 +08:00
|
|
|
|
|
2024-12-18 15:56:59 +08:00
|
|
|
|
// 最大通道数
|
|
|
|
|
|
const MAX_CHN_SUM = 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 总通道数
|
|
|
|
|
|
const chnSum = computed(() => {
|
|
|
|
|
|
let sum = 0
|
|
|
|
|
|
monitorList.forEach((item) => {
|
|
|
|
|
|
sum += item.chnNum
|
|
|
|
|
|
})
|
|
|
|
|
|
console.log(sum)
|
|
|
|
|
|
return sum
|
|
|
|
|
|
})
|
|
|
|
|
|
|
2024-12-13 08:56:42 +08:00
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
const scrollContainer = ref<HTMLElement | null>(null); // 声明 scrollContainer
|
|
|
|
|
|
|
|
|
|
|
|
const scrollToBottom = () => {
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (scrollContainer.value) {
|
|
|
|
|
|
scrollContainer.value.scrollTop = scrollContainer.value.scrollHeight;
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
2024-11-21 23:02:43 +08:00
|
|
|
|
|
|
|
|
|
|
function getRandomInt(max: number): number {
|
|
|
|
|
|
return Math.floor(Math.random() * max);
|
|
|
|
|
|
}
|
2024-12-11 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
//判断该检测项(例如 频率准确度检测)是否全部合格(所有设备所有通道所有子检测项目全部合格为合格,否则为不合格)
|
2024-12-18 18:53:55 +08:00
|
|
|
|
function getItemCheckResult(index: number): boolean {
|
2024-12-11 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
let items = columnList?.value.filter((item) => item === index.toString())
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (items.length > 0) {
|
2024-12-11 17:46:59 +08:00
|
|
|
|
return false
|
2024-12-18 18:53:55 +08:00
|
|
|
|
} else
|
2024-12-11 17:46:59 +08:00
|
|
|
|
return true
|
|
|
|
|
|
}
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
2024-12-11 17:46:59 +08:00
|
|
|
|
//测试项开始检测时间(或继续检测时间)
|
|
|
|
|
|
const startData = ref(new Date())
|
|
|
|
|
|
//测试项检测结束时间(或暂停时的时间)
|
2024-12-18 18:53:55 +08:00
|
|
|
|
const endData = ref(new Date())
|
2024-12-11 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
let timeDifference = ref(0)
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
function getTimeDifference(timeDifference: number): string {
|
2024-12-11 17:46:59 +08:00
|
|
|
|
// 将时间差转换为天、小时、分钟、秒
|
|
|
|
|
|
const millisecondsPerDay = 1000 * 60 * 60 * 24;
|
|
|
|
|
|
const millisecondsPerHour = 1000 * 60 * 60;
|
|
|
|
|
|
const millisecondsPerMinute = 1000 * 60;
|
|
|
|
|
|
const millisecondsPerSecond = 1000;
|
|
|
|
|
|
|
|
|
|
|
|
const days = Math.floor(timeDifference / millisecondsPerDay);
|
|
|
|
|
|
const hours = Math.floor((timeDifference % millisecondsPerDay) / millisecondsPerHour);
|
|
|
|
|
|
const minutes = Math.floor((timeDifference % millisecondsPerHour) / millisecondsPerMinute);
|
|
|
|
|
|
const seconds = Math.floor((timeDifference % millisecondsPerMinute) / millisecondsPerSecond);
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (days > 0) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
return `: ${days} 天, ${hours} 小时, ${minutes} 分钟, ${seconds} 秒`
|
2024-12-18 18:53:55 +08:00
|
|
|
|
} else if (hours > 0) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
return `: ${hours} 小时, ${minutes} 分钟, ${seconds} 秒`
|
2024-12-18 18:53:55 +08:00
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
return `: ${minutes} 分钟, ${seconds} 秒`
|
|
|
|
|
|
}
|
2024-12-11 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
const updateLog = () => {
|
|
|
|
|
|
const currentTime = ref(new Date().toLocaleString());
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
switch (activeIndex.value) {
|
|
|
|
|
|
case 1:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
timeDifference.value = 0;
|
2024-11-21 23:02:43 +08:00
|
|
|
|
testLogList.value.length = 0; // 清空数组
|
|
|
|
|
|
testLogList.value.push({
|
|
|
|
|
|
type: 'info',
|
2024-12-11 18:48:54 +08:00
|
|
|
|
log: currentTime.value + ':检测开始',
|
2024-11-21 23:02:43 +08:00
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
startData.value = new Date();
|
2024-11-21 23:02:43 +08:00
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 2:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Freqtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Freqtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 17:46:59 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':频率准确度检测合格,用时' + getTimeDifference(Freqtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 17:46:59 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':频率准确度检测不合格,用时' + getTimeDifference(Freqtime),
|
|
|
|
|
|
})
|
2024-12-11 17:46:59 +08:00
|
|
|
|
}
|
2024-12-11 18:48:54 +08:00
|
|
|
|
startData.value = new Date();
|
2024-11-21 23:02:43 +08:00
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 3:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const VOLtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += VOLtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':电压准确度检测合格,用时' + getTimeDifference(VOLtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':电压准确度检测不合格,用时' + getTimeDifference(VOLtime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 4:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Harm_Vtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Harm_Vtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':谐波电压准确度检测合格,用时' + getTimeDifference(Harm_Vtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':谐波电压准确度检测不合格,用时' + getTimeDifference(Harm_Vtime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 5:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Harm_Itime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Harm_Itime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':谐波电流准确度检测合格,用时' + getTimeDifference(Harm_Itime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':谐波电流准确度检测不合格,用时' + getTimeDifference(Harm_Itime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 6:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Harm_Ptime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Harm_Ptime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':谐波有功功率准确度检测合格,用时' + getTimeDifference(Harm_Ptime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':谐波有功功率准确度检测不合格,用时' + getTimeDifference(Harm_Ptime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 7:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const InHarm_Vtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += InHarm_Vtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':间谐波电压准确度检测合格,用时' + getTimeDifference(InHarm_Vtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':间谐波电压准确度检测不合格,用时' + getTimeDifference(InHarm_Vtime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 8:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const InHarm_Itime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += InHarm_Itime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':间谐波电流准确度检测合格,用时' + getTimeDifference(InHarm_Itime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':间谐波电流准确度检测不合格,用时' + getTimeDifference(InHarm_Itime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 9:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Diptime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Diptime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':暂态准确度检测合格,用时' + getTimeDifference(Diptime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':暂态准确度检测不合格,用时' + getTimeDifference(Diptime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 10:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const CURtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += CURtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':电流准确度检测合格,用时' + getTimeDifference(CURtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':电流准确度检测不合格,用时' + getTimeDifference(CURtime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 11:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const MSQI_Utime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += MSQI_Utime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':电压不平衡度检测合格,用时' + getTimeDifference(MSQI_Utime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':电压不平衡度检测不合格,用时' + getTimeDifference(MSQI_Utime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 12:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const MSQI_Itime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += MSQI_Itime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':电流不平衡度检测合格,用时' + getTimeDifference(MSQI_Itime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':电流不平衡度检测不合格,用时' + getTimeDifference(MSQI_Itime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
case 13:
|
2024-12-11 18:48:54 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const FLKtime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += FLKtime
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getItemCheckResult(activeIndex.value - 1)) {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':闪变准确度检测合格,用时' + getTimeDifference(FLKtime),
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'error',
|
|
|
|
|
|
log: currentTime.value + ':闪变准确度检测不合格,用时' + getTimeDifference(FLKtime),
|
|
|
|
|
|
})
|
2024-12-11 18:48:54 +08:00
|
|
|
|
}
|
2024-12-18 15:56:59 +08:00
|
|
|
|
|
2024-12-11 18:48:54 +08:00
|
|
|
|
testLogList.value.push({
|
|
|
|
|
|
type: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
log: currentTime.value + ':检测结束,总用时' + getTimeDifference(timeDifference.value),
|
2024-12-11 18:48:54 +08:00
|
|
|
|
})
|
2024-11-21 23:02:43 +08:00
|
|
|
|
break;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
scrollToBottom();
|
2024-11-21 23:02:43 +08:00
|
|
|
|
}
|
|
|
|
|
|
const testLogList = ref([
|
|
|
|
|
|
{
|
|
|
|
|
|
type: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
log: '暂无数据,等待检测开始',
|
2024-11-21 23:02:43 +08:00
|
|
|
|
},
|
|
|
|
|
|
])
|
2024-12-05 21:33:52 +08:00
|
|
|
|
const columnList = ref([]);
|
2024-12-05 22:15:12 +08:00
|
|
|
|
|
2024-11-20 21:30:05 +08:00
|
|
|
|
const tableKey = ref(0);
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
|
|
|
|
|
function tableCell({row, columnIndex}) {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
2024-12-05 21:33:52 +08:00
|
|
|
|
let items = columnList?.value.filter((item) => item === row.id)
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (columnIndex === 0 && items.length > 0) {
|
|
|
|
|
|
console.log(row.id, items.length, columnList?.value)
|
2024-12-05 21:33:52 +08:00
|
|
|
|
return 'warning-row'
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (columnIndex === 0) {
|
2024-12-05 21:33:52 +08:00
|
|
|
|
return 'header-row'
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-25 21:11:10 +08:00
|
|
|
|
}
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
|
|
|
|
|
const tableRowClassName = ({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
row,
|
|
|
|
|
|
rowIndex,
|
|
|
|
|
|
}: {
|
2024-11-20 21:30:05 +08:00
|
|
|
|
row: any
|
|
|
|
|
|
rowIndex: number
|
|
|
|
|
|
}) => {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
if (row.rowIndex === activeIndex.value.toString()) {
|
2024-11-20 21:30:05 +08:00
|
|
|
|
return 'warning-row'
|
2024-12-18 15:56:59 +08:00
|
|
|
|
}
|
2024-11-20 21:30:05 +08:00
|
|
|
|
// else if (rowIndex === 3) {
|
|
|
|
|
|
// return 'success-row'
|
|
|
|
|
|
// }
|
|
|
|
|
|
return ''
|
|
|
|
|
|
}
|
2024-11-18 22:04:59 +08:00
|
|
|
|
const percentage = ref(0);
|
|
|
|
|
|
const customColors = [
|
2024-12-18 18:53:55 +08:00
|
|
|
|
{color: "#5cb87a", percentage: 100}, //绿
|
2024-11-18 22:04:59 +08:00
|
|
|
|
];
|
|
|
|
|
|
//暂停检测
|
|
|
|
|
|
const isPause = ref<boolean>(false);
|
2024-11-19 19:34:00 +08:00
|
|
|
|
const resultDialogVisible = ref(false)
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
|
|
|
|
|
function clear() {
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
function traverseTableData(data: any[], id: string): void {
|
2024-11-21 23:02:43 +08:00
|
|
|
|
data.forEach(item => {
|
|
|
|
|
|
// 处理当前节点的数据
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (item.id === id) {
|
|
|
|
|
|
for (let i = 1; i <= 8; i++) {
|
|
|
|
|
|
let field1 = "resultType" + i
|
|
|
|
|
|
let field2 = "resultValue" + i
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (getRandomInt(10) > 8 && activeIndex.value > 2) {
|
2024-11-21 23:02:43 +08:00
|
|
|
|
item[field1] = "danger";
|
|
|
|
|
|
item[field2] = "×";
|
2024-12-05 21:33:52 +08:00
|
|
|
|
columnList.value.push(activeIndex.value.toString());
|
2024-12-18 18:53:55 +08:00
|
|
|
|
console.log(id, activeIndex.value, columnList.value)
|
|
|
|
|
|
} else {
|
2024-11-21 23:02:43 +08:00
|
|
|
|
item[field1] = "success";
|
|
|
|
|
|
item[field2] = "√";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
// 如果当前节点有 children,并且 children 是一个数组,则递归遍历
|
|
|
|
|
|
if (Array.isArray(item.children)) {
|
2024-12-18 18:53:55 +08:00
|
|
|
|
traverseTableData(item.children, id);
|
2024-11-21 23:02:43 +08:00
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
const updateTableData = (id: string) => {
|
2024-12-18 18:53:55 +08:00
|
|
|
|
traverseTableData(tableData.value, id);
|
2024-11-21 23:02:43 +08:00
|
|
|
|
};
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-11-25 21:11:10 +08:00
|
|
|
|
const handleReCheck = () => {
|
2024-12-18 18:53:55 +08:00
|
|
|
|
activeIndex.value = 0;
|
|
|
|
|
|
percentage.value = 0;
|
|
|
|
|
|
tableData.value.length = 0;
|
|
|
|
|
|
testLogList.value.length = 0;
|
|
|
|
|
|
columnList.value.length = 0;
|
|
|
|
|
|
tableData.value = JSON.parse(JSON.stringify(operatorTableData.value));
|
|
|
|
|
|
resumeTimer()
|
2024-11-25 21:11:10 +08:00
|
|
|
|
};
|
2024-11-21 23:02:43 +08:00
|
|
|
|
let timer: any = ref("");
|
|
|
|
|
|
const handlePauseTest = () => {
|
2024-12-11 19:12:04 +08:00
|
|
|
|
const currentTime = ref(new Date().toLocaleString());
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
2024-11-18 22:04:59 +08:00
|
|
|
|
if (!isPause.value) {
|
2024-12-11 19:12:04 +08:00
|
|
|
|
endData.value = new Date();
|
|
|
|
|
|
const Pausetime = endData.value.getTime() - startData.value.getTime();
|
|
|
|
|
|
timeDifference.value += Pausetime
|
|
|
|
|
|
|
|
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':暂停检测',
|
|
|
|
|
|
})
|
2024-12-11 19:12:04 +08:00
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
pauseTimer()
|
2024-11-18 22:04:59 +08:00
|
|
|
|
} else {
|
2024-12-11 19:12:04 +08:00
|
|
|
|
startData.value = new Date();
|
|
|
|
|
|
|
|
|
|
|
|
testLogList.value.push({
|
2024-12-18 18:53:55 +08:00
|
|
|
|
type: 'info',
|
|
|
|
|
|
log: currentTime.value + ':继续检测',
|
|
|
|
|
|
})
|
2024-12-11 19:12:04 +08:00
|
|
|
|
|
2024-11-21 23:02:43 +08:00
|
|
|
|
resumeTimer()
|
2024-11-18 22:04:59 +08:00
|
|
|
|
}
|
|
|
|
|
|
isPause.value = !isPause.value;
|
|
|
|
|
|
};
|
|
|
|
|
|
//完成检测
|
|
|
|
|
|
const handleFinishTest = () => {
|
2024-11-19 19:34:00 +08:00
|
|
|
|
resultDialogVisible.value = true
|
2024-11-18 22:04:59 +08:00
|
|
|
|
ElMessage.success("完成检测");
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2024-12-18 15:56:59 +08:00
|
|
|
|
// 点击查看(设备)通道检测详情。参数1:设备信息,参数2:通道号,-1:代表查看全部通道
|
2024-12-18 18:53:55 +08:00
|
|
|
|
const handleClick = (deviceItem: any, chnNum: number) => {
|
|
|
|
|
|
dialogRef1.value?.open(deviceItem, chnNum);
|
2024-11-19 19:34:00 +08:00
|
|
|
|
};
|
2024-11-18 22:04:59 +08:00
|
|
|
|
|
2024-11-20 21:30:05 +08:00
|
|
|
|
interface User {
|
|
|
|
|
|
id: number
|
|
|
|
|
|
scriptItemName: string
|
|
|
|
|
|
name: string
|
|
|
|
|
|
address: string
|
|
|
|
|
|
hasChildren?: boolean
|
|
|
|
|
|
children?: User[]
|
|
|
|
|
|
}
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
2024-11-20 21:30:05 +08:00
|
|
|
|
//resultType2: 'success',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
// resultValue2:'√',
|
|
|
|
|
|
// resultType3: 'danger',
|
|
|
|
|
|
// resultValue3:'×',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
const operatorTableData = ref([
|
2024-11-20 21:30:05 +08:00
|
|
|
|
{
|
|
|
|
|
|
id: '1',
|
|
|
|
|
|
scriptItemName: '频率',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1',
|
|
|
|
|
|
scriptItemName: '额定条件下的测量',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-1',
|
|
|
|
|
|
scriptItemName: '频率:42.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-2',
|
|
|
|
|
|
scriptItemName: '频率:50Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-3',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-4',
|
|
|
|
|
|
scriptItemName: '频率:57.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-2',
|
|
|
|
|
|
scriptItemName: '电压对频率测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-2-1',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz 电压:10%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
2024-11-18 22:04:59 +08:00
|
|
|
|
{
|
2024-11-20 21:30:05 +08:00
|
|
|
|
id: '1-3',
|
|
|
|
|
|
scriptItemName: '谐波对频率测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-3-1',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz 谐波电压:h3 10%Un;h7 10%Un;h11 10%Un;h15 4%Un; h19 5%Un; h23 5%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
2024-11-18 22:04:59 +08:00
|
|
|
|
},
|
2024-11-20 21:30:05 +08:00
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2',
|
|
|
|
|
|
scriptItemName: '电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
2024-11-18 22:04:59 +08:00
|
|
|
|
{
|
2024-11-20 21:30:05 +08:00
|
|
|
|
id: '2-1',
|
|
|
|
|
|
scriptItemName: '额定条件下的测量',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-1',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:10%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-2',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:45%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-3',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:80%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-4',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:115%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-5',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:150%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
2024-11-18 22:04:59 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-11-20 21:30:05 +08:00
|
|
|
|
id: '2-2',
|
|
|
|
|
|
scriptItemName: '频率对电压测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-2-1',
|
|
|
|
|
|
scriptItemName: '频率:42.5Hz 电压:80%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
2024-11-18 22:04:59 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
2024-11-20 21:30:05 +08:00
|
|
|
|
id: '2-3',
|
|
|
|
|
|
scriptItemName: '谐波对电压测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-3-1',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:80%Un 谐波电压:h3 10%Un;h7 10%Un;h11 10%Un;h15 4%Un; h19 5%Un; h23 5%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
2024-11-18 22:04:59 +08:00
|
|
|
|
},
|
2024-11-20 21:30:05 +08:00
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '3',
|
|
|
|
|
|
scriptItemName: '谐波电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '4',
|
|
|
|
|
|
scriptItemName: '谐波电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '5',
|
|
|
|
|
|
scriptItemName: '谐波有功功率',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '6',
|
|
|
|
|
|
scriptItemName: '间谐波电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '7',
|
|
|
|
|
|
scriptItemName: '间谐波电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '8',
|
|
|
|
|
|
scriptItemName: '暂态',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '9',
|
|
|
|
|
|
scriptItemName: '电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '10',
|
|
|
|
|
|
scriptItemName: '电压不平衡度',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '11',
|
|
|
|
|
|
scriptItemName: '电流不平衡度',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '12',
|
|
|
|
|
|
scriptItemName: '短时闪变',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-20 21:30:05 +08:00
|
|
|
|
},
|
|
|
|
|
|
])
|
2024-11-25 21:11:10 +08:00
|
|
|
|
const tableData = ref([
|
2024-11-21 23:02:43 +08:00
|
|
|
|
{
|
2024-11-25 21:11:10 +08:00
|
|
|
|
id: '1',
|
|
|
|
|
|
scriptItemName: '频率',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1',
|
|
|
|
|
|
scriptItemName: '额定条件下的测量',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-1',
|
|
|
|
|
|
scriptItemName: '频率:42.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-2',
|
|
|
|
|
|
scriptItemName: '频率:50Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-3',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-1-4',
|
|
|
|
|
|
scriptItemName: '频率:57.5Hz',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-2',
|
|
|
|
|
|
scriptItemName: '电压对频率测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-2-1',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz 电压:10%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-3',
|
|
|
|
|
|
scriptItemName: '谐波对频率测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '1-3-1',
|
|
|
|
|
|
scriptItemName: '频率:50.5Hz 谐波电压:h3 10%Un;h7 10%Un;h11 10%Un;h15 4%Un; h19 5%Un; h23 5%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2',
|
|
|
|
|
|
scriptItemName: '电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1',
|
|
|
|
|
|
scriptItemName: '额定条件下的测量',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-1',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:10%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-2',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:45%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-3',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:80%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-4',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:115%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-1-5',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:150%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-2',
|
|
|
|
|
|
scriptItemName: '频率对电压测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-2-1',
|
|
|
|
|
|
scriptItemName: '频率:42.5Hz 电压:80%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-3',
|
|
|
|
|
|
scriptItemName: '谐波对电压测量的影响',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
children: [
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '2-3-1',
|
|
|
|
|
|
scriptItemName: '频率:50Hz 电压:80%Un 谐波电压:h3 10%Un;h7 10%Un;h11 10%Un;h15 4%Un; h19 5%Un; h23 5%Un',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
|
|
|
|
|
resultType2: 'info',
|
|
|
|
|
|
resultValue2: '-',
|
|
|
|
|
|
resultType3: 'info',
|
|
|
|
|
|
resultValue3: '-',
|
|
|
|
|
|
resultType4: 'info',
|
|
|
|
|
|
resultValue4: '-',
|
|
|
|
|
|
resultType5: 'info',
|
|
|
|
|
|
resultValue5: '-',
|
|
|
|
|
|
resultType6: 'info',
|
|
|
|
|
|
resultValue6: '-',
|
|
|
|
|
|
resultType7: 'info',
|
|
|
|
|
|
resultValue7: '-',
|
|
|
|
|
|
resultType8: 'info',
|
|
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '3',
|
|
|
|
|
|
scriptItemName: '谐波电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '4',
|
|
|
|
|
|
scriptItemName: '谐波电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '5',
|
|
|
|
|
|
scriptItemName: '谐波有功功率',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '6',
|
|
|
|
|
|
scriptItemName: '间谐波电压',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '7',
|
|
|
|
|
|
scriptItemName: '间谐波电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '8',
|
|
|
|
|
|
scriptItemName: '暂态',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '9',
|
|
|
|
|
|
scriptItemName: '电流',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '10',
|
|
|
|
|
|
scriptItemName: '电压不平衡度',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '11',
|
|
|
|
|
|
scriptItemName: '电流不平衡度',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
id: '12',
|
|
|
|
|
|
scriptItemName: '短时闪变',
|
|
|
|
|
|
resultType1: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue1: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType2: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue2: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType3: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue3: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType4: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue4: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType5: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue5: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType6: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue6: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType7: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue7: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
resultType8: 'info',
|
2024-12-18 18:53:55 +08:00
|
|
|
|
resultValue8: '-',
|
2024-11-25 21:11:10 +08:00
|
|
|
|
},
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
const currentStepStatus = ref<'error' | 'finish' | 'wait' | 'success' | 'process'>('finish');
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
const props = defineProps({
|
|
|
|
|
|
testStatus: {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
type: String,
|
|
|
|
|
|
default: 'wait'
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
const testStatus = toRef(props, 'testStatus');
|
|
|
|
|
|
const ts = ref('');
|
|
|
|
|
|
|
|
|
|
|
|
const startTimer = () => {
|
|
|
|
|
|
//if (timer.value !== null) return; // 如果定时器已经启动,则不再重复启动
|
|
|
|
|
|
timer.value = setInterval(() => {
|
2024-12-05 21:33:52 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (activeIndex.value <= activeTotalNum.value) {
|
|
|
|
|
|
|
|
|
|
|
|
activeIndex.value++;
|
|
|
|
|
|
updateLog()
|
|
|
|
|
|
|
|
|
|
|
|
switch (activeIndex.value) {
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
updateTableData("1-1-1")
|
|
|
|
|
|
updateTableData("1-1-2")
|
|
|
|
|
|
updateTableData("1-1-3")
|
|
|
|
|
|
updateTableData("1-1-4")
|
|
|
|
|
|
updateTableData("1-1")
|
|
|
|
|
|
updateTableData("1-2-1")
|
|
|
|
|
|
updateTableData("1-2")
|
|
|
|
|
|
updateTableData("1-3-1")
|
|
|
|
|
|
updateTableData("1-3")
|
|
|
|
|
|
updateTableData("1")
|
|
|
|
|
|
break;
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
updateTableData("2-1-1")
|
|
|
|
|
|
updateTableData("2-1-2")
|
|
|
|
|
|
updateTableData("2-1-3")
|
|
|
|
|
|
updateTableData("2-1-4")
|
|
|
|
|
|
updateTableData("2-1-5")
|
|
|
|
|
|
updateTableData("2-1")
|
|
|
|
|
|
updateTableData("2-2-1")
|
|
|
|
|
|
updateTableData("2-2")
|
|
|
|
|
|
updateTableData("2-3-1")
|
|
|
|
|
|
updateTableData("2-3")
|
|
|
|
|
|
updateTableData("2")
|
|
|
|
|
|
break;
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
case 4:
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case 6:
|
|
|
|
|
|
case 7:
|
|
|
|
|
|
case 8:
|
|
|
|
|
|
case 9:
|
|
|
|
|
|
case 10:
|
|
|
|
|
|
case 11:
|
|
|
|
|
|
case 12:
|
|
|
|
|
|
updateTableData(activeIndex.value.toString())
|
|
|
|
|
|
break;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
}
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (percentage.value < 100) {
|
|
|
|
|
|
percentage.value = Math.trunc(activeIndex.value / activeTotalNum.value * 100);
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
percentage.value = 100;
|
|
|
|
|
|
clearInterval(timer.value)
|
|
|
|
|
|
timer.value = null;
|
2024-11-29 13:45:48 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
ts.value = 'success'
|
|
|
|
|
|
ElMessageBox.alert('检测全部结束,你可以停留在此页面查看检测结果,或返回首页进行复检、报告生成和归档等操作', '检测完成', {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
// if you want to disable its autofocus
|
|
|
|
|
|
// autofocus: false,
|
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
|
})
|
|
|
|
|
|
clear();
|
2024-12-18 18:53:55 +08:00
|
|
|
|
}
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
clearInterval(timer.value)
|
|
|
|
|
|
timer.value = null;
|
|
|
|
|
|
ts.value = 'success'
|
|
|
|
|
|
scrollToBottom();
|
|
|
|
|
|
}
|
2024-11-25 21:11:10 +08:00
|
|
|
|
|
|
|
|
|
|
}, 2000);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const pauseTimer = () => {
|
|
|
|
|
|
if (timer.value !== null) {
|
|
|
|
|
|
clearInterval(timer.value);
|
|
|
|
|
|
timer.value = null;
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const resumeTimer = () => {
|
|
|
|
|
|
if (timer.value === null) {
|
2024-11-29 13:45:48 +08:00
|
|
|
|
console.log('startTimer')
|
2024-11-25 21:11:10 +08:00
|
|
|
|
startTimer();
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
//监听goods_sn的变化
|
|
|
|
|
|
watch(testStatus, function (newValue, oldValue) {
|
|
|
|
|
|
ts.value = props.testStatus;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
if (ts.value === 'start') {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
ts.value = 'process'
|
|
|
|
|
|
|
|
|
|
|
|
startTimer()
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['update:testStatus']);
|
|
|
|
|
|
//监听sn
|
|
|
|
|
|
watch(ts, function (newValue, oldValue) {
|
|
|
|
|
|
//修改父组件
|
2024-12-18 18:53:55 +08:00
|
|
|
|
emit('update:testStatus', ts.value)
|
2024-11-25 21:11:10 +08:00
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
2024-12-18 15:56:59 +08:00
|
|
|
|
|
2024-12-05 21:33:52 +08:00
|
|
|
|
:deep(.el-table .header-row) {
|
2024-11-25 21:11:10 +08:00
|
|
|
|
// background-color:var(--el-color-warning-light-9);
|
2024-12-18 18:53:55 +08:00
|
|
|
|
background-color: #f5f7fa;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
// color:red;
|
|
|
|
|
|
// font-size:30px;
|
|
|
|
|
|
// --el-table-tr-bg-color: var(--el-color-warning-light-9);
|
|
|
|
|
|
}
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
2024-12-05 21:33:52 +08:00
|
|
|
|
:deep(.el-table .warning-row) {
|
|
|
|
|
|
// background-color:var(--el-color-warning-light-9);
|
2024-12-06 09:10:39 +08:00
|
|
|
|
//background-color:#bed96557;
|
2024-12-18 18:53:55 +08:00
|
|
|
|
color: red;
|
2024-12-05 21:33:52 +08:00
|
|
|
|
// font-size:30px;
|
|
|
|
|
|
// --el-table-tr-bg-color: var(--el-color-warning-light-9);
|
2024-12-06 15:06:38 +08:00
|
|
|
|
// background-color:#f5f7fa;
|
|
|
|
|
|
// position: relative;
|
2024-12-05 21:33:52 +08:00
|
|
|
|
}
|
2024-12-06 15:06:38 +08:00
|
|
|
|
|
|
|
|
|
|
// :deep(.el-table .warning-row::before) {
|
|
|
|
|
|
// content: '*'; /* 必须设置content属性 */
|
|
|
|
|
|
// position: absolute;
|
|
|
|
|
|
// color:red;
|
|
|
|
|
|
// background-color:#f5f7fa;
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
2024-11-25 21:11:10 +08:00
|
|
|
|
.el-table .success-row {
|
|
|
|
|
|
--el-table-tr-bg-color: var(--el-color-success-light-9);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
.dialog {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
.dialog-title {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
margin-bottom: 10px;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
}
|
2024-12-11 19:12:04 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
.dialog-content {
|
2024-12-05 15:22:46 +08:00
|
|
|
|
max-height: 450px;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
:deep(.el-collapse-item__header) {
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
}
|
2024-12-11 19:12:04 +08:00
|
|
|
|
|
2024-12-18 18:53:55 +08:00
|
|
|
|
.dialog-log {
|
2024-12-11 19:12:04 +08:00
|
|
|
|
height: 50px;
|
2024-11-25 21:11:10 +08:00
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
// flex-grow: 1;
|
|
|
|
|
|
// display: flex;
|
|
|
|
|
|
// flex-direction: column-reverse;
|
|
|
|
|
|
|
2024-12-11 19:12:04 +08:00
|
|
|
|
p {
|
|
|
|
|
|
margin: 5px 0;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-11-21 23:02:43 +08:00
|
|
|
|
|
2024-11-18 22:04:59 +08:00
|
|
|
|
</style>
|
2024-12-05 15:22:46 +08:00
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
:deep(.el-button--small) {
|
2024-12-18 18:53:55 +08:00
|
|
|
|
height: 20px !important;
|
|
|
|
|
|
width: 20px !important;
|
2024-12-05 15:22:46 +08:00
|
|
|
|
}
|
2024-12-18 18:53:55 +08:00
|
|
|
|
|
|
|
|
|
|
:deep(.el-table--default td ) {
|
2024-12-05 15:22:46 +08:00
|
|
|
|
padding: 5px 0 !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|