protected override void StartProgram() { CrestronConsole.PrintLine("GO!"); Configs = new ProjectConfig(); Configs.GetEmbeddedConfigs(Assembly.GetExecutingAssembly()); Configs.UpdateConfigs(); var initialiser = SystemInitialiser.Create(); initialiser(); }
public static Action Create() { var init = new SystemInitialiser(); var initActions = new List <Action> { init.CreateTouchPanels, init.CreateDisplay, init.CreateSwitcher, init.CreateRoomState }; var newActionQueue = new ActionQueue("SystemInitialiser", initActions); newActionQueue.AddFeedbackPath(new ConsolePercentageFeedback()); newActionQueue.Start(); return(Initialise); }