TuyaSmartSchemaPropertyModel Class Reference

Inherits from NSObject
Declared in TuyaSmartSchemaPropertyModel.h

  type

类型: enum - 枚举型 | bool - 布尔型 | string - 字符串型 | value - 数值型 | bitmap - 故障型 type

@property (nonatomic, strong) NSString *type

Discussion

类型: enum - 枚举型 | bool - 布尔型 | string - 字符串型 | value - 数值型 | bitmap - 故障型 type

Declared In

TuyaSmartSchemaPropertyModel.h

  unit

单位 比如 ℃ unit

@property (nonatomic, strong) NSString *unit

Discussion

单位 比如 ℃ unit

Declared In

TuyaSmartSchemaPropertyModel.h

  min

数值型的最小值 minimum when type is value

@property (nonatomic, assign) double min

Discussion

数值型的最小值 minimum when type is value

Declared In

TuyaSmartSchemaPropertyModel.h

  max

数值型的最大值 max when type is value

@property (nonatomic, assign) double max

Discussion

数值型的最大值 max when type is value

Declared In

TuyaSmartSchemaPropertyModel.h

  step

数值型的步长 step when type is value

@property (nonatomic, assign) double step

Discussion

数值型的步长 step when type is value

Declared In

TuyaSmartSchemaPropertyModel.h

  scale

数值型中表示 10 的指数,乘以对应的传输数值,等于实际值,用于避免小数传输

@property (nonatomic, assign) NSInteger scale

Discussion

数值型中表示 10 的指数,乘以对应的传输数值,等于实际值,用于避免小数传输

Declared In

TuyaSmartSchemaPropertyModel.h

  maxlen

故障型的最大位数 biggest digit fault type

@property (nonatomic, assign) NSInteger maxlen

Discussion

故障型的最大位数 biggest digit fault type

Declared In

TuyaSmartSchemaPropertyModel.h

  label

故障型的具体描述 Detailed description of the fault type

@property (nonatomic, strong) NSArray *label

Discussion

故障型的具体描述 Detailed description of the fault type

Declared In

TuyaSmartSchemaPropertyModel.h

  range

枚举型的范围 scope of the enumeration type

@property (nonatomic, strong) NSArray *range

Discussion

枚举型的范围 scope of the enumeration type

Declared In

TuyaSmartSchemaPropertyModel.h

  selectedValue

用户选择的值,业务字段 value of the user to select

@property (nonatomic, assign) NSInteger selectedValue

Discussion

用户选择的值,业务字段 value of the user to select

Declared In

TuyaSmartSchemaPropertyModel.h