[add] 新增萤石摄像头抓拍相关逻辑,获取方阵内光伏板、桩点支柱立架、箱变、逆变器地理信息接口
This commit is contained in:
@ -121,7 +121,6 @@ security:
|
||||
- /*/api-docs/**
|
||||
- /warm-flow-ui/token-name
|
||||
- /other/ys7Device/webhook
|
||||
- /other/ys7Device/test
|
||||
|
||||
# 多租户配置
|
||||
tenant:
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package org.dromara.test;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.dromara.manager.ys7manager.Ys7Manager;
|
||||
import org.dromara.manager.ys7manager.Ys7RequestUtils;
|
||||
import org.dromara.manager.ys7manager.vo.Ys7QueryDeviceResponseVo;
|
||||
@ -13,6 +14,7 @@ import java.util.List;
|
||||
* @author lcj
|
||||
* @date 2025/6/12 17:06
|
||||
*/
|
||||
@Slf4j
|
||||
@SpringBootTest
|
||||
public class Ys7Test {
|
||||
|
||||
@ -26,4 +28,10 @@ public class Ys7Test {
|
||||
System.out.println(ys7QueryDeviceResponseVos);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testCaptureDevicePic() {
|
||||
String pic = ys7Manager.getCaptureDevicePic("AE9470016", 1, 1);
|
||||
System.out.println(pic);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user