From 82b67388873fdd2213b00fa212b9e46c0d40e3cf Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 04 九月 2023 13:35:18 +0800 Subject: [PATCH] 备份2 --- OnPro/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/SupportHomeKitNotesPage.cs | 124 ++++++++++++++++++++-------------------- 1 files changed, 62 insertions(+), 62 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/SupportHomeKitNotesPage.cs b/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/SupportHomeKitNotesPage.cs index a9f92b0..9249be1 100644 --- a/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/SupportHomeKitNotesPage.cs +++ b/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/SupportHomeKitNotesPage.cs @@ -1,69 +1,69 @@ -锘縰sing System; -using HDL_ON.UI.CSS; -using Shared; +锘�//using System; +//using HDL_ON.UI.CSS; +//using Shared; -namespace HDL_ON.UI.UI2.PersonalCenter.AboutOn -{ - public class SupportHomeKitNotesPage : FrameLayout - { - SupportHomeKitNotesPage bodyView; +//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(); +// 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); +// 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骞冲彴宸叉敮鎸佸悜鑻规灉搴旂敤鈥滃搴�滱pp 娣诲姞 HomeKit 閰嶄欢銆�" + "\r\n" + - "鐩墠鏀寔娣诲姞鍒扳�滃搴�滲uspro缃戝叧绛夈��" + "\r\n" + - "鎮ㄥ彲浠ヤ娇鐢� iPhone銆乮Pad 鎴� iPod touch锛屾寜鐓т互涓嬫楠ゆ搷浣滐紝鍚戔�滃搴�滱pp 娣诲姞閰嶄欢锛�" + "\r\n" + - "1銆佹墦寮�鈥滃搴�滱pp锛岀劧鍚庤交鐐光�滄坊鍔犻厤浠垛�� 鎴栤�滄坊鍔犫�濄��" + "\r\n" + - "2銆佽交鐐光�滄坊鍔犻厤浠垛�濄��" + "\r\n" + - "3銆佷娇鐢� iPhone銆乮Pad 鎴� iPod touch 涓婄殑鎽勫儚澶存壂鎻忛厤浠舵垨閰嶄欢鏂囩涓殑鍏綅 HomeKit 浠g爜鎴栦簩缁寸爜銆傚鏋滄偍浣跨敤鐨勬槸 iPhone 7 鎴栨洿鏂版満鍨嬶紝骞跺湪鎮ㄧ殑閰嶄欢涓婄湅鍒颁簡 NFC 鍏煎绗﹀彿锛岃灏嗘偍鐨� iPhone 闈犺繎杩欎釜閰嶄欢浠ヨ繘琛屾坊鍔犮��" + "\r\n" + - "4銆佸湪閰嶄欢鍑虹幇鏃惰交鐐瑰畠銆傚鏋滅郴缁熻闂偍瑕佷笉瑕佲�滃皢閰嶄欢娣诲姞鍒扮綉缁溾�濓紝璇疯交鐐光�滃厑璁糕�濄��" + "\r\n" + - "5銆佷负閰嶄欢鍛藉悕骞跺皢閰嶄欢鍒嗛厤缁欐煇涓埧闂达紝浠ュ崗鍔╂偍鍦ㄢ�滃搴�滱pp 涓瘑鍒畠鍜屼娇鐢� 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); +// string msg = ""; +// if (Language.CurrentLanguage == "Chinese") +// { +// msg = "鐩墠HDL骞冲彴宸叉敮鎸佸悜鑻规灉搴旂敤鈥滃搴�滱pp 娣诲姞 HomeKit 閰嶄欢銆�" + "\r\n" + +// "鐩墠鏀寔娣诲姞鍒扳�滃搴�滲uspro缃戝叧绛夈��" + "\r\n" + +// "鎮ㄥ彲浠ヤ娇鐢� iPhone銆乮Pad 鎴� iPod touch锛屾寜鐓т互涓嬫楠ゆ搷浣滐紝鍚戔�滃搴�滱pp 娣诲姞閰嶄欢锛�" + "\r\n" + +// "1銆佹墦寮�鈥滃搴�滱pp锛岀劧鍚庤交鐐光�滄坊鍔犻厤浠垛�� 鎴栤�滄坊鍔犫�濄��" + "\r\n" + +// "2銆佽交鐐光�滄坊鍔犻厤浠垛�濄��" + "\r\n" + +// "3銆佷娇鐢� iPhone銆乮Pad 鎴� iPod touch 涓婄殑鎽勫儚澶存壂鎻忛厤浠舵垨閰嶄欢鏂囩涓殑鍏綅 HomeKit 浠g爜鎴栦簩缁寸爜銆傚鏋滄偍浣跨敤鐨勬槸 iPhone 7 鎴栨洿鏂版満鍨嬶紝骞跺湪鎮ㄧ殑閰嶄欢涓婄湅鍒颁簡 NFC 鍏煎绗﹀彿锛岃灏嗘偍鐨� iPhone 闈犺繎杩欎釜閰嶄欢浠ヨ繘琛屾坊鍔犮��" + "\r\n" + +// "4銆佸湪閰嶄欢鍑虹幇鏃惰交鐐瑰畠銆傚鏋滅郴缁熻闂偍瑕佷笉瑕佲�滃皢閰嶄欢娣诲姞鍒扮綉缁溾�濓紝璇疯交鐐光�滃厑璁糕�濄��" + "\r\n" + +// "5銆佷负閰嶄欢鍛藉悕骞跺皢閰嶄欢鍒嗛厤缁欐煇涓埧闂达紝浠ュ崗鍔╂偍鍦ㄢ�滃搴�滱pp 涓瘑鍒畠鍜屼娇鐢� 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); - } +// } - } -} +// } +//} -- Gitblit v1.8.0