Tuya iOS Smart Life App SDK 5.15.0
ThingSmartSchemaPropertyModel Class Reference

The device schema property. More...

#import <ThingSmartSchemaPropertyModel.h>

Inheritance diagram for ThingSmartSchemaPropertyModel:

Properties

NSString * type
 The type of object. enum: enumerated | bool: Boolean | string: character | value: numeric | bitmap: fault | array: list | struct: struct properties. More...
 
NSString * unit
 The unit, such as °C. More...
 
double min
 The minimum value of the numeric type. More...
 
double max
 The maximum value of the numeric type. More...
 
double step
 The numerical step. More...
 
NSInteger scale
 The exponent of 10 in the numeric type, multiplied by the corresponding transmission value, is equal to the actual value and is used to avoid fractional transmission. More...
 
NSInteger maxlen
 The maximum number of bits of the fault type. More...
 
NSArraylabel
 Detailed description of the fault type. More...
 
NSArrayrange
 The scope of the enumeration type. More...
 
NSInteger selectedValue
 The specified value. More...
 
NSDictionary * properties
 Detailed descroption of the struct type. More...
 
NSInteger maxSize
 The maximum size of the array type. More...
 
NSDictionary * elementTypeSpec
 The element type spec of the array type. More...
 

Detailed Description

The device schema property.

Definition at line 16 of file ThingSmartSchemaPropertyModel.h.

Property Documentation

◆ elementTypeSpec

- (NSDictionary *) elementTypeSpec
readwritenonatomicstrong

The element type spec of the array type.

Definition at line 55 of file ThingSmartSchemaPropertyModel.h.

◆ label

- (NSArray *) label
readwritenonatomicstrong

Detailed description of the fault type.

Definition at line 40 of file ThingSmartSchemaPropertyModel.h.

◆ max

- (double) max
readwritenonatomicassign

The maximum value of the numeric type.

Definition at line 28 of file ThingSmartSchemaPropertyModel.h.

◆ maxlen

- (NSInteger) maxlen
readwritenonatomicassign

The maximum number of bits of the fault type.

Definition at line 37 of file ThingSmartSchemaPropertyModel.h.

◆ maxSize

- (NSInteger) maxSize
readwritenonatomicassign

The maximum size of the array type.

Definition at line 52 of file ThingSmartSchemaPropertyModel.h.

◆ min

- (double) min
readwritenonatomicassign

The minimum value of the numeric type.

Definition at line 25 of file ThingSmartSchemaPropertyModel.h.

◆ properties

- (NSDictionary *) properties
readwritenonatomicstrong

Detailed descroption of the struct type.

Definition at line 49 of file ThingSmartSchemaPropertyModel.h.

◆ range

- (NSArray *) range
readwritenonatomicstrong

The scope of the enumeration type.

Definition at line 43 of file ThingSmartSchemaPropertyModel.h.

◆ scale

- (NSInteger) scale
readwritenonatomicassign

The exponent of 10 in the numeric type, multiplied by the corresponding transmission value, is equal to the actual value and is used to avoid fractional transmission.

Definition at line 34 of file ThingSmartSchemaPropertyModel.h.

◆ selectedValue

- (NSInteger) selectedValue
readwritenonatomicassign

The specified value.

Definition at line 46 of file ThingSmartSchemaPropertyModel.h.

◆ step

- (double) step
readwritenonatomicassign

The numerical step.

Definition at line 31 of file ThingSmartSchemaPropertyModel.h.

◆ type

- (NSString *) type
readwritenonatomicstrong

The type of object. enum: enumerated | bool: Boolean | string: character | value: numeric | bitmap: fault | array: list | struct: struct properties.

Definition at line 19 of file ThingSmartSchemaPropertyModel.h.

◆ unit

- (NSString *) unit
readwritenonatomicstrong

The unit, such as °C.

Definition at line 22 of file ThingSmartSchemaPropertyModel.h.


The documentation for this class was generated from the following files: