| | |
| | | "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"` |
| | |
| | | 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"` |
| | | } |