JLChen
2021-11-29 06c09ecbdf83cc5cc33971ffb75ba81e85b6eb33
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
//
//  HDLSiriShortcutModel.h
//  HDLSceneSiriDemo
//
//  Created by 陈嘉乐 on 2021/11/29.
//
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
@class HDLSiriControlModel;
@class HDLSiriShortcutModel;
typedef NSArray<HDLSiriShortcutModel *> HDLSiriShortcutModelList;
 
@interface HDLSiriShortcutModel : NSObject
@property (nonatomic, copy) NSString *title;//section Head 的标题
@property (nonatomic, copy) NSString *content;//section 内容说明
@property (nonatomic, copy) NSArray<HDLSiriControlModel *> *list;//row数据
@end
 
@interface HDLSiriControlModel : NSObject
@property (nonatomic, copy) NSString *controlName;//场景名、安防名等
@property (nonatomic, copy) NSString *controlId;//场景ID,安防ID等唯一ID
@property (nonatomic, copy) NSString *controlType;//场景1,安防2
@property (nonatomic, copy) NSString *controlJSONStr;//自定义对象JSONStr
@property (nonatomic, copy) NSString *actionName;//动作名称,"执行"
@end
 
NS_ASSUME_NONNULL_END