Exemple #1
0
 public void Disconnect()
 {
     if (portName == Cm19LibDriverPort)
     {
         // use CM19 driver
         cm19Lib.Disconnect();
     }
     else
     {
         // use default driver for CM11 / CM15
         x10Lib.Disconnect();
     }
 }
Exemple #2
0
 public void Disconnect()
 {
     x10lib.Disconnect();
 }