Ejemplo n.º 1
0
        private static void Main(string[] args)
        {
            // create an instance of our plugin.
            HSPI plugin = new HSPI();
            int  ret    = plugin.ConnectMain(args);

            System.Environment.Exit(ret);
        }
Ejemplo n.º 2
0
 public Controller(HSPI plugin) : base(plugin)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConfigPage"/> class.
 /// Assume Controller.UpdateConfiguration() was called by plugin already
 /// Also RegisterConfigLink for "manage Interfaces" page
 /// </summary>
 /// <param name="plugin">The HomeSeer plugin.</param>
 public ConfigPage(HSPI plugin) : base(pageName, plugin, config: true)
 {
     this.suppressDefaultFooter = true;
 }