修改获取设备属性参数返回值的类型
This commit is contained in:
@@ -61,7 +61,7 @@ type DeviceAttributeOption struct {
|
||||
Flag uint8 `json:"flag"`
|
||||
Field string `json:"field"`
|
||||
Readonly bool `json:"readonly"`
|
||||
AllowItem *[]int `json:"allow_item,omitempty"`
|
||||
AllowItem *[]uint8 `json:"allow_item,omitempty"`
|
||||
Min *uint32 `json:"min,omitempty"`
|
||||
Max *uint32 `json:"max,omitempty"`
|
||||
} `json:"attribute"`
|
||||
|
||||
Reference in New Issue
Block a user