//was forced to hard code these, could not get working properly in code with equation to calculate stopping distance //stations are still attached to blocks, just had to hard code the beacons private static void initializeRedLineStationBeacons() { //StationBeacon(string n, short dt, bool isPTN, bool iL) StationBeacon currBeacon; currBeacon = new StationBeacon("SHADYSIDE", 100, true, true); redLineStationBeacons[5] = currBeacon; currBeacon = new StationBeacon("SHADYSIDE", 75, false, false); redLineStationBeacons[8] = currBeacon; currBeacon = new StationBeacon("NORTH POLE", 60, true, false); redLineStationBeacons[15] = currBeacon; currBeacon = new StationBeacon("NORTH POLE", 200, false, true); redLineStationBeacons[17] = currBeacon; currBeacon = new StationBeacon("NORTH POLE", 100, false, false); redLineStationBeacons[2] = currBeacon; currBeacon = new StationBeacon("SWISSVALE", 200, true, false); redLineStationBeacons[20] = currBeacon; currBeacon = new StationBeacon("SWISSVALE", 200, false, true); redLineStationBeacons[23] = currBeacon; currBeacon = new StationBeacon("PENN STATION", 250, true, true); redLineStationBeacons[22] = currBeacon; currBeacon = new StationBeacon("PENN STATION", 200, false, false); redLineStationBeacons[29] = currBeacon; currBeacon = new StationBeacon("PENN STATION", 150, true, false); redLineStationBeacons[74] = currBeacon; currBeacon = new StationBeacon("STEEL PLAZA", 200, true, true); redLineStationBeacons[31] = currBeacon; currBeacon = new StationBeacon("STEEL PLAZA", 200, false, false); redLineStationBeacons[39] = currBeacon; currBeacon = new StationBeacon("STEEL PLAZA", 150, false, true); redLineStationBeacons[72] = currBeacon; currBeacon = new StationBeacon("STEEL PLAZA", 200, true, false); redLineStationBeacons[71] = currBeacon; currBeacon = new StationBeacon("FIRST AVE", 210, true, true); redLineStationBeacons[41] = currBeacon; currBeacon = new StationBeacon("FIRST AVE", 200, false, true); redLineStationBeacons[69] = currBeacon; currBeacon = new StationBeacon("FIRST AVE", 150, false, false); redLineStationBeacons[47] = currBeacon; currBeacon = new StationBeacon("STATION SQUARE", 150, true, true); redLineStationBeacons[46] = currBeacon; currBeacon = new StationBeacon("STATION SQUARE", 150, false, false); redLineStationBeacons[51] = currBeacon; currBeacon = new StationBeacon("SOUTH HILLS JUNCTION", 150, true, true); redLineStationBeacons[58] = currBeacon; currBeacon = new StationBeacon("SOUTH HILLS JUNCTION", 150, false, false); redLineStationBeacons[62] = currBeacon; }
private static void initializeGreenLineStationBeacons() { StationBeacon currBeacon; currBeacon = new StationBeacon("GLENBURY", 200, true, false); greenLineStationBeacons[63] = currBeacon; currBeacon = new StationBeacon("DORMONT", 200, true, false); greenLineStationBeacons[71] = currBeacon; currBeacon = new StationBeacon("MT LEBANON", 200, true, false); greenLineStationBeacons[75] = currBeacon; currBeacon = new StationBeacon("MT LEBANON", 300, false, true); greenLineStationBeacons[78] = currBeacon; currBeacon = new StationBeacon("POPLAR", 187, true, false); greenLineStationBeacons[86] = currBeacon; currBeacon = new StationBeacon("CASTLE SHANNON", 150, true, true); greenLineStationBeacons[94] = currBeacon; currBeacon = new StationBeacon("PIONEER", 100, true, true); greenLineStationBeacons[3] = currBeacon; currBeacon = new StationBeacon("EDGEBROOK", 100, true, true); greenLineStationBeacons[10] = currBeacon; currBeacon = new StationBeacon("NORTH POLE", 300, true, true); greenLineStationBeacons[14] = currBeacon; currBeacon = new StationBeacon("NORTH POLE", 150, false, false); greenLineStationBeacons[17] = currBeacon; currBeacon = new StationBeacon("WHITED", 300, true, true); greenLineStationBeacons[21] = currBeacon; currBeacon = new StationBeacon("WHITED", 300, false, false); greenLineStationBeacons[23] = currBeacon; currBeacon = new StationBeacon("SOUTH BANK", 200, true, true); greenLineStationBeacons[27] = currBeacon; currBeacon = new StationBeacon("CENTRAL UNDERGROUND", 200, true, false); greenLineStationBeacons[35] = currBeacon; currBeacon = new StationBeacon("INGLEWOOD", 200, true, false); greenLineStationBeacons[44] = currBeacon; currBeacon = new StationBeacon("DORMONT", 180, true, false); greenLineStationBeacons[103] = currBeacon; currBeacon = new StationBeacon("GLENBURY", 200, true, false); greenLineStationBeacons[112] = currBeacon; currBeacon = new StationBeacon("OVERBROOK", 190, true, false); greenLineStationBeacons[119] = currBeacon; currBeacon = new StationBeacon("INGLEWOOD", 200, true, true); greenLineStationBeacons[128] = currBeacon; currBeacon = new StationBeacon("CENTRAL UNDERGROUND", 200, true, false); greenLineStationBeacons[137] = currBeacon; }