001package jmri.jmrix.powerline.cp290;
002
003import jmri.Light;
004import jmri.jmrix.powerline.SerialTrafficController;
005
006/**
007 * Implement LightManager for powerline serial systems with CP290 adapters
008 * <p>
009 * Just provide the specific objects at creation time.
010 *
011 * @author Dave Duchamp Copyright (C) 2004
012 * @author Bob Jacobsen Copyright (C) 2006, 2007, 2008 Converted to multiple
013 * connection
014 * @author kcameron Copyright (C) 2011
015 */
016public class SpecificLightManager extends jmri.jmrix.powerline.SerialLightManager {
017
018    public SpecificLightManager(SerialTrafficController tc) {
019        super(tc);
020        this.tc = tc;
021    }
022
023    SerialTrafficController tc = null;
024
025    /**
026     * Create light of a specific type for the interface
027     */
028    @Override
029    protected Light createNewSpecificLight(String systemName, String userName) {
030        return new SpecificLight(systemName, tc, userName);
031    }
032
033}