| 
					
				 | 
			
			
				@@ -128,16 +128,6 @@ export const DeviceApi = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return await request.get({ url: `/iot/device/simple-list?`, params: { deviceType } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 获取设备属性最���数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getDevicePropertiesLatestData: async (params: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    return await request.get({ url: `/iot/device/data/latest`, params }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // 获取设备属性历史数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getDevicePropertiesHistoryData: async (params: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    return await request.get({ url: `/iot/device/data/history`, params }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 获取导入模板 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   importDeviceTemplate: async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return await request.download({ url: `/iot/device/get-import-template` }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,10 +135,19 @@ export const DeviceApi = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 模拟设备上报 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   simulationReportDevice: async (data: IotDeviceSimulationReportReqVO) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // TODO @super:/iot/device/simulator 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return await request.post({ url: `/iot/device/simulation-report`, data }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // 获取设备属性最新数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getLatestDeviceProperties: async (params: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return await request.get({ url: `/iot/device/property/latest`, params }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // 获取设备属性历史数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getHistoryDevicePropertyPage: async (params: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return await request.get({ url: `/iot/device/property/history-page`, params }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 查询设备日志分页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getDeviceLogPage: async (params: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return await request.get({ url: `/iot/device/log/page`, params }) 
			 |