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
//
// TuyaSmartMultiControlModel.h
// TuyaSmartDeviceKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@interface TuyaSmartMultiControlDetailModel : NSObject
 
@property (copy, nonatomic) NSString *detailId;
@property (copy, nonatomic) NSString *devId;///< Attachment device id.
@property (copy, nonatomic) NSString *dpId;///< The dp id of the associated attached device.
@property (assign, nonatomic) BOOL enable;///< Whether affiliated devices that have been associated can be controlled by the multi-control function.
 
@end
 
 
@interface TuyaSmartMultiControlModel : NSObject
 
@property (copy, nonatomic) NSString *multiControlId;///< Multi-control group id.
@property (copy, nonatomic) NSString *groupName;///< Multi-control group name.
@property (strong, nonatomic) NSArray<TuyaSmartMultiControlDetailModel *> *groupDetail;
 
@property (assign, nonatomic, readonly) NSInteger groupType;///< Multi-control group type. Default is 1.
@property (copy, nonatomic, readonly) NSString *ownerId;///< Family id.
@property (copy, nonatomic, readonly) NSString *uid;///< User id.
 
@end
 
NS_ASSUME_NONNULL_END