Esempio n. 1
0
        public EtcScene(EtcSceneConfig config, etc parent)
            : base(config, parent)
        {
            Debug.Console(2, "Scence Constructor");

            enabled = config.enabled;

            sceneNum  = config.sceneNum;
            sceneName = config.sceneName;



            Debug.Console(2, "Scene key: {0}, {1}", config.ToString(), config.sceneName);
        }
Esempio n. 2
0
        public EtcScene(EtcSceneConfig config, etc parent)
        {
            _Parent = parent;

            enabled   = config.enabled;
            sceneName = config.sceneName;
            space     = config.spaceName;
            fadeTime  = config.fadeTime;

            devPollTimer  = new CommandTimer();
            SceneFeedback = new BoolFeedback(() => _SceneFb);

            Debug.Console(2, "Scene name: {0}", config.sceneName);

            initialize();
        }