001package jmri.jmrit.roster;
002
003/**
004 * Define default throttles settings for NMRA and NEM. 
005 *  
006 * <hr>
007 * This file is part of JMRI.
008 * <p>
009 * JMRI is free software; you can redistribute it and/or modify it under the
010 * terms of version 2 of the GNU General Public License as published by the Free
011 * Software Foundation. See the "COPYING" file for a copy of this license.
012 * <p>
013 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY
014 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
015 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
016 *
017 * @author Lionel Jeanson Copyright (C) 2026
018 * 
019 * For consistence defaults defined here have to be keep in sync
020 * with the one defined as xml throttles layouts in resources/throttle
021 * 
022 */
023
024public class RosterFunctionEntriesDefaults {
025
026    // NMRA
027    static final String NMRA_SHUNTING_FN = "";  // no convention on a default shunting (slow) function
028    static final RosterFunctionEntry[] NMRA_FUNCTION_ENTRIES = {
029        new RosterFunctionEntry(0, Bundle.getMessage("F0NMRA"),    // Head lights
030                "resources/icons/functionicons/svg/lightsOff.svg", "resources/icons/functionicons/svg/lightsOn.svg", true, true),
031        new RosterFunctionEntry(1, Bundle.getMessage("F1NMRA"),   // Bell
032                "resources/icons/functionicons/transparent_background/Bell.png", "resources/icons/functionicons/transparent_background/BellOn.png", true, true),
033        new RosterFunctionEntry(2, Bundle.getMessage("F2NMRA"),   // Horn
034                "resources/icons/functionicons/transparent_background/Horn.png","resources/icons/functionicons/transparent_background/HornOn.png", false, true)
035    };
036
037    // NEM
038    static final String NEM_SHUNTING_FN = "F5"; 
039    static final RosterFunctionEntry[] NEM_FUNCTION_ENTRIES = {
040        new RosterFunctionEntry(0, Bundle.getMessage("F0NEM"),   // Head lights
041                "resources/icons/functionicons/svg/lightsOff.svg", "resources/icons/functionicons/svg/lightsOn.svg", true, true),
042        new RosterFunctionEntry(1, Bundle.getMessage("F1NEM"),   // Back lights
043                "resources/icons/functionicons/svg/redLightsOff.svg", "resources/icons/functionicons/svg/redLightsOn.svg", true, true),
044        new RosterFunctionEntry(2, Bundle.getMessage("F2NEM"),   // Whistle
045                "resources/icons/functionicons/transparent_background/Horn.png","resources/icons/functionicons/transparent_background/HornOn.png", false, true),
046        new RosterFunctionEntry(3, Bundle.getMessage("F3NEM"),   // Sound
047                "resources/icons/functionicons/transparent_background/generic_sound.png","resources/icons/functionicons/transparent_background/mute.png", true, true),
048        new RosterFunctionEntry(4, Bundle.getMessage("F4NEM"),   // Coupler
049                "resources/icons/functionicons/transparent_background/coupler_sound_off.png","resources/icons/functionicons/transparent_background/coupler_sound_on.png", false, true),
050        new RosterFunctionEntry(5, Bundle.getMessage("F5NEM"),    // Shunting
051                "resources/icons/functionicons/svg/shuntingOff.svg","resources/icons/functionicons/svg/shuntingOn.svg", true, true),
052        new RosterFunctionEntry(6, Bundle.getMessage("F6NEM"),    // Cab lights
053                "resources/icons/functionicons/svg/cab_light_diesel_off_europe.svg","resources/icons/functionicons/svg/cab_light_diesel_on_europe.svg", true, true),
054        new RosterFunctionEntry(7, Bundle.getMessage("F7NEM"),    // firebox / engine room light
055                "resources/icons/functionicons/svg/motor_room_light_off.svg","resources/icons/functionicons/svg/motor_room_light_on.svg", true, true),
056        new RosterFunctionEntry(8, Bundle.getMessage("F8NEM"),    // smoke / pantograph
057                "resources/icons/functionicons/transparent_background/smoke_off.png","resources/icons/functionicons/transparent_background/smoke_on.png", true, true),                                                                                                
058        new RosterFunctionEntry(9, Bundle.getMessage("F9NEM"),    // air pump
059                "resources/icons/functionicons/transparent_background/air_release_off.png","resources/icons/functionicons/transparent_background/air_release.png", true, true)                
060    };    
061}
062
063