增加ping指令并获取带版本号的响应
This commit is contained in:
@@ -86,6 +86,8 @@ definitions:
|
||||
properties:
|
||||
created_at:
|
||||
type: string
|
||||
firmware_version:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
location:
|
||||
@@ -2638,10 +2640,12 @@ definitions:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
type: string
|
||||
x-enum-comments:
|
||||
SensorTypeBatteryLevel: 电池电量
|
||||
SensorTypeHumidity: 湿度
|
||||
SensorTypeOnlineStatus: 在线状态
|
||||
SensorTypeSignalMetrics: 信号强度
|
||||
SensorTypeTemperature: 温度
|
||||
SensorTypeWeight: 重量
|
||||
@@ -2651,12 +2655,14 @@ definitions:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
x-enum-varnames:
|
||||
- SensorTypeSignalMetrics
|
||||
- SensorTypeBatteryLevel
|
||||
- SensorTypeTemperature
|
||||
- SensorTypeHumidity
|
||||
- SensorTypeWeight
|
||||
- SensorTypeOnlineStatus
|
||||
models.SeverityLevel:
|
||||
enum:
|
||||
- debug
|
||||
@@ -2713,6 +2719,7 @@ definitions:
|
||||
- 等待
|
||||
- 下料
|
||||
- 全量采集
|
||||
- 心跳检测
|
||||
- 告警通知
|
||||
- 通知刷新
|
||||
- 设备阈值检查
|
||||
@@ -2724,6 +2731,7 @@ definitions:
|
||||
TaskTypeAreaCollectorThresholdCheck: 区域阈值检查任务
|
||||
TaskTypeDeviceThresholdCheck: 设备阈值检查任务
|
||||
TaskTypeFullCollection: 新增的全量采集任务
|
||||
TaskTypeHeartbeat: 区域主控心跳检测任务
|
||||
TaskTypeNotificationRefresh: 通知刷新任务
|
||||
TaskTypeReleaseFeedWeight: 下料口释放指定重量任务
|
||||
TaskTypeWaiting: 等待任务
|
||||
@@ -2732,6 +2740,7 @@ definitions:
|
||||
- 等待任务
|
||||
- 下料口释放指定重量任务
|
||||
- 新增的全量采集任务
|
||||
- 区域主控心跳检测任务
|
||||
- 告警通知任务
|
||||
- 通知刷新任务
|
||||
- 设备阈值检查任务
|
||||
@@ -2741,6 +2750,7 @@ definitions:
|
||||
- TaskTypeWaiting
|
||||
- TaskTypeReleaseFeedWeight
|
||||
- TaskTypeFullCollection
|
||||
- TaskTypeHeartbeat
|
||||
- TaskTypeAlarmNotification
|
||||
- TaskTypeNotificationRefresh
|
||||
- TaskTypeDeviceThresholdCheck
|
||||
@@ -2985,12 +2995,14 @@ paths:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
in: query
|
||||
name: sensor_type
|
||||
type: string
|
||||
x-enum-comments:
|
||||
SensorTypeBatteryLevel: 电池电量
|
||||
SensorTypeHumidity: 湿度
|
||||
SensorTypeOnlineStatus: 在线状态
|
||||
SensorTypeSignalMetrics: 信号强度
|
||||
SensorTypeTemperature: 温度
|
||||
SensorTypeWeight: 重量
|
||||
@@ -3000,12 +3012,14 @@ paths:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
x-enum-varnames:
|
||||
- SensorTypeSignalMetrics
|
||||
- SensorTypeBatteryLevel
|
||||
- SensorTypeTemperature
|
||||
- SensorTypeHumidity
|
||||
- SensorTypeWeight
|
||||
- SensorTypeOnlineStatus
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
@@ -3167,12 +3181,14 @@ paths:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
in: query
|
||||
name: sensor_type
|
||||
type: string
|
||||
x-enum-comments:
|
||||
SensorTypeBatteryLevel: 电池电量
|
||||
SensorTypeHumidity: 湿度
|
||||
SensorTypeOnlineStatus: 在线状态
|
||||
SensorTypeSignalMetrics: 信号强度
|
||||
SensorTypeTemperature: 温度
|
||||
SensorTypeWeight: 重量
|
||||
@@ -3182,12 +3198,14 @@ paths:
|
||||
- 温度
|
||||
- 湿度
|
||||
- 重量
|
||||
- 在线状态
|
||||
x-enum-varnames:
|
||||
- SensorTypeSignalMetrics
|
||||
- SensorTypeBatteryLevel
|
||||
- SensorTypeTemperature
|
||||
- SensorTypeHumidity
|
||||
- SensorTypeWeight
|
||||
- SensorTypeOnlineStatus
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
|
||||
Reference in New Issue
Block a user