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
//
// TuyaSmartMultiControlLinkModel.h
// TuyaSmartDeviceKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#import <Foundation/Foundation.h>
#import "TuyaSmartMultiControlParentRuleModel.h"
 
NS_ASSUME_NONNULL_BEGIN
 
@interface TuyaSmartMultiControlGroupDetailModel : NSObject
 
@property (copy, nonatomic) NSString *detailId;
@property (copy, nonatomic) NSString *multiControlId;///< Multi-control group id.
@property (copy, nonatomic) NSString *devId;///< Attachment device id.
@property (copy, nonatomic) NSString *devName;///< Name of attached device.
@property (copy, nonatomic) NSString *dpId;///< The dp id of the associated attached device.
@property (copy, nonatomic) NSString *dpName;///< The dp name of the associated attached device.
@property (assign, nonatomic) BOOL enabled;///< Whether affiliated devices that have been associated can be controlled by the multi-control function.
@property (strong, nonatomic) NSArray<TuyaSmartMultiControlDatapointModel *> *datapoints;
 
@end
 
 
@interface TuyaSmartMultiControlGroupModel : NSObject
 
@property (copy, nonatomic) NSString *multiControlId;///< Multi-control group id.
@property (copy, nonatomic) NSString *groupName;///< Multi-control group name.
@property (strong, nonatomic) NSArray<TuyaSmartMultiControlGroupDetailModel *> *groupDetail;///< Multi-control group details.
 
@property (assign, nonatomic) BOOL enabled;
@property (assign, nonatomic) NSInteger groupType;///< Multi-control group type.
@property (copy, nonatomic) NSString *multiRuleId;
@property (copy, nonatomic) NSString *ownerId;///< Family id.
@property (copy, nonatomic) NSString *uid;///< User id.
 
@end
 
 
@interface TuyaSmartMultiControlLinkModel : NSObject
 
@property (strong, nonatomic) TuyaSmartMultiControlGroupModel *multiGroup;
@property (strong, nonatomic) NSArray<TuyaSmartMultiControlParentRuleModel *> *parentRules;
 
@end
 
NS_ASSUME_NONNULL_END