|
|
|
@ -2,6 +2,7 @@ package com.hnac.gglm.bigmodel.business.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.hnac.gglm.bigmodel.business.service.VectorDataService; |
|
|
|
|
import com.hnac.gglm.bigmodel.business.vo.DeviceModelData; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.device.client.DeviceClient; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.device.dto.DeviceAttrInfoDTO; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.model.ModelClient; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.model.vo.ModelAttrVO; |
|
|
|
@ -25,6 +26,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
@AllArgsConstructor |
|
|
|
|
public class VectorDataServiceImpl implements VectorDataService { |
|
|
|
|
private final ModelClient modelClient; |
|
|
|
|
private final DeviceClient deviceClient; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -65,6 +67,6 @@ public class VectorDataServiceImpl implements VectorDataService {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<DeviceAttrInfoDTO> getDeviceAttr() { |
|
|
|
|
return null; |
|
|
|
|
return deviceClient.listDeviceAttr().getData(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|