日志测试

This commit is contained in:
sjl
2025-02-26 19:00:37 +08:00
parent d338ca6b25
commit 6a635246bb

View File

@@ -260,6 +260,7 @@ watch(webMsgSend, function (newValue, oldValue) {
TableInit();
} else {
switch (newValue.requestId) {
case 'yjc_ytxjy':
switch (newValue.operateCode) {
case'INIT_GATHER':
@@ -339,9 +340,10 @@ watch(webMsgSend, function (newValue, oldValue) {
}
break;
case 'Coefficient_Check':
console.log("Coefficient_Checkactive", active.value);
console.log("Coefficient_Checkactive", active.value);
switch (newValue.operateCode) {
case 'big_end'://大电压,电流下装
console.log('大电压,电流下装')
active.value++;
big_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
big_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
@@ -351,6 +353,7 @@ watch(webMsgSend, function (newValue, oldValue) {
}
switch (newValue.operateCode) {
case 'small_end'://小电压,电流下装
console.log('小电压,电流下装')
active.value++;
small_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
small_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
@@ -360,6 +363,7 @@ watch(webMsgSend, function (newValue, oldValue) {
}
switch (newValue.operateCode) {
case 'big_comp_end'://大电压,电流校准
console.log('大电压,电流校准')
active.value++;
big_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
big_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
@@ -369,6 +373,7 @@ watch(webMsgSend, function (newValue, oldValue) {
}
switch (newValue.operateCode) {
case 'small_comp_end'://小电压,电流校准
console.log('小电压,电流校准')
active.value++;
small_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
small_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
@@ -396,6 +401,7 @@ watch(webMsgSend, function (newValue, oldValue) {
switch (newValue.operateCode) {
case 'DATA_CHNFACTOR$02'://表格
// 输出 key 为 0 的数组中的第一条 ChannelsTest.CoefficientVO 对象
console.log('表格',name.value)
for (let i = 0; i < name.value.length; i++) {
const targetArrayRef = tableDataMap.get(i);
if (targetArrayRef) {