From e3840a840aea2eda198ba4bbaf2c3ea4c2390ee4 Mon Sep 17 00:00:00 2001
From: wells.liu <wells.liu@broconcentric.com>
Date: 星期四, 02 七月 2020 17:28:53 +0800
Subject: [PATCH] 板卡组件化

---
 src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.cs |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.cs
index 2d90199..ba0363c 100644
--- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.cs
+++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardOperationBase.cs
@@ -14,7 +14,6 @@
         public CtrlMotionCardOperationBase()
         {
             InitializeComponent();
-            GTSCardOperationConfig = new GTSCardOperationConfig();
         }
 
         public IDevice Device { get; set; }
@@ -24,23 +23,17 @@
         //    get => Device as CameraBase;
         //}
 
-        GTSCardOperationConfig GTSCardOperationConfig = null;
-        MovingOption movingConfig = null;
-
-        private IProcess process = null;
-        public IProcess Process
+        public CtrlMotionCardOperationBase(IDevice device)
         {
-            get => process;
-            set
-            {
-                if (process != value)
-                {
-                    process = value;
-                    OnProcessUpdated();
-                }
-            }
+            InitializeComponent();
+
+            Device = device;
+
+
         }
 
+        MovingOption movingConfig = null;
+
         #region ILogoutput
         public Action<LogMsg> OnLogMsgOutput { get; set; }
 

--
Gitblit v1.8.0