| 
					
				 | 
			
			
				@@ -77,7 +77,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="monitor-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <div class="parameter-title device-parameter-title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <SvgIcon class="icon" size="32" name="device-paramer" /><span>电机数据</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <SvgIcon class="icon" size="32" name="device-paramer" /><span>空压机数据</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <div class="state-item" v-for="(data, index) in deviceParameterData" :key="index"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div class="item-col"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -140,8 +140,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div>设备实时监测曲线</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template #container> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <BarAndLineCustom xAxisPropType="readTime" :chartData="monitorData" height="240px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :propTypeArr="['flowRate']" :option="zhudanOption" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <BarAndLineCustom xAxisPropType="readTime" :chartData="echartData" height="240px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :propTypeArr="['FluxTotal1','InputFlux']" :option="zhudanOption" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </ventBox1> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <!-- <div class="vent-margin-t-10"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -207,12 +207,12 @@ const groupParameterData = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const deviceParameterData = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    AirCompressor_ExhaustPre: '空压机排气压力(KPa)', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    AirCompressor_ExhaustTemp: '空压机排气温度(°C)', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    AirCompressor_ExhaustPre: '排气压力(KPa)', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    AirCompressor_ExhaustTemp: '排气温度(°C)', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    AirCompressor_RunTime: '空压机运行时间', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    AirCompressor_LoadTime: '空压机加载时间', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    AirCompressor_RunTime: '运行时间', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    AirCompressor_LoadTime: '加载时间', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -238,6 +238,9 @@ const monitorData = ref(new Array(3).fill({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // controlModel: 'LOC' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 })); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//图表数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+let echartData=reactive<any>([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // //详情弹框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // const [registerModal, { openModal, closeModal }] = useModal(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -263,7 +266,7 @@ async function getMonitor(flag?) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         timer = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       await getMonitor(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, flag ? 0 : 1000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, flag ? 0 : 3000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -279,6 +282,13 @@ async function getDataSource(systemID) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           const item = data.readData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return Object.assign(data, item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //图表数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(echartData.length<=5){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            monitorData.value.forEach(el=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              echartData.push(el) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         airCompressorState.length = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         item['datalist'].forEach(v => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           airCompressorState.push({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -286,10 +296,10 @@ async function getDataSource(systemID) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             compressRunSigF1: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             controlModel: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    console.log(echartData,'echart----------') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     monitorDataGroupNum.value = monitorData.value.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 |