|  | @@ -47,7 +47,6 @@
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="nitrogen-home">
 | 
	
		
			
				|  |  |          <div class="nitrogen-container">
 | 
	
		
			
				|  |  | -            <div v-if="monitorNetStatus == 0" class="device-state">网络断开</div>
 | 
	
		
			
				|  |  |              <div class="top-box">
 | 
	
		
			
				|  |  |                  <!-- 中间区域控制按钮 -->
 | 
	
		
			
				|  |  |                  <div class="center-item-box">
 | 
	
	
		
			
				|  | @@ -354,7 +353,6 @@ const echatsOption = {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const monitorDataGroupNum = ref(0);
 | 
	
		
			
				|  |  | -const monitorNetStatus = ref(0)
 | 
	
		
			
				|  |  |  let airCompressorState = reactive<any[]>([]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  //主机进气
 | 
	
	
		
			
				|  | @@ -726,7 +724,7 @@ watch(monitorDataGroupNum, () => {
 | 
	
		
			
				|  |  |      const item = {
 | 
	
		
			
				|  |  |          legend: '实时流量',
 | 
	
		
			
				|  |  |          seriesName: '(m³/min)',
 | 
	
		
			
				|  |  | -        ymax: 500,
 | 
	
		
			
				|  |  | +        ymax: 100,
 | 
	
		
			
				|  |  |          yname: 'm³/min',
 | 
	
		
			
				|  |  |          linetype: 'line',
 | 
	
		
			
				|  |  |          yaxispos: 'left',
 | 
	
	
		
			
				|  | @@ -802,12 +800,8 @@ async function getDataSource(systemID) {
 | 
	
		
			
				|  |  |          result.msgTxt.forEach((item) => {
 | 
	
		
			
				|  |  |              if (item.type && item.type.startsWith('nitrogen')) {
 | 
	
		
			
				|  |  |                  airCompressorState.length = 0;
 | 
	
		
			
				|  |  | -                let netStatus = 0
 | 
	
		
			
				|  |  |                  monitorData.value = item['datalist'].filter((data) => {
 | 
	
		
			
				|  |  |                      const readData = data.readData;
 | 
	
		
			
				|  |  | -                    if (data['netStatus'] == 1) {
 | 
	
		
			
				|  |  | -                        netStatus = 1
 | 
	
		
			
				|  |  | -                    }
 | 
	
		
			
				|  |  |                      airCompressorState.push({
 | 
	
		
			
				|  |  |                          id: data.deviceID,
 | 
	
		
			
				|  |  |                          deviceType: data.deviceType,
 | 
	
	
		
			
				|  | @@ -818,14 +812,13 @@ async function getDataSource(systemID) {
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      return Object.assign(data, readData);
 | 
	
		
			
				|  |  |                  });
 | 
	
		
			
				|  |  | -                monitorNetStatus.value = netStatus
 | 
	
		
			
				|  |  |                  console.log(monitorData, 'monitorData.value---===')
 | 
	
		
			
				|  |  |                  const airCompressor = { readTime: monitorData.value[0]['readTime'].substring(11) }
 | 
	
		
			
				|  |  |                  const dataArr = lodash.cloneDeep(echartData.value)
 | 
	
		
			
				|  |  |                  //图表数据
 | 
	
		
			
				|  |  |                  if (dataArr.length <= 5) {
 | 
	
		
			
				|  |  |                      monitorData.value.forEach((el, index) => {
 | 
	
		
			
				|  |  | -                        airCompressor[`single_flow${index + 1}`] = el['single_flow'] || 0
 | 
	
		
			
				|  |  | +                        airCompressor['flow'] = el['flow'] || 0
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      dataArr.push(airCompressor)
 | 
	
		
			
				|  |  |                  } else {
 |