From 8c52c7c268ca5b2147b5276da0e2d550876213c3 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 09 十二月 2019 15:00:04 +0800
Subject: [PATCH] 2019-12-09-2

---
 ZigbeeApp/Shared/Phone/Device/Logic/SecurityMode.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/SecurityMode.cs b/ZigbeeApp/Shared/Phone/Device/Logic/SecurityMode.cs
index 7e9a54c..5c41019 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/SecurityMode.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/SecurityMode.cs
@@ -32,7 +32,7 @@
 
             var titleName = new Button
             {
-                TextSize = 16,
+                TextSize = 17,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
                 TextAlignment = TextAlignment.CenterLeft,
                 X = Application.GetRealWidth(176),
@@ -130,6 +130,8 @@
                 Text = Language.StringByID(MyInternationalizationString.logicathomegarrison),
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                TextSize = 15,
+
             };
             athomedefenceRowLayout.AddChidren(btnathomedefence);
             var athomedefenceSelected = new SelectedButton(789);
@@ -174,6 +176,7 @@
                 Text = Language.StringByID(MyInternationalizationString.logicremovehomegarrison),
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                TextSize = 15,
 
             };
             leavehomedefenceRowLayout.AddChidren(leavehomebtndefence);
@@ -223,6 +226,7 @@
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
                 TextID = MyInternationalizationString.withdrawal,
+                TextSize = 15,
 
             };
             withdrawalRowLayout.AddChidren(btnwithdrawal);
@@ -267,6 +271,7 @@
                 TextID = MyInternationalizationString.urgentwithdrawal,
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                TextSize = 15,
             };
             urgentwithdrawalRowLayout.AddChidren(btnurgentwithdrawal);
 
@@ -386,6 +391,10 @@
             {
                 if (!athomedefenceSelected.Visible && !leavehomedefenceSelected.Visible && !withdrawalSelected.Visible && !urgentwithdrawalSelected.Visible)
                 {
+                    var alert = new Alert(Language.StringByID(MyInternationalizationString.Prompt),
+                                               Language.StringByID(MyInternationalizationString.securitytip),
+                                               Language.StringByID(MyInternationalizationString.confrim));
+                    alert.Show();
                     return;
                 }
 

--
Gitblit v1.8.0