فهرست منبع

路宁注氮更新

lxh 1 سال پیش
والد
کامیت
96e2c5b40d

+ 2 - 2
src/views/vent/monitorManager/compressor/components/nitrogenHome_new.vue → src/views/vent/monitorManager/compressor/components/nitrogenHome_ln.vue

@@ -74,7 +74,7 @@
                 </div>
                 <!-- 左边监测数据 -->
                 <div class="lr-box left-box">
-                    <ventBox1 v-if="monitorData[0]['deviceType'] == 'nitrogen_auto'">
+                    <ventBox1 v-if="monitorData.length!=0 && monitorData[0]['deviceType'] == 'nitrogen_auto'">
                         <template #title>
                             <div>注氮机监测</div>
                         </template>
@@ -148,7 +148,7 @@ import { mountedThree, destroy, setModelType } from '../nitrogen.threejs';
 import { getDevice } from '../nitrogen.api';
 import BarAndLine from '/@/components/chart/BarAndLine.vue';
 import { deviceControlApi } from '/@/api/vent/index';
-import { preMonitorList, preFanMonitorData, nitrogenMonitorData } from '../nitrogen.data.new';
+import { preMonitorList, preFanMonitorData, nitrogenMonitorData } from '../nitrogen.data.ln';
 import { formatNum } from '/@/utils/ventutil';
 import { useCamera } from '/@/hooks/system/useCamera';
 import { message } from 'ant-design-vue';

+ 158 - 0
src/views/vent/monitorManager/compressor/nitrogen.data.ln.ts

@@ -0,0 +1,158 @@
+
+  export const nitrogenMonitorData = [
+    {
+      title: '管道温度',
+      code: 'pipe_temperature',
+      unit: '℃',
+    },
+    {
+      title: '管道压力',
+      code: 'pipe_pressure',
+      unit: 'MPa',
+    },
+    {
+      title: '氮气流量',
+      code: 'nitrogen_flow_rate',
+      unit: 'm³',
+    },
+    {
+      title: '氮气浓度',
+      code: 'nitrogen_concentration',
+      unit: '%',
+    },
+    {
+        title: '电动排氮阀开度',
+        code: 'nitrogen_discharge_opening',
+        unit: '--',
+      },
+  ];
+
+  export const preMonitorList = [
+    {
+      title: `主机温度`,
+      code: `host_temperature`,
+      unit: '℃',
+      child: [],
+    },
+    {
+      title: `排气压力`,
+      code: `exhaust_pressure`,
+      unit: 'MPa',
+      child: [],
+    },
+    {
+        title: `管道温度`,
+        code: `pipe_temperature`,
+        unit: '℃',
+        child: [],
+      },
+      {
+        title: `管道压力`,
+        code: `pipe_pressure`,
+        unit: 'MPa',
+        child: [],
+      },
+    {
+      title: `电机定子温度`,
+      code: `stator_temperature`,
+      unit: '℃',
+      child: [],
+    },
+    {
+      title: `电机前端轴承温度`,
+      code: `front_axle_temperature`,
+      unit: '℃',
+      child: [],
+    },
+    {
+        title: `电机后端轴承温度`,
+        code: `rear_axle_temperature`,
+        unit: '℃',
+        child: [],
+      },
+     
+    // {
+    //   code: 'signal',
+    //   child: [
+    //     {
+    //       title: `加载/卸载:`,
+    //       code: `LoadorUnload`,
+    //       isFault: -1,
+    //     },
+    //     {
+    //       title: `控制方式:`,
+    //       code: `CtrlMode`,
+    //       isFault: -2,
+    //     },
+    //   ],
+    // },
+    // {
+    //   code: 'signal',
+    //   child: [
+    //     {
+    //       title: `运行信号:`,
+    //       code: `Status`,
+    //       isFault: false,
+    //     },
+    //     {
+    //       title: `排气压力过高:`,
+    //       code: `ExhaustPreHighFault`,
+    //       isFault: true,
+    //     },
+    //   ],
+    // },
+  ];
+  export const preFanMonitorData = [
+    {
+      title: '运行状态',
+      code: 'operation_shutdown',
+      unit: '',
+    },
+    {
+        title: '运行时间',
+        code: 'operation_hours',
+        unit: 'h',
+      },
+    {
+      title: '油压未建立故障',
+      code: 'oil_pressure_not_established',
+      unit: 'signal',
+    },
+    {
+      title: '排气压力超限故障',
+      code: 'exhaust_pressure_exceeding_limit',
+      unit: 'signal',
+    },
+    {
+      title: '相序故障',
+      code: 'phase-sequence_protection',
+      unit: 'signal',
+    },
+    {
+        title: '风机1过载故障',
+        code: 'fan1_overload',
+        unit: 'signal',
+      },
+      {
+        title: '风机2过载故障',
+        code: 'fan2_overload',
+        unit: 'signal',
+      },
+      {
+        title: '风机3过载故障',
+        code: 'fan3_overload',
+        unit: 'signal',
+      },
+      {
+        title: '风机4过载故障',
+        code: 'fan4_overload',
+        unit: 'signal',
+      },
+      {
+        title: '高压柜故障',
+        code: 'hvc_malfunction',
+        unit: 'signal',
+      },
+  
+  ];
+  

+ 2 - 2
src/views/vent/monitorManager/compressor/nitrogen.data.ts

@@ -222,8 +222,8 @@ export function getMonitorComponent() {
       return nitrogenHome;
     default:
       // nitrogenHome = defineAsyncComponent(() => import('./components/nitrogenHome_dltj.vue'));
-      // nitrogenHome = defineAsyncComponent(() => import('./components/nitrogenHome_new.vue'));
-      nitrogenHome = defineAsyncComponent(() => import('./components/nitrogenHome_bet.vue'));
+      nitrogenHome = defineAsyncComponent(() => import('./components/nitrogenHome_ln.vue'));
+      // nitrogenHome = defineAsyncComponent(() => import('./components/nitrogenHome_bet.vue'));
       return nitrogenHome;
   }
 }