Beispiel #1
0
        public bool Connect()
        {
            bool success = false;

            //
            try
            {
                _loadZWavePort();
                //
                success = _zwaveport.Connect();
            }
            catch
            {
            }
            //
            return(success);
        }
Beispiel #2
0
 public bool Connect()
 {
     bool success = false;
     //
     try
     {
         LoadZwavePort();
         //         
         success = zwavePort.Connect();
     }
     catch
     {
     }
     if (InterfaceModulesChangedAction != null) InterfaceModulesChangedAction(new InterfaceModulesChangedAction() { Domain = this.Domain });
     //
     return success;
 }