1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// TuyaSmartSchemaModel.h
// TuyaSmartDeviceCoreKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#ifndef TuyaSmart_TuyaSmartSchemaModel
#define TuyaSmart_TuyaSmartSchemaModel
 
#import <Foundation/Foundation.h>
#import "TuyaSmartSchemaPropertyModel.h"
 
@interface TuyaSmartSchemaModel : NSObject
 
/// Dp ID.
@property (nonatomic, strong) NSString     *dpId;
 
/// Dp code.
@property (nonatomic, strong) NSString     *code;
 
/// The name of dp.
@property (nonatomic, strong) NSString     *name;
 
/// Read and write attributes of the DP point rw - can send down and report | ro - only report | wr - only send down.
@property (nonatomic, strong) NSString     *mode;
 
/// Type of DP point obj - (numeric, character, bool, enumerated, fault) | raw pass-through type.
@property (nonatomic, strong) NSString     *type;
 
/// The icon name of dp.
@property (nonatomic, strong) NSString     *iconname;
 
/// Dp property.
@property (nonatomic, strong) TuyaSmartSchemaPropertyModel *property;
 
@end
 
#endif