TuyaSmartDeviceModel Class Reference

Inherits from NSObject
Declared in TuyaSmartDeviceModel.h

Overview

SIG Mesh subDevice

  devId

@property (nonatomic, strong) NSString *devId

  name

@property (nonatomic, strong) NSString *name

  iconUrl

@property (nonatomic, strong) NSString *iconUrl

  ability

@property (nonatomic, assign) NSInteger ability

  isOnline

@property (nonatomic, assign) BOOL isOnline

  isCloudOnline

@property (nonatomic, assign) BOOL isCloudOnline

  isShare

@property (nonatomic, assign) BOOL isShare

  verSw

@property (nonatomic, strong) NSString *verSw

  dps

@property (nonatomic, strong) NSDictionary *dps

  productId

@property (nonatomic, strong) NSString *productId

  supportGroup

@property (nonatomic, assign) BOOL supportGroup

  gwType

@property (nonatomic, strong) NSString *gwType

  pv

@property (nonatomic, assign) double pv

  isLocalOnline

@property (nonatomic, assign) BOOL isLocalOnline

  lpv

@property (nonatomic, assign) double lpv

  bv

@property (nonatomic, assign) double bv

  latitude

@property (nonatomic, strong) NSString *latitude

  longitude

@property (nonatomic, strong) NSString *longitude

  dpName

@property (nonatomic, strong) NSDictionary *dpName

  schema

@property (nonatomic, strong) NSString *schema

  schemaExt

@property (nonatomic, strong) NSString *schemaExt

  schemaArray

@property (nonatomic, strong) NSArray<TuyaSmartSchemaModel*> *schemaArray

  runtimeEnv

@property (nonatomic, strong) NSString *runtimeEnv

  attribute

@property (nonatomic, assign) NSUInteger attribute

  localKey

@property (nonatomic, strong) NSString *localKey

  uuid

@property (nonatomic, strong) NSString *uuid

  capability

@property (nonatomic, assign) NSUInteger capability

  timezoneId

@property (nonatomic, strong) NSString *timezoneId

  homeId

@property (nonatomic, assign) long long homeId

  roomId

@property (nonatomic, assign) long long roomId

  sharedTime

@property (nonatomic, assign) long long sharedTime

  displayOrder

@property (nonatomic, assign) NSInteger displayOrder

  homeDisplayOrder

@property (nonatomic, assign) NSInteger homeDisplayOrder

  ip

@property (nonatomic, strong) NSString *ip

  skills

@property (nonatomic, strong) NSDictionary *skills

  cloudId

@property (nonatomic, strong) NSString *cloudId

  rnFind

@property (nonatomic, assign) BOOL rnFind

  i18nTime

@property (nonatomic, assign) long long i18nTime

  ui

@property (nonatomic, strong) NSString *ui

  uiId

@property (nonatomic, strong) NSString *uiId

  uiVersion

@property (nonatomic, strong) NSString *uiVersion

  uiPhase

@property (nonatomic, strong) NSString *uiPhase

  uiType

@property (nonatomic, strong) NSString *uiType

  uiName

@property (nonatomic, strong) NSString *uiName

  uiConfig

@property (nonatomic, strong) NSDictionary *uiConfig

  panelConfig

@property (nonatomic, strong) NSDictionary *panelConfig

  category

@property (nonatomic, strong) NSString *category

  categoryCode

@property (nonatomic, strong) NSString *categoryCode

  quickOpDps

@property (nonatomic, strong) NSArray *quickOpDps

  displayDps

@property (nonatomic, strong) NSArray *displayDps

  faultDps

@property (nonatomic, strong) NSArray *faultDps

  displayMsgs

@property (nonatomic, strong) NSDictionary *displayMsgs

  switchDp

@property (nonatomic, strong) NSString *switchDp

  isNewFirmware

@property (nonatomic, assign) BOOL isNewFirmware

  activeTime

@property (nonatomic, assign) NSTimeInterval activeTime

  errorCode

@property (nonatomic, assign) long errorCode

  deviceType

@property (nonatomic, assign) TuyaSmartDeviceModelType deviceType

  upgrading

@property (nonatomic, assign) BOOL upgrading

  originJson

@property (nonatomic, strong) NSDictionary *originJson

  moduleMap

@property (nonatomic, strong) TuyaSmartDeviceModuleModel *moduleMap

– attributeIsSupport:

- (BOOL)attributeIsSupport:(NSUInteger)i

– capabilityIsSupport:

- (BOOL)capabilityIsSupport:(NSUInteger)i

– devAttributeIsSupport:

- (BOOL)devAttributeIsSupport:(NSUInteger)i

  nodeId

@property (nonatomic, strong) NSString *nodeId

  parentId

@property (nonatomic, strong) NSString *parentId

  vendorInfo

@property (nonatomic, strong) NSString *vendorInfo

  isMeshBleOnline

@property (nonatomic, assign) BOOL isMeshBleOnline

  pcc

@property (nonatomic, strong) NSString *pcc

  devAttribute

@property (nonatomic, assign) NSUInteger devAttribute

  devKey

@property (nonatomic, strong) NSString *devKey

  standard

是否标准化

@property (nonatomic, assign) BOOL standard

Discussion

是否标准化

Declared In

TuyaSmartDeviceModel.h

  standSchemaModel

@property (nonatomic, strong) TuyaSmartStandSchemaModel *standSchemaModel

  dpCodes

@property (nonatomic, strong, readonly) NSDictionary *dpCodes