public override void Disconnect() { try { if (communicator != null) { communicator.Disconnect(); communicator = null; } } catch { } }
public override void TryConnection() { try { if (communicator == null) { communicator = new ECGCommunicator(); } if (communicator != null) { communicator.Connect(); } } catch { } }