fix:调整环境参数显示顺序和名称

- 更新监测字段(0温度,1湿度,2振动-速度(mm/s),3振动-位移(um),4振动-加速度(g),5振动-温度(℃),6-噪音,7-照度,8-气体浓度)
boardTest
zch 4 weeks ago
parent d070e2c417
commit b545773779

@ -689,10 +689,10 @@ export default {
return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration
case 5: // -()
return deviceParam.vibrationTemp || deviceParam.VibrationTemp
case 6: //
return deviceParam.illuminance
case 7: //
case 6: //
return deviceParam.noise
case 7: //
return deviceParam.illuminance
case 8: //
return deviceParam.concentration
default:
@ -761,8 +761,8 @@ export default {
3: '振动-位移(um)',
4: '振动-加速度(g)',
5: '振动-温度(℃)',
6: '照度',
7: '噪声',
6: '噪音',
7: '照度',
8: '气体浓度'
}
return fieldMap[fieldCode] || '未知字段'

@ -651,10 +651,10 @@ export default {
return deviceParam.vibrationAcceleration || deviceParam.VibrationAcceleration
case 5: // -()
return deviceParam.vibrationTemp || deviceParam.VibrationTemp
case 6: //
return deviceParam.illuminance
case 7: //
case 6: //
return deviceParam.noise
case 7: //
return deviceParam.illuminance
case 8: //
return deviceParam.concentration
default:
@ -672,8 +672,8 @@ export default {
3: '振动-位移(um)',
4: '振动-加速度(g)',
5: '振动-温度(℃)',
6: '照度',
7: '噪声',
6: '噪音',
7: '照度',
8: '气体浓度'
}
return fieldMap[fieldCode] || '未知字段'

Loading…
Cancel
Save