调整 ReleaseFeedWeightTask
This commit is contained in:
@@ -58,8 +58,8 @@ type SensorData struct {
|
||||
// RegionalControllerID 是上报此数据的区域主控的ID。
|
||||
RegionalControllerID uint `json:"regional_controller_id"`
|
||||
|
||||
// SensorDataType 是传感数据的类型
|
||||
SensorDataType SensorType `gorm:"not null;index" json:"sensor_data_type"`
|
||||
// SensorType 是传感数据的类型
|
||||
SensorType SensorType `gorm:"not null;index" json:"sensor_type"`
|
||||
|
||||
// Data 存储一个或多个传感器读数,格式为 JSON。
|
||||
Data datatypes.JSON `gorm:"type:jsonb" json:"data"`
|
||||
|
||||
Reference in New Issue
Block a user