From baa46135fb13c79ceb83149255e625a9de589369 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 6 May 2024 09:46:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mpoint=20form=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=85=B3=E8=81=94=E7=8E=AF=E4=BF=9D=E5=AD=97=E6=AE=B52?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/enum.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/utils/enum.js b/src/utils/enum.js index 4d671134..91e511ac 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -117,4 +117,27 @@ export const mpointGatherStateEnum = new EnumFactory({ "0": { text: '正常', type: 'success' }, "-1": { text: '错误', type: 'danger' }, "-2": { text: '无', type: 'info' }, -}, parseInt) \ No newline at end of file +}, parseInt) + + +export const enpfieldEnum = new EnumFactory({ + 'running_state': '运行状态', + 'dust_rtd': '颗粒物实测(mg/m3)', + 'dust_zs': '颗粒物折算(mg/m3)', + 'temperature': '温度(℃)', + 'pressure': '压力(kPa)', + 'speed': '流速(m/s)', + 'humidity': '湿度(%)', + 'flux': '流量(m3/h)', + 'pm25': 'PM2.5(ug/m3)', + 'pm10': 'PM10(ug/m3)', + 'tsp': 'TSP(ug/m3)', + 'wind_direction': '风向', + 'wind_speed': '风速(m/s)', + 'so2_rtd': '风向', + 'so2_rtd': '二氧化硫实测(mg/m3)', + 'so2_zs': '二氧化硫折算(mg/m3)', + 'nox_rtd': '氮氧化物实测(mg/m3)', + 'nox_zs': '氮氧化物折算(mg/m3)', + 'o2': '含氧量(%)', +}) \ No newline at end of file