예제 #1
0
 public override void Disconnect()
 {
     try
     {
         if (communicator != null)
         {
             communicator.Disconnect();
             communicator = null;
         }
     }
     catch { }
 }
예제 #2
0
        public override void TryConnection()
        {
            try
            {
                if (communicator == null)
                {
                    communicator = new ECGCommunicator();
                }

                if (communicator != null)
                {
                    communicator.Connect();
                }
            }
            catch { }
        }