From 8527a31907a30c1b9f15dae1e0bdcf76e7e1f123 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期四, 02 七月 2020 17:29:09 +0800 Subject: [PATCH] Merge branch 'master' of http://gitblit.broconcentric.com:8088/r/M071 --- 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