日志测试
This commit is contained in:
@@ -260,6 +260,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
TableInit();
|
TableInit();
|
||||||
} else {
|
} else {
|
||||||
switch (newValue.requestId) {
|
switch (newValue.requestId) {
|
||||||
|
|
||||||
case 'yjc_ytxjy':
|
case 'yjc_ytxjy':
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case'INIT_GATHER':
|
case'INIT_GATHER':
|
||||||
@@ -342,6 +343,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
console.log("Coefficient_Checkactive", active.value);
|
console.log("Coefficient_Checkactive", active.value);
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case 'big_end'://大电压,电流下装
|
case 'big_end'://大电压,电流下装
|
||||||
|
console.log('大电压,电流下装')
|
||||||
active.value++;
|
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';
|
||||||
@@ -351,6 +353,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
}
|
}
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case 'small_end'://小电压,电流下装
|
case 'small_end'://小电压,电流下装
|
||||||
|
console.log('小电压,电流下装')
|
||||||
active.value++;
|
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';
|
||||||
@@ -360,6 +363,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
}
|
}
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case 'big_comp_end'://大电压,电流校准
|
case 'big_comp_end'://大电压,电流校准
|
||||||
|
console.log('大电压,电流校准')
|
||||||
active.value++;
|
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';
|
||||||
@@ -369,6 +373,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
}
|
}
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case 'small_comp_end'://小电压,电流校准
|
case 'small_comp_end'://小电压,电流校准
|
||||||
|
console.log('小电压,电流校准')
|
||||||
active.value++;
|
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';
|
||||||
@@ -396,6 +401,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case 'DATA_CHNFACTOR$02'://表格
|
case 'DATA_CHNFACTOR$02'://表格
|
||||||
// 输出 key 为 0 的数组中的第一条 ChannelsTest.CoefficientVO 对象
|
// 输出 key 为 0 的数组中的第一条 ChannelsTest.CoefficientVO 对象
|
||||||
|
console.log('表格',name.value)
|
||||||
for (let i = 0; i < name.value.length; i++) {
|
for (let i = 0; i < name.value.length; i++) {
|
||||||
const targetArrayRef = tableDataMap.get(i);
|
const targetArrayRef = tableDataMap.get(i);
|
||||||
if (targetArrayRef) {
|
if (targetArrayRef) {
|
||||||
|
|||||||
Reference in New Issue
Block a user