From 06c09ecbdf83cc5cc33971ffb75ba81e85b6eb33 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 29 十一月 2021 15:31:26 +0800 Subject: [PATCH] 2021-11-29 1.更新 --- HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriShortcutModel.m | 4 +++- HDLSceneSiri/HDLSceneSiri/HDLSiriShortcutModel.m | 4 +++- Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Library/libHDLSceneSiri.a | 0 HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.m | 2 +- HDLSceneSiri/HDLSceneSiri/HDLSiriSceneListCell.m | 2 +- Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Properties/AssemblyInfo.cs | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HDLSceneSiri/HDLSceneSiri/HDLSiriSceneListCell.m b/HDLSceneSiri/HDLSceneSiri/HDLSiriSceneListCell.m index 3400286..b157790 100644 --- a/HDLSceneSiri/HDLSceneSiri/HDLSiriSceneListCell.m +++ b/HDLSceneSiri/HDLSceneSiri/HDLSiriSceneListCell.m @@ -106,7 +106,7 @@ intent.controlId = sceneModel.controlId; intent.controlName = title; intent.homeId = self.homeId; - intent.actionName = + intent.actionName = sceneModel.actionName; intent.controlType = sceneModel.controlType; intent.controlJSONStr = sceneModel.controlJSONStr; INShortcut *shortCut = [[INShortcut alloc] initWithIntent:intent]; diff --git a/HDLSceneSiri/HDLSceneSiri/HDLSiriShortcutModel.m b/HDLSceneSiri/HDLSceneSiri/HDLSiriShortcutModel.m index 82239af..f1f4d91 100644 --- a/HDLSceneSiri/HDLSceneSiri/HDLSiriShortcutModel.m +++ b/HDLSceneSiri/HDLSceneSiri/HDLSiriShortcutModel.m @@ -8,7 +8,9 @@ #import "HDLSiriShortcutModel.h" @implementation HDLSiriShortcutModel - ++ (NSDictionary *)modelContainerPropertyGenericClass { + return @{@"list" : [HDLSiriControlModel class]}; +} @end @implementation HDLSiriControlModel diff --git a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.m b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.m index 3400286..b157790 100644 --- a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.m +++ b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.m @@ -106,7 +106,7 @@ intent.controlId = sceneModel.controlId; intent.controlName = title; intent.homeId = self.homeId; - intent.actionName = + intent.actionName = sceneModel.actionName; intent.controlType = sceneModel.controlType; intent.controlJSONStr = sceneModel.controlJSONStr; INShortcut *shortCut = [[INShortcut alloc] initWithIntent:intent]; diff --git a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriShortcutModel.m b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriShortcutModel.m index 82239af..f1f4d91 100644 --- a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriShortcutModel.m +++ b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriShortcutModel.m @@ -8,7 +8,9 @@ #import "HDLSiriShortcutModel.h" @implementation HDLSiriShortcutModel - ++ (NSDictionary *)modelContainerPropertyGenericClass { + return @{@"list" : [HDLSiriControlModel class]}; +} @end @implementation HDLSiriControlModel diff --git a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Library/libHDLSceneSiri.a b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Library/libHDLSceneSiri.a index fcf7dea..2983d85 100644 --- a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Library/libHDLSceneSiri.a +++ b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Library/libHDLSceneSiri.a Binary files differ diff --git a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Properties/AssemblyInfo.cs b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Properties/AssemblyInfo.cs index 8bab462..326942b 100644 --- a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Properties/AssemblyInfo.cs +++ b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/Properties/AssemblyInfo.cs @@ -25,7 +25,7 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion("1.1.0")] +[assembly: AssemblyVersion("1.1.1")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. -- Gitblit v1.8.0