From 2cc4dfef234b47bef364edf798b5051a25f33217 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 30 八月 2024 10:58:56 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs b/WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs
index d781b94..d028bd8 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs
@@ -21,7 +21,7 @@
 
 namespace WIDESEAWCS_Communicator
 {
-    public abstract class BaseCommunicator
+    public abstract class BaseCommunicator: IDisposable
     {
         /// <summary>
         /// 鏋勯�犲嚱鏁�
@@ -108,5 +108,7 @@
         public abstract T ReadCustomer<T>(string address) where T : IDataTransfer, new();
 
         public abstract bool WriteCustomer<T>(string address, [NotNull] T value) where T : IDataTransfer, new();
+
+        public abstract void Dispose();
     }
 }

--
Gitblit v1.9.3