From b4a86051e9bf4888fd5d01c12232a26f3874e03b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 17 十月 2024 21:30:18 +0800
Subject: [PATCH] 完善epc读取楼层

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

diff --git a/vo/ape.go b/vo/ape.go
index d825df7..d820256 100644
--- a/vo/ape.go
+++ b/vo/ape.go
@@ -8,7 +8,7 @@
 
 // 鐩存帴娉ㄥ唽鐨勯噰闆嗚澶�, 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"`
@@ -57,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