Esempio n. 1
0
        protected static void AddDimmingLight(
            string name,
            IndividualControl powerOutlet,
            IndividualControl dimmingChannel,
            LightingState[] lightingStates,
            bool highTempLockout)
        {
            var fixtureSettings = new LightingFixtureSettings();

            fixtureSettings.name            = name;
            fixtureSettings.channel         = powerOutlet;
            fixtureSettings.dimmingChannel  = dimmingChannel;
            fixtureSettings.lightingStates  = lightingStates;
            fixtureSettings.highTempLockout = highTempLockout;

            fixtures[name] = new LightingFixtureDimming(fixtureSettings);
        }
Esempio n. 2
0
 public DimmingEquipment(GenericDeviceSettings settings, LightingFixtureDimming fixture) : base(settings)
 {
     this.fixture = fixture;
 }