//using System;
|
//using HDL_ON.UI.CSS;
|
//using Shared;
|
|
//namespace HDL_ON.UI.UI2.PersonalCenter.AboutOn
|
//{
|
// public class SupportHomeKitNotesPage : FrameLayout
|
// {
|
// SupportHomeKitNotesPage bodyView;
|
|
// public SupportHomeKitNotesPage()
|
// {
|
// bodyView = this;
|
// }
|
// public void ShowPage()
|
// {
|
// new TopViewDiv(bodyView, Language.StringByID(StringId.SupportHomeKitNotes)).LoadTopView();
|
|
// var contentView = new VerticalScrolViewLayout()
|
// {
|
// Y = Application.GetRealHeight(90),
|
// Height = bodyView.Height ,
|
// BackgroundColor = CSS_Color.MainBackgroundColor,
|
// };
|
// bodyView.AddChidren(contentView);
|
|
// string msg = "";
|
// if (Language.CurrentLanguage == "Chinese")
|
// {
|
// msg = "目前HDL平台已支持向苹果应用“家庭”App 添加 HomeKit 配件。" + "\r\n" +
|
// "目前支持添加到“家庭”Buspro网关等。" + "\r\n" +
|
// "您可以使用 iPhone、iPad 或 iPod touch,按照以下步骤操作,向“家庭”App 添加配件:" + "\r\n" +
|
// "1、打开“家庭”App,然后轻点“添加配件” 或“添加”。" + "\r\n" +
|
// "2、轻点“添加配件”。" + "\r\n" +
|
// "3、使用 iPhone、iPad 或 iPod touch 上的摄像头扫描配件或配件文稿中的八位 HomeKit 代码或二维码。如果您使用的是 iPhone 7 或更新机型,并在您的配件上看到了 NFC 兼容符号,请将您的 iPhone 靠近这个配件以进行添加。" + "\r\n" +
|
// "4、在配件出现时轻点它。如果系统询问您要不要“将配件添加到网络”,请轻点“允许”。" + "\r\n" +
|
// "5、为配件命名并将配件分配给某个房间,以协助您在“家庭”App 中识别它和使用 Siri 对它进行控制。" + "\r\n" +
|
// "6、轻点“下一步”,然后轻点“完成”。";
|
// }
|
// else
|
// {
|
// msg = "At present, the HDL platform has supported adding homekit accessories to Apple's \"home\" app." + "\r\n" +
|
// "At present, Buspro gateway and other accessories can be added to \"home\"." + "\r\n" +
|
// "You can use iPhone, iPad or iPod touch to add accessories to the home app by following these steps: " + "\r\n" +
|
// "1.Open the home app and tap add accessories or add." + "\r\n" +
|
// "2.Tap add fitting." + "\r\n" +
|
// "3.Use the camera on iPhone, iPad or iPod touch to scan the eight digit homekit code or QR code in the accessory or accessory manuscript.If you are using iPhone 7 or later and see the NFC compatibility symbol on your accessory, please put your iPhone close to this accessory to add it." + "\r\n" +
|
// "4.Tap the accessory when it appears.If the system asks you whether you want to \"add accessories to the network\", tap \"allow\"." + "\r\n" +
|
// "5.Name the accessory and assign it to a room to help you identify it in the home app and use Siri to control it." + "\r\n" +
|
// "6.Tap next, then finish.";
|
// }
|
// var msgTv = new Button()
|
// {
|
// X = Application.GetRealWidth(35),
|
// Y = Application.GetRealHeight(12),
|
// Width = Application.GetRealWidth(300),
|
// IsMoreLines = true,
|
// Text = msg,
|
// TextAlignment = TextAlignment.TopLeft,
|
// TextColor = CSS_Color.TextualColor,
|
// TextSize = CSS_FontSize.TextFontSize,
|
// };
|
// contentView.AddChidren(msgTv);
|
|
|
// }
|
|
// }
|
//}
|