From d4811b7d34b45ff6b21b97f11da128b5572ec526 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 03 三月 2021 16:03:03 +0800
Subject: [PATCH] 20210303-1

---
 HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs
index d525651..a1815aa 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmSensor/SensorPirPage.cs
@@ -81,17 +81,8 @@
         /// </summary>
         private void InitFrameWhiteContent2()
         {
-            Button btnLog = new Button()
-            {
-                X = Application.GetRealWidth(16),
-                Y = Application.GetRealHeight(16),
-                Width = Application.GetRealWidth(250),
-                Height = Application.GetRealHeight(33),
-                TextAlignment = TextAlignment.CenterLeft,
-                IsBold = true,
-                TextID = StringId.Log,
-            };
-            FrameWhiteCentet2.AddChidren(btnLog);
+            var paging = new ArmSensorHistroyPaging(device);
+            paging.InitFrame(FrameWhiteCentet2);
         }
 
         #endregion

--
Gitblit v1.8.0