Class SpecificLight

All Implemented Interfaces:
Comparable<NamedBean>, AnalogIO, PropertyChangeProvider, DigitalIO, Light, NamedBean, VariableLight

public class SpecificLight extends SpecificDmxLight
Implementation of the Light Object for DMX512 Serial interfaces.

The intensity is mapped from 0.0 to 1.0 into 255 steps as a hex byte.

  • Constructor Details

    • SpecificLight

      public SpecificLight(String systemName, SerialTrafficController tc)
      Create a Light object, with only system name.

      'systemName' was previously validated in SerialLightManager

      Parameters:
      systemName - systemName for light
      tc - tc for connection
    • SpecificLight

      public SpecificLight(String systemName, SerialTrafficController tc, String userName)
      Create a Light object, with both system and user names.

      'systemName' was previously validated in SerialLightManager

      Parameters:
      systemName - systemName for light
      tc - tc for connection
      userName - userName for light