Example #1
0
 public void Close()
 {
     _StateChk.Stop();
     if (null != _PwrBus)
     {
         _PwrBus.Close();
         _PwrBus = null;
     }
 }
Example #2
0
 public void Close()
 {
     _StateChk.Stop();
     if (false == bUseModbus)
     {
         _PwrCom.Close();
         _PwrCom = null;
     }
     else
     {
         if (null != _PwrBus)
         {
             _PwrBus.Close();
             _PwrBus = null;
         }
     }
 }