| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2,7 +2,11 @@ package com.hnac.gglm.bigmodel.business.controller; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; | 
					 | 
					 | 
					 | 
					import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.hnac.gglm.bigmodel.business.service.VectorDataService; | 
					 | 
					 | 
					 | 
					import com.hnac.gglm.bigmodel.business.service.VectorDataService; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.hnac.gglm.bigmodel.business.vo.DeviceModelData; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.hnac.hzinfo.api.annotation.ApiInterface; | 
					 | 
					 | 
					 | 
					import com.hnac.hzinfo.api.annotation.ApiInterface; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.hnac.hzinfo.sdk.v5.model.vo.ModelAttrVO; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.hnac.hzinfo.sdk.v5.model.vo.ModelEventVO; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.hnac.hzinfo.sdk.v5.model.vo.ModelFuncVO; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import io.swagger.annotations.Api; | 
					 | 
					 | 
					 | 
					import io.swagger.annotations.Api; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import io.swagger.annotations.ApiOperation; | 
					 | 
					 | 
					 | 
					import io.swagger.annotations.ApiOperation; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import lombok.AllArgsConstructor; | 
					 | 
					 | 
					 | 
					import lombok.AllArgsConstructor; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -12,6 +16,8 @@ import org.springframework.web.bind.annotation.GetMapping; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.RequestMapping; | 
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.RequestMapping; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.RestController; | 
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.RestController; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import java.util.List; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					/** | 
					 | 
					 | 
					 | 
					/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 * @Author: ypj | 
					 | 
					 | 
					 | 
					 * @Author: ypj | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 * @Date: 2024/9/18 10:17 | 
					 | 
					 | 
					 | 
					 * @Date: 2024/9/18 10:17 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -28,25 +34,33 @@ public class VectorDataController { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @GetMapping("/getModelAttributeData") | 
					 | 
					 | 
					 | 
					    @GetMapping("/getModelAttributeData") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型属性数据") | 
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型属性数据") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 11) | 
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 1) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiInterface | 
					 | 
					 | 
					 | 
					    @ApiInterface | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public R getModelAttributeData() { | 
					 | 
					 | 
					 | 
					    public R<List<ModelAttrVO>> getModelAttributeData() { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelAttributeData()); | 
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelAttributeData()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @GetMapping("/getModelEventData") | 
					 | 
					 | 
					 | 
					    @GetMapping("/getModelEventData") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型事件数据") | 
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型事件数据") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 12) | 
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 2) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiInterface | 
					 | 
					 | 
					 | 
					    @ApiInterface | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public R getModelEventData() { | 
					 | 
					 | 
					 | 
					    public R<List<ModelEventVO>> getModelEventData() { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelEventData()); | 
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelEventData()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @GetMapping("/getModelFunctionData") | 
					 | 
					 | 
					 | 
					    @GetMapping("/getModelFunctionData") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型功能数据") | 
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型功能数据") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 13) | 
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 3) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiInterface | 
					 | 
					 | 
					 | 
					    @ApiInterface | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public R getModelFunctionData() { | 
					 | 
					 | 
					 | 
					    public R<List<ModelFuncVO>> getModelFunctionData() { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelFunctionData()); | 
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelFunctionData()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @GetMapping("/getModelData") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取模型数据") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @ApiOperationSupport(order = 4) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @ApiInterface | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    public R<List<DeviceModelData>> getModelData() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return R.data(vectorDataService.getModelData()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |