From 91293cac4b05319e6ed796ce34cb0640311b553b Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期日, 28 六月 2020 09:32:50 +0800 Subject: [PATCH] 命名修改 --- src/Bro.Device.GTSCard/GTSCardDriver.cs | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/Bro.Device.GTSCard/GTSCardDriver.cs b/src/Bro.Device.GTSCard/GTSCardDriver.cs index 7699c48..a51429e 100644 --- a/src/Bro.Device.GTSCard/GTSCardDriver.cs +++ b/src/Bro.Device.GTSCard/GTSCardDriver.cs @@ -1,4 +1,6 @@ 锘縰sing Bro.Common.Base; +using Bro.Common.Interface; +using Bro.Common.Model; using System; using System.Collections.Generic; using System.Linq; @@ -7,8 +9,11 @@ namespace Bro.Device.GTSCard { - public class GTSCardDriver : DeviceBase, IMotion + public class GTSCardDriver : DeviceBase,IMonitor, IMotion { + public event Action<DateTime, string, IDevice, MonitorSet> OnMonitorInvoke; + public event Action<DateTime, IDevice, WarningSet> OnMonitorAlarm; + public List<AxisInfo> GetCurrentAxisInfo(params string[] axisName) { throw new NotImplementedException(); @@ -199,6 +204,7 @@ } static object lockObj = new object(); + /// <summary> /// 璇诲彇褰撳墠鍊� @@ -233,5 +239,15 @@ else return false; //杩愯涓繑鍥瀎alse } } + + public void Monitor() + { + throw new NotImplementedException(); + } + + public void ResetAlarm() + { + throw new NotImplementedException(); + } } } -- Gitblit v1.8.0