This commit is contained in:
caozehui
2025-04-14 19:51:06 +08:00
parent 30b219e14d
commit 4a80a88e6e

View File

@@ -362,41 +362,42 @@ watch(webMsgSend, function (newValue, oldValue) {
case 'Coefficient_Check': case 'Coefficient_Check':
console.log("Coefficient_Checkactive", active.value); console.log("Coefficient_Checkactive", active.value);
switch (newValue.operateCode) { switch (newValue.operateCode) {
case 'big_end'://大电压,电流下装 case 'big_start'://大电压,电流下装
console.log('大电压,电流下装')
active.value++;
big_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; big_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
big_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; big_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
break;
case 'big_end'://大电压,电流下装
active.value++;
tableLoading('small', '系数下装') tableLoading('small', '系数下装')
break; break;
} }
switch (newValue.operateCode) { switch (newValue.operateCode) {
case 'small_end'://小电压,电流下装 case 'small_start'://小电压,电流下装
console.log('小电压,电流下装')
active.value++;
small_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; small_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
small_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; small_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
break;
case 'small_end'://小电压,电流下装
active.value++;
tableLoading('big', '系数校准') tableLoading('big', '系数校准')
break; break;
} }
switch (newValue.operateCode) { switch (newValue.operateCode) {
case 'big_comp_end'://大电压,电流校准 case 'big_comp_start'://大电压,电流校准
console.log('大电压,电流校准')
active.value++;
big_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; big_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
big_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; big_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
break;
case 'big_comp_end'://大电压,电流校准
active.value++;
tableLoading('small', '系数校准') tableLoading('small', '系数校准')
break; break;
} }
switch (newValue.operateCode) { switch (newValue.operateCode) {
case 'small_comp_end'://小电压,电流校准 case 'small_comp_start'://小电压,电流校准
console.log('小电压,电流校准')
active.value++;
small_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; small_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V';
small_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; small_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A';
break;
case 'small_comp_end'://小电压,电流校准
active.value++;
active.value++; active.value++;
for (let i = 0; i < name.value.length; i++) { for (let i = 0; i < name.value.length; i++) {