diff --git a/framework/Foundation/ThingsGateway.Foundation.Adapter.OPCUA/OPCUAClient/OPCUAClient.cs b/framework/Foundation/ThingsGateway.Foundation.Adapter.OPCUA/OPCUAClient/OPCUAClient.cs index 1ec3ccbed..7fa238fc9 100644 --- a/framework/Foundation/ThingsGateway.Foundation.Adapter.OPCUA/OPCUAClient/OPCUAClient.cs +++ b/framework/Foundation/ThingsGateway.Foundation.Adapter.OPCUA/OPCUAClient/OPCUAClient.cs @@ -69,7 +69,7 @@ public class OPCUAClient : IDisposable private SessionReconnectHandler m_reConnectHandler; private EventHandler m_ReconnectComplete; private EventHandler m_ReconnectStarting; - private EventHandler m_KeepAliveComplete; + private EventHandler m_KeepAliveComplete; private EventHandler m_ConnectComplete; private EventHandler m_OpcStatusChange; @@ -195,7 +195,7 @@ public class OPCUAClient : IDisposable /// /// Raised when a good keep alive from the server arrives. /// - public event EventHandler KeepAliveComplete + public event EventHandler KeepAliveComplete { add { m_KeepAliveComplete += value; } remove { m_KeepAliveComplete -= value; }