From 0edfc730dafa1407efdeb8a6eed4c88c21aa1963 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 19 十一月 2021 16:40:45 +0800 Subject: [PATCH] siri --- HDL-ON_iOS/Other/Siri/SiriScene.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HDL-ON_iOS/Other/Siri/SiriScene.cs b/HDL-ON_iOS/Other/Siri/SiriScene.cs index 8dcb815..bad1588 100644 --- a/HDL-ON_iOS/Other/Siri/SiriScene.cs +++ b/HDL-ON_iOS/Other/Siri/SiriScene.cs @@ -1,6 +1,7 @@ 锘縰sing System; using Foundation; -using HdlSiri; +using HDLSceneSiri; +//using HdlSiri; using Intents; using UIKit; @@ -25,9 +26,10 @@ { get { - var orderSoupIntent = new HDLRunSceneIntent() { SceneId = Id, SceneName = Name }; - //orderSoupIntent.Quantity = new NSNumber(Quantity); - //orderSoupIntent.Soup = new INObject(MenuItem.ItemNameKey, MenuItem.LocalizedString); + + var orderSoupIntent = new HDLRunSceneIntent();// { SceneId = Id, SceneName = Name }; + orderSoupIntent.SceneId = Id;//orderSoupIntent.Quantity = new NSNumber(Quantity); + orderSoupIntent.SceneName = Name;//orderSoupIntent.Soup = new INObject(MenuItem.ItemNameKey, MenuItem.LocalizedString); //var image = UIImage.FromBundle(MenuItem.IconImageName); //if (!(image is null)) -- Gitblit v1.8.0