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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
//
// TuyaSmartDeviceModel.h
// TuyaSmartDeviceCoreKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#ifndef TuyaSmart_BleMeshSubDeviceModuleModel
#define TuyaSmart_BleMeshSubDeviceModuleModel
 
#import <Foundation/Foundation.h>
#import "TuyaSmartDeviceModelUtils.h"
 
@interface TuyaSmartDeviceMcuModel : NSObject
 
@property (nonatomic, assign) BOOL     isOnline;
@property (nonatomic, strong) NSString *verSw;
 
@property (nonatomic, strong) NSString     *bv;
@property (nonatomic, strong) NSString     *pv;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceZigbeeModel : NSObject
 
@property (nonatomic, assign) BOOL     isOnline;
@property (nonatomic, strong) NSString *verSw;
@property (nonatomic, strong) NSString *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceBluetoothModel : NSObject
 
@property (nonatomic, assign) BOOL          isOnline;
@property (nonatomic, strong) NSString      *verSw;
@property (nonatomic, strong) NSString      *pv;
@property (nonatomic, strong) NSString      *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceWifiModel : NSObject
 
@property (nonatomic, assign) BOOL         isOnline;
@property (nonatomic, strong) NSString     *bv;
@property (nonatomic, strong) NSString     *pv;
@property (nonatomic, strong) NSString     *verSw;
@property (nonatomic, strong) NSString     *cadv;
@property (nonatomic, strong) NSString     *cdv;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceInfraredModel : NSObject
 
@property (nonatomic, assign) BOOL         isOnline;
@property (nonatomic, strong) NSString     *verSw;
@property (nonatomic, strong) NSString     *cadv;
@property (nonatomic, strong) NSString     *cdv;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceGprsModel : NSObject
 
@property (nonatomic, assign) BOOL         isOnline;
@property (nonatomic, strong) NSString     *bv;
@property (nonatomic, strong) NSString     *pv;
@property (nonatomic, strong) NSString     *verSw;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceSubpiecesModel : NSObject
 
@property (nonatomic, assign) BOOL         isOnline;
@property (nonatomic, strong) NSString     *verSw;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) TuyaSmartDeviceUpgradeStatus upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceNBIoTModel : NSObject
 
@property (nonatomic, assign) BOOL         isOnline;
@property (nonatomic, strong) NSString     *bv;
@property (nonatomic, strong) NSString     *pv;
@property (nonatomic, strong) NSString     *verSw;
@property (nonatomic, strong) NSString     *type;
@property (nonatomic, assign) NSInteger    upgradeStatus;
 
@end
 
@interface TuyaSmartDeviceModuleModel : NSObject
 
@property (nonatomic, strong) TuyaSmartDeviceWifiModel           *wifi;
@property (nonatomic, strong) TuyaSmartDeviceNBIoTModel          *nbIot;
@property (nonatomic, strong) TuyaSmartDeviceBluetoothModel      *bluetooth;
@property (nonatomic, strong) TuyaSmartDeviceMcuModel            *mcu;
@property (nonatomic, strong) TuyaSmartDeviceGprsModel           *gprs;
@property (nonatomic, strong) TuyaSmartDeviceZigbeeModel         *zigbee;
@property (nonatomic, strong) TuyaSmartDeviceInfraredModel       *infrared;
@property (nonatomic, strong) TuyaSmartDeviceSubpiecesModel      *subpieces;
 
@end
 
#endif