From 2e82c7f03b0833e3a149d02453d66d8db133b2ce Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 29 十一月 2021 13:36:20 +0800 Subject: [PATCH] 2021-11-29 1.实现ON+设计的UI --- HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.m | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.m b/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.m index 67bc037..6e42df7 100644 --- a/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.m +++ b/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.m @@ -10,7 +10,7 @@ @implementation HDLRunSceneIntent -@dynamic sceneName, sceneId; +@dynamic controlName, controlId, homeId, controlType, controlJSONStr, actionName; @end @@ -24,7 +24,7 @@ @synthesize code = _code; -@dynamic errorMessage, successMessage, sceneName; +@dynamic errorMessage, successMessage, controlName; - (instancetype)initWithCode:(HDLRunSceneIntentResponseCode)code userActivity:(nullable NSUserActivity *)userActivity { self = [super init]; @@ -35,9 +35,9 @@ return self; } -+ (instancetype)successIntentResponseWithSceneName:(NSString *)sceneName { ++ (instancetype)successIntentResponseWithControlName:(NSString *)controlName { HDLRunSceneIntentResponse *intentResponse = [[HDLRunSceneIntentResponse alloc] initWithCode:HDLRunSceneIntentResponseCodeSuccess userActivity:nil]; - intentResponse.sceneName = sceneName; + intentResponse.controlName = controlName; return intentResponse; } -- Gitblit v1.8.0