枚举改成中文
This commit is contained in:
@@ -10,11 +10,11 @@ import (
|
||||
type SensorType string
|
||||
|
||||
const (
|
||||
SensorTypeSignalMetrics SensorType = "signal_metrics" // 信号强度
|
||||
SensorTypeBatteryLevel SensorType = "battery_level" // 电池电量
|
||||
SensorTypeTemperature SensorType = "temperature" // 温度
|
||||
SensorTypeHumidity SensorType = "humidity" // 湿度
|
||||
SensorTypeWeight SensorType = "weight" // 重量
|
||||
SensorTypeSignalMetrics SensorType = "信号强度" // 信号强度
|
||||
SensorTypeBatteryLevel SensorType = "电池电量" // 电池电量
|
||||
SensorTypeTemperature SensorType = "温度" // 温度
|
||||
SensorTypeHumidity SensorType = "湿度" // 湿度
|
||||
SensorTypeWeight SensorType = "重量" // 重量
|
||||
)
|
||||
|
||||
// SignalMetrics 存储信号强度数据
|
||||
|
||||
Reference in New Issue
Block a user