From 539a78196da60eb97cf7057c5c85dfaa9b240741 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 11 十月 2024 16:21:32 +0800
Subject: [PATCH] 添加A3平层传感器数据获取方式

---
 vo/ape.go |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/vo/ape.go b/vo/ape.go
index f45c289..d820256 100644
--- a/vo/ape.go
+++ b/vo/ape.go
@@ -6,8 +6,9 @@
 	"errors"
 )
 
+// 鐩存帴娉ㄥ唽鐨勯噰闆嗚澶�, Device鍖呭惈杩欎簺璁惧, 鍒嗗紑瀛樺彧鏄负浜嗙骇鑱斾笂鎶�
 type Ape struct {
-	ApeID            string  `json:"ApeID"`
+	ApeID            string  `json:"ApeID" binding:"required"`
 	Name             string  `json:"Name"`
 	Model            string  `json:"Model"`
 	IPAddr           string  `json:"IPAddr"`
@@ -56,3 +57,13 @@
 type NotificationApeList struct {
 	APEObject []Ape `json:"APEObject"`
 }
+
+type ApeStatus struct {
+	ApeID       string `json:"ApeID" binding:"required"`
+	IsOnline    string `json:"IsOnline" binding:"required"`
+	CurrentTime string `json:"CurrentTime" binding:"required"`
+}
+
+type NotificationApeStatusList struct {
+	APEStatusObject []ApeStatus `json:"APEStatusObject"`
+}

--
Gitblit v1.8.0