package com.ecos.train.object;

import android.util.SparseArray;

public class SwitchSymbol {

	private static SwitchSymbol INSTANCE = null;
	private SparseArray<String> symbols;

	private SwitchSymbol(){
		symbols = new  SparseArray<String>();
		symbols.put(0, "Turnout left");
		symbols.put(1, "Turnout right");
		symbols.put(2, "Turnout 3-way");
		symbols.put(3, "Double slip tournout 2-way");
		symbols.put(4, "Double slip turnout 4-way");
		symbols.put(5, "Semaphore hp01");
		symbols.put(6, "Semaphore hp02");
		symbols.put(7, "Semaphore hp012");
		symbols.put(8, "Switch signal");
		symbols.put(9, "Light signal");
		symbols.put(10, "Light signal");
		symbols.put(11, "Light signal");
		symbols.put(12, "Light signal");
		symbols.put(13, "Switch signal");
		symbols.put(14, "Lattice mast lightning");
		symbols.put(15, "Streetlight");
		symbols.put(16, "Lightning");
		symbols.put(17, "Decoupling track");
		symbols.put(18, "General Function");
		symbols.put(19, "Curved turnout left");
		symbols.put(20, "Curved turnout right");
		symbols.put(21, "Signal SNCB 2 states");
		symbols.put(22, "Signal SNCB 4 states");
		symbols.put(23, "Signal NS 2 states");
		symbols.put(24, "Signal NS 3 states");
		symbols.put(25, "Signal CFL 3 states");
		symbols.put(26, "Signal SNCF 3 states");
		symbols.put(27, "Boom");
		symbols.put(28, "Engine Shed");
		symbols.put(29, "Distant signal");
		symbols.put(30, "Distant signal");
		symbols.put(31, "Distant signal");
		symbols.put(32, "Distant signal");
		symbols.put(33, "Double crossower turnout 2-way");
		symbols.put(34, "Double crossower turnout 4-way left");
		symbols.put(35, "Double crossower turnout 4-way right");
		symbols.put(36, "Function with track");
		symbols.put(37, "Start goal unidirectional");
		symbols.put(38, "Dummy 2-states");
		symbols.put(39, "Dummy 3-states");
		symbols.put(40, "Dummy 4-states");
		symbols.put(41, "Start goal bidirectional");
		symbols.put(42, "Route");
	}

	public static synchronized SwitchSymbol getInstance(){			
		if (INSTANCE == null){ 	
			INSTANCE = new SwitchSymbol();	
		}
		return INSTANCE;
	}

	public SparseArray<String> getSymbols() {
		return symbols;
	}
}
