|
|
|
@ -4,6 +4,7 @@ import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
|
|
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.sdk.v5.device.dto.DeviceAttrInfoDTO; |
|
|
|
|
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; |
|
|
|
@ -63,4 +64,13 @@ public class VectorDataController {
|
|
|
|
|
public R<List<DeviceModelData>> getModelData() { |
|
|
|
|
return R.data(vectorDataService.getModelData()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/getDeviceAttr") |
|
|
|
|
@ApiOperation(value = "获取模型数据") |
|
|
|
|
@ApiOperationSupport(order = 4) |
|
|
|
|
@ApiInterface |
|
|
|
|
public R<List<DeviceAttrInfoDTO>> getDeviceAttr( ) { |
|
|
|
|
return R.data(vectorDataService.getDeviceAttr()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|