IMSThingTslElement Class Reference Inherits from TBJSONModel Declared in IMSThingTslElement.h Overview TSL概念: 物模型是对设备「是什么,能做什么] 的描述,包括设备身份标识、连接状态、描述信息, 以及设备的属性(properties)、服务(services)、事件(events),后三者构成了设备的功能定义,即为 物的三要素 。 阿里云IoT平台通过定义一种物的描述语言来描述物模型,称之为 TSL(即 Thing Specification Language)。对产品的功能定义完成后,平台将自动生成 JSON 格式的 TSL。 物的模型中三要素类的基类,对于此类中的 property,请参见 IoT-TSL 模板 identifier 要素唯一标识符(产品下唯一) @property (nonatomic, copy, nullable) NSString *identifier Discussion 要素唯一标识符(产品下唯一) Declared In IMSThingTslElement.h name 要素名称 @property (nonatomic, copy, nullable) NSString *name Discussion 要素名称 Declared In IMSThingTslElement.h required 要素是否为必须 @property (nonatomic, copy, nullable) NSString *required Discussion 要素是否为必须 Declared In IMSThingTslElement.h desc 要素的描述 @property (nonatomic, copy, nullable) NSString *desc Discussion 要素的描述 Declared In IMSThingTslElement.h