From a0f4d01559785001e7b16b21025cc6a42e65d167 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期五, 05 十二月 2025 17:36:31 +0800
Subject: [PATCH] 添加ai事件管理页面

---
 fzzy-igdss-core/src/main/java/com/fzzy/igds/data/ApiCameraResp.java |   63 +++++++++++++++++++++++++++++++
 1 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/fzzy-igdss-core/src/main/java/com/fzzy/igds/data/ApiCameraResp.java b/fzzy-igdss-core/src/main/java/com/fzzy/igds/data/ApiCameraResp.java
new file mode 100644
index 0000000..c89e186
--- /dev/null
+++ b/fzzy-igdss-core/src/main/java/com/fzzy/igds/data/ApiCameraResp.java
@@ -0,0 +1,63 @@
+package com.fzzy.igds.data;
+
+import lombok.Data;
+
+/**
+ * @Description 瑙嗛鎾斁灏佽淇℃伅
+ * @Author CZT
+ * @Date 2024/12/11 09:59
+ */
+@Data
+public class ApiCameraResp {
+
+
+    public static String CODE_SUCCESS = "SUCCESS";
+    public static String CODE_ERROR = "ERROR";
+
+    private String code = CODE_SUCCESS;
+
+    private String msg;
+
+    /**
+     * 鎾斁淇℃伅
+     */
+    private String cameraId;  //鐩戞帶ID
+    private String cameraName;  //瑙嗛鍚嶇О
+    private String playUrl;  //鎾斁鍦板潃
+    private String playType; //鎾斁鏂瑰紡
+    private String snapType; //鎾斁鏂瑰紡
+    private String appkey; //瀹夐槻骞冲彴appKey
+    private String secret; //瀹夐槻骞冲彴绉橀挜
+    private String ip;     //璁惧IP
+    private Integer port;   //璁惧绔彛
+    private String sn;     //璁惧搴忓垪鍙�
+
+    /**
+     * 鎶撴媿闄勪欢鍚嶇О
+     */
+    private String fileName;
+
+    public ApiCameraResp() {
+    }
+
+    public ApiCameraResp(String playUrl) {
+        this.code = CODE_SUCCESS;
+        this.msg = "鎴愬姛";
+        this.playUrl = playUrl;
+    }
+
+    public ApiCameraResp(String code, String msg) {
+        this.code = code;
+        this.msg = msg;
+    }
+
+    public ApiCameraResp(String appkey, String secret, String ip, Integer port, String sn) {
+        this.code = CODE_SUCCESS;
+        this.msg = "鎴愬姛";
+        this.appkey = appkey;
+        this.secret = secret;
+        this.ip = ip;
+        this.port = port;
+        this.sn = sn;
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3