001package jmri.jmrix.powerline.dmx512; 002 003import jmri.jmrix.powerline.SerialTrafficController; 004 005/** 006 * Implementation of the Light Object for DMX512 Serial interfaces. 007 * <p> 008 * The intensity is mapped from 0.0 to 1.0 into 255 steps as a hex byte. 009 * 010 * @author Dave Duchamp Copyright (C) 2004 011 * @author Bob Jacobsen Copyright (C) 2006, 2007, 2008, 2009, 2010 012 * @author Ken Cameron Copyright (C) 2009 Converted to multiple connection 013 * @author Ken Cameron Copyright (C) 2023 014 */ 015public class SpecificLight extends jmri.jmrix.powerline.dmx512.SpecificDmxLight { 016 017 /** 018 * Create a Light object, with only system name. 019 * <p> 020 * 'systemName' was previously validated in SerialLightManager 021 * 022 * @param systemName systemName for light 023 * @param tc tc for connection 024 */ 025 public SpecificLight(String systemName, SerialTrafficController tc) { 026 super(systemName, tc); 027 } 028 029 /** 030 * Create a Light object, with both system and user names. 031 * <p> 032 * 'systemName' was previously validated in SerialLightManager 033 * 034 * @param systemName systemName for light 035 * @param tc tc for connection 036 * @param userName userName for light 037 */ 038 public SpecificLight(String systemName, SerialTrafficController tc, String userName) { 039 super(systemName, tc, userName); 040 } 041 042}