Esempio n. 1
0
 /// <summary>
 /// Starts up the insteon system.
 /// </summary>
 /// <param name="callbacks">The parameters for all the callbacks</param>
 /// <returns>true if we successful started up</returns>
 public bool Startup(FroggySystem callbacks)
 {
     this.callbacks         = callbacks;
     insteon                = new Insteon.FluffInsteon(config.ComPort, this);
     insteon.DeviceAdded   += insteon_DeviceAdded;
     insteon.DeviceChanged += insteon_DeviceChanged;
     return(insteon.Startup());
 }
Esempio n. 2
0
 /// <summary>
 /// Clean up the plugin
 /// </summary>
 public void Dispose()
 {
     this.system = null;
     this.config = null;
 }
Esempio n. 3
0
 public bool Startup(FroggySystem callbacks)
 {
     this.system = callbacks;
     return(true);
 }