'############## 'C2 AFR4-Script '############## 'Simuliert den Fahrscheindrucker des Typs AFR4 '(c) 28.11.2019 Ole Nordhusen 'Script Version: 1.0 'Revision History: '- Ole Nordhusen 28.11.2019 Revision History angelegt '- Ole Nordhusen 01.12.2019 Abmelden: PIN Eingabe nun möglich. '- Ole Nordhusen 01.12.2019 Abmelden: Bei Eingabefehler wird nun ein Fehler ausgegeben. '- Ole Nordhusen 01.12.2019 Anmelden-Pausenende: PIN Eingabe nun möglich. '- Ole Nordhusen 01.12.2019 Anmelden-Pausenende: Bei Eingabefehler wird nun ein Fehler ausgegeben. '- Ole Nordhusen 01.12.2019 RBL anmeldung: Ok Button klickbar. '- Ole Nordhusen 01.12.2019 RBL anmeldung: Bei Selektionsänderung sind die Buttons hoch/runter wieder klickbar. '- Ole Nordhusen 01.12.2019 RBL anmeldung: Fehlerkasten werden nun an den richtigen Stellen angezeigt. '- Ole Nordhusen 01.12.2019 Fahrtbegin: Daten werden richtig dargestellt. '- Ole Nordhusen 01.12.2019 Fahrtauswahl: Navigationstasten werden nur angezeigt, wenn auszuwählene Routenanzahl größer gleich 5 sind. '- Ole Nordhusen 01.12.2019 Einstellungen: Nicht benutzte Buttons werden nicht mehr anzeigen. '- Ole Nordhusen 02.12.2019 Hauptfenster: Bei Unterschiedlich ausgewählter Starthaltestelle wird diese nun richtig angezeigt. '- Ole Nordhusen 02.12.2019 Hauptfenster: Die Haltestellenblättertasten funktionieren nun einwandfrei. '- Ole Nordhusen 02.12.2019 Hauptfenster: Haltestellenweiterschaltung sorgt nicht mehr für Fehler. '- Ole Nordhusen 02.12.2019 Hauptfenster: Bei Haltestellenweiterschaltung wird Verbindungsstück nicht mehr angezeigt. '- Ole Nordhusen 03.12.2019 Hauptfenster: Das Fahrtfenster wird nun auch im Offline-Modus angezeigt. '- Ole Nordhusen 03.12.2019 Der Nachtmodus funktioniert nun ohne Fehler. '- Ole Nordhusen 03.12.2019 Hauptfenster: Pop-Up Buttons funktionieren nun einwandfrei. '- Ole Nordhusen 09.02.2020 Hauptfenster: Text wird nun immer gerendert. '- Ole Nordhusen 09.02.2020 Fahrtfenster: Text wird nun immer gerendert. 'Todo Liste: '1. [CHECK] - Fenster Hauptbildschirm: ***** In die Font einfügen '3. [CHECK] - Fenster Hauptbildschirm: Alle Tickets verkaufbar machen. '4. [CHECK] - Fenster Hauptbildschirm: Tickets per Haltestellenauswahl verkaufbar machen. '5. [CHECK] - Fenster Hauptbildschirm: Zielanzeige verändern mittels Klick auf oberen Rand. {trigger:AFR4_Zettel_0} (L.L.AFR4_Zettel_0) ! {if} 1 (S.L.AFR4_Zettel_0) 1 (S.L.AFR4_Zettel_1) {endif} {end} {trigger:AFR4_Zettel_1} (L.L.AFR4_Zettel_1) {if} 0 (S.L.AFR4_Zettel_0) 0 (S.L.AFR4_Zettel_1) {endif} {end} {trigger:AFR4_Karte_0} (L.L.AFR4_Karte_0) ! {if} 1 (S.L.AFR4_Karte_0) 0 (S.L.AFR4_Karte_1) 0 (S.L.AFR4_Karte_2) 0 (S.L.AFR4_Karte_eingesteckt) {endif} {end} {trigger:AFR4_Karte_1} (L.L.AFR4_Karte_1) ! {if} 0 (S.L.AFR4_Karte_0) 1 (S.L.AFR4_Karte_1) 0 (S.L.AFR4_Karte_2) 0 (S.L.AFR4_Karte_eingesteckt) {endif} {end} {trigger:AFR4_Karte_2} (L.L.AFR4_Karte_2) ! (L.L.AFR4_Aufsatz_pos) 0 = && {if} 0 (S.L.AFR4_Karte_0) 0 (S.L.AFR4_Karte_1) 1 (S.L.AFR4_Karte_2) 1 (S.L.AFR4_Karte_eingesteckt) {endif} {end} {trigger:AFR4_BT_Start} (L.L.AFR4_BT_Start) 0 = {if} 1 (S.L.AFR4_BT_Start) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Start_off} (L.L.AFR4_BT_Start) 1 = {if} 0 (S.L.AFR4_BT_Start) {endif} {end} {trigger:AFR4_BT_Weiter} (L.L.AFR4_BT_Weiter) 0 = {if} 1 (S.L.AFR4_BT_Weiter) 1 (S.L.AFR4_Pausenende) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Weiter_off} (L.L.AFR4_BT_Weiter) 1 = {if} 0 (S.L.AFR4_BT_Weiter) {endif} {end} {trigger:AFR4_BT_0} (L.L.AFR4_BT_0) 0 = {if} 1 (S.L.AFR4_BT_0) "0" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_0_off} (L.L.AFR4_BT_0) 1 = {if} 0 (S.L.AFR4_BT_0) {endif} {end} {trigger:AFR4_BT_1} (L.L.AFR4_BT_1) 0 = {if} 1 (S.L.AFR4_BT_1) "1" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_1_off} (L.L.AFR4_BT_1) 1 = {if} 0 (S.L.AFR4_BT_1) {endif} {end} {trigger:AFR4_BT_2} (L.L.AFR4_BT_2) 0 = {if} 1 (S.L.AFR4_BT_2) "2" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_2_off} (L.L.AFR4_BT_2) 1 = {if} 0 (S.L.AFR4_BT_2) {endif} {end} {trigger:AFR4_BT_3} (L.L.AFR4_BT_3) 0 = {if} 1 (S.L.AFR4_BT_3) "3" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_3_off} (L.L.AFR4_BT_3) 1 = {if} 0 (S.L.AFR4_BT_3) {endif} {end} {trigger:AFR4_BT_4} (L.L.AFR4_BT_4) 0 = {if} 1 (S.L.AFR4_BT_4) "4" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_4_off} (L.L.AFR4_BT_4) 1 = {if} 0 (S.L.AFR4_BT_4) {endif} {end} {trigger:AFR4_BT_5} (L.L.AFR4_BT_5) 0 = {if} 1 (S.L.AFR4_BT_5) "5" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_5_off} (L.L.AFR4_BT_5) 1 = {if} 0 (S.L.AFR4_BT_5) {endif} {end} {trigger:AFR4_BT_6} (L.L.AFR4_BT_6) 0 = {if} 1 (S.L.AFR4_BT_6) "6" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_6_off} (L.L.AFR4_BT_6) 1 = {if} 0 (S.L.AFR4_BT_6) {endif} {end} {trigger:AFR4_BT_7} (L.L.AFR4_BT_7) 0 = {if} 1 (S.L.AFR4_BT_7) "7" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_7_off} (L.L.AFR4_BT_7) 1 = {if} 0 (S.L.AFR4_BT_7) {endif} {end} {trigger:AFR4_BT_8} (L.L.AFR4_BT_8) 0 = {if} 1 (S.L.AFR4_BT_8) "8" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_8_off} (L.L.AFR4_BT_8) 1 = {if} 0 (S.L.AFR4_BT_8) {endif} {end} {trigger:AFR4_BT_9} (L.L.AFR4_BT_9) 0 = {if} 1 (S.L.AFR4_BT_9) "9" (S.$.AFR4_Display_Input) (M.L.AFR4_Display_Input_set) {endif} {end} {trigger:AFR4_BT_9_off} (L.L.AFR4_BT_9) 1 = {if} 0 (S.L.AFR4_BT_9) {endif} {end} {macro:AFR4_Display_Input_set} (L.L.AFR4_Select_changed) {if} 0 (S.L.AFR4_Select_changed) (L.L.AFR4_BT_Select_1_TEXT) {if} "" (S.$.AFR4_Display_Input_1) {else} (L.L.AFR4_BT_Select_2_TEXT) {if} "" (S.$.AFR4_Display_Input_2) (L.L.AFR4_Display_Panel) 9 = (L.L.AFR4_Display_Panel) 27 = || {if} "" (S.$.AFR4_Input_PIN) {endif} {else} (L.L.AFR4_BT_Select_3_TEXT) {if} "" (S.$.AFR4_Display_Input_3) (L.L.AFR4_Display_Panel) 2 = {if} "" (S.$.AFR4_Input_PIN) {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} "" (S.$.AFR4_Display_Input_4) {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1) $length 10 < {if} (L.$.AFR4_Display_Input_1) (L.$.AFR4_Display_Input) $+ (S.$.AFR4_Display_Input_1) {endif} {else} (L.L.AFR4_Display_Panel) 9 = ! (L.L.AFR4_Display_Panel) 27 = ! && (L.L.AFR4_BT_Select_2_TEXT) && {if} (L.$.AFR4_Display_Input_2) $length 10 < {if} (L.$.AFR4_Display_Input_2) (L.$.AFR4_Display_Input) $+ (S.$.AFR4_Display_Input_2) {endif} {else} (L.L.AFR4_BT_Select_3_TEXT) (L.L.AFR4_Display_Panel) 9 = || (L.L.AFR4_Display_Panel) 27 = || {if} (L.L.AFR4_Display_Panel) 2 = (L.L.AFR4_Display_Panel) 9 = || (L.L.AFR4_Display_Panel) 27 = || {if} (L.$.AFR4_Display_Input_3) $length 4 < {if} (L.$.AFR4_Input_PIN) (L.$.AFR4_Display_Input) $+ (S.$.AFR4_Input_PIN) (L.L.AFR4_Display_Panel) 2 = {if} (L.$.AFR4_Display_Input_3) "*" $+ (S.$.AFR4_Display_Input_3) {else} (L.$.AFR4_Display_Input_2) "*" $+ (S.$.AFR4_Display_Input_2) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 6 = (L.L.AFR4_Display_Panel) 3 = || {if} (L.$.AFR4_Display_Input_3) $length 10 < {if} (L.$.AFR4_Display_Input_3) (L.$.AFR4_Display_Input) $+ (S.$.AFR4_Display_Input_3) {endif} {endif} {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} (L.$.AFR4_Display_Input_4) $length 10 < {if} (L.$.AFR4_Display_Input_4) (L.$.AFR4_Display_Input) $+ (S.$.AFR4_Display_Input_4) {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Fehler_ausblenden_light) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Schichtende} (L.L.AFR4_BT_Schichtende) 0 = {if} 1 (S.L.AFR4_BT_Schichtende) 1 (S.L.AFR4_Schichtende) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Schichtende_off} (L.L.AFR4_BT_Schichtende) 1 = {if} 0 (S.L.AFR4_BT_Schichtende) {endif} {end} {trigger:AFR4_BT_Fahrerwechsel} (L.L.AFR4_BT_Fahrerwechsel) 0 = {if} 1 (S.L.AFR4_BT_Fahrerwechsel) 1 (S.L.AFR4_Fahrerwechsel) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Fahrerwechsel_off} (L.L.AFR4_BT_Fahrerwechsel) 1 = {if} 0 (S.L.AFR4_BT_Fahrerwechsel) {endif} {end} {trigger:AFR4_BT_Nachricht_senden} (L.L.AFR4_BT_Nachricht_senden) 0 = {if} 1 (S.L.AFR4_BT_Nachricht_senden) {endif} {end} {trigger:AFR4_BT_Nachricht_senden_off} (L.L.AFR4_BT_Nachricht_senden) 1 = {if} 0 (S.L.AFR4_BT_Nachricht_senden) {endif} {end} {trigger:AFR4_BT_Nachrichten_lesen} (L.L.AFR4_BT_Nachrichten_lesen) 0 = {if} 1 (S.L.AFR4_BT_Nachrichten_lesen) {endif} {end} {trigger:AFR4_BT_Nachrichten_lesen_off} (L.L.AFR4_BT_Nachrichten_lesen) 1 = {if} 0 (S.L.AFR4_BT_Nachrichten_lesen) {endif} {end} {trigger:AFR4_BT_Fahrtauswahl} (L.L.AFR4_BT_Fahrtauswahl) 0 = {if} 1 (S.L.AFR4_BT_Fahrtauswahl) (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Fahrtauswahl_off} (L.L.AFR4_BT_Fahrtauswahl) 1 = {if} 0 (S.L.AFR4_BT_Fahrtauswahl) {endif} {end} {trigger:AFR4_BT_Routenauswahl} (L.L.AFR4_BT_Routenauswahl) 0 = {if} 1 (S.L.AFR4_BT_Routenauswahl) (M.L.AFR4_Display_Panel_history) 6 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Routenauswahl_off} (L.L.AFR4_BT_Routenauswahl) 1 = {if} 0 (S.L.AFR4_BT_Routenauswahl) {endif} {end} {trigger:AFR4_BT_Direktruf} (L.L.AFR4_BT_Direktruf) 0 = {if} 1 (S.L.AFR4_BT_Direktruf) {endif} {end} {trigger:AFR4_BT_Direktruf_off} (L.L.AFR4_BT_Direktruf) 1 = {if} 0 (S.L.AFR4_BT_Direktruf) {endif} {end} {trigger:AFR4_BT_Drucker} (L.L.AFR4_BT_Drucker) 0 = {if} (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Aufsatz_open) {if} 21 (S.L.AFR4_Display_Panel) {else} 18 (S.L.AFR4_Display_Panel) {endif} (M.L.AFR4_Display_change) 1 (S.L.AFR4_BT_Drucker) {endif} {end} {trigger:AFR4_BT_Drucker_off} (L.L.AFR4_BT_Drucker) 1 = {if} 0 (S.L.AFR4_BT_Drucker) {endif} {end} {trigger:AFR4_BT_L_K} (L.L.AFR4_BT_L_K) 0 = {if} 1 (S.L.AFR4_BT_L_K) (M.L.AFR4_Display_Panel_history) 3 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_L_K_off} (L.L.AFR4_BT_L_K) 1 = {if} 0 (S.L.AFR4_BT_L_K) {endif} {end} {trigger:AFR4_BT_Nachlauf_beenden} (L.L.AFR4_BT_Nachlauf_beenden) 0 = {if} 1 (S.L.AFR4_BT_Nachlauf_beenden) (L.L.elec_busbar_main) ! {if} 1 (S.L.AFR4_herunterfahren) 0 (S.L.AFR4_Nachlauf_Timer) (M.L.AFR4_Display_Panel_history) 22 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {end} {trigger:AFR4_BT_Nachlauf_beenden_off} (L.L.AFR4_BT_Nachlauf_beenden) 1 = {if} 0 (S.L.AFR4_BT_Nachlauf_beenden) {endif} {end} {trigger:AFR4_BT_Helligkeit_Display_hoch} (L.L.AFR4_BT_Helligkeit_Display_hoch) ! {if} 1 (S.L.AFR4_BT_Helligkeit_Display_hoch) (L.L.AFR4_Display_Helligkeit) 10 + -100 max 100 min (S.L.AFR4_Display_Helligkeit) (M.L.AFR4_Display_aktualisieren) {endif} {end} {trigger:AFR4_BT_Helligkeit_Display_hoch_off} (L.L.AFR4_BT_Helligkeit_Display_hoch) {if} 0 (S.L.AFR4_BT_Helligkeit_Display_hoch) {endif} {end} {trigger:AFR4_BT_Helligkeit_Display_runter} (L.L.AFR4_BT_Helligkeit_Display_runter) ! {if} 1 (S.L.AFR4_BT_Helligkeit_Display_runter) (L.L.AFR4_Display_Helligkeit) 10 - -100 max 100 min (S.L.AFR4_Display_Helligkeit) (M.L.AFR4_Display_aktualisieren) {endif} {end} {trigger:AFR4_BT_Helligkeit_Display_runter_off} (L.L.AFR4_BT_Helligkeit_Display_runter) {if} 0 (S.L.AFR4_BT_Helligkeit_Display_runter) {endif} {end} {trigger:AFR4_BT_Ziel_zuruecksetzen} (L.L.AFR4_BT_Ziel_zuruecksetzen) 0 = {if} 1 (S.L.AFR4_BT_Ziel_zuruecksetzen) (L.L.AFR4_Linie) $IntToStr (S.$.AFR4_Display_Input_1) (L.L.IBIS_TerminusIndex) (S.L.AFR4_internal_terminus_index) (L.L.IBIS_Linie_Suffix) $IntToStr (S.$.AFR4_Display_Input_4) (L.L.AFR4_BT_Select_1_TEXT) 1 = {if} (L.$.AFR4_Display_Input_1) $StrToFloat (L.L.GetLineFinal) = ! {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.$.AFR4_Display_Input_1) $StrToFloat (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_1) $StrToFloat 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) 1 = {if} (L.L.AFR4_internal_terminus_index) 1 > {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {else} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_internal_terminus_index) (L.L.TerminusEndIndex) < {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {else} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {endif} {end} {trigger:AFR4_BT_Ziel_zuruecksetzen_off} (L.L.AFR4_BT_Ziel_zuruecksetzen) 1 = {if} 0 (S.L.AFR4_BT_Ziel_zuruecksetzen) {endif} {end} {trigger:AFR4_BT_Ziel} (M.L.AFR4_Display_Panel_history) 28 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Ziel_Nr} (L.L.AFR4_BT_Ziel_Nr) 0 = {if} 1 (S.L.AFR4_BT_Ziel_Nr) (M.L.AFR4_Display_Panel_history) 28 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Ziel_Nr_off} (L.L.AFR4_BT_Ziel_Nr) 1 = {if} 0 (S.L.AFR4_BT_Ziel_Nr) {endif} {end} {trigger:AFR4_BT_Fahrplanversion} (L.L.AFR4_BT_Fahrplanversion) 0 = {if} 1 (S.L.AFR4_BT_Fahrplanversion) (M.L.AFR4_Display_Panel_history) 33 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Fahrplanversion_off} (L.L.AFR4_BT_Fahrplanversion) 1 = {if} 0 (S.L.AFR4_BT_Fahrplanversion) {endif} {end} {trigger:AFR4_BT_Fahrplanversion_1} 1 (S.L.AFR4_Fahrplanversion_intern) 0 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_2} 2 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 0 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_3} 3 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 0 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_4} 4 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 0 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_5} 5 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 0 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_6} 6 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 0 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_7} 7 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 0 (S.L.AFR4_VS_Fahrplanversion_7) 1 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Fahrplanversion_8} 8 (S.L.AFR4_Fahrplanversion_intern) 1 (S.L.AFR4_VS_Fahrplanversion_1) 1 (S.L.AFR4_VS_Fahrplanversion_2) 1 (S.L.AFR4_VS_Fahrplanversion_3) 1 (S.L.AFR4_VS_Fahrplanversion_4) 1 (S.L.AFR4_VS_Fahrplanversion_5) 1 (S.L.AFR4_VS_Fahrplanversion_6) 1 (S.L.AFR4_VS_Fahrplanversion_7) 0 (S.L.AFR4_VS_Fahrplanversion_8) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Pause} (L.L.AFR4_BT_Pause) 0 = {if} 1 (S.L.AFR4_BT_Pause) (M.L.AFR4_Display_Panel_history) 15 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Pause_off} (L.L.AFR4_BT_Pause) 1 = {if} 0 (S.L.AFR4_BT_Pause) {endif} {end} {trigger:AFR4_BT_Razzia} 0 (S.L.AFR4_Razzia) 0 (S.L.AFR4_VS_Razzia) 1 (S.L.AFR4_VS_Razzia_klick) {end} {trigger:AFR4_BT_Razzia_klick} 1 (S.L.AFR4_Razzia) 1 (S.L.AFR4_VS_Razzia) 0 (S.L.AFR4_VS_Razzia_klick) {end} {trigger:AFR4_BT_LM} (M.L.SetLMSTTexture) (M.L.SetLMDisplayTexture) {end} {trigger:AFR4_BT_Bild_hoch} (L.L.AFR4_Display_Panel) 3 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.GetLineFinal) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) (L.L.GetLineFinal) (L.L.GetLineFirst) = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.GetRouteFinal) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) {else} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (L.L.AFR4_Route_Starthaltestelle) > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - 0 max (S.L.AFR4_Route_Starthaltestelle) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (L.L.AFR4_Route_Starthaltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.L.GetLineFinal) $IntToStr (S.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) (L.L.GetLineFinal) (L.L.GetLineFirst) = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.TerminusEndIndex) (S.L.AFR4_internal_terminus_index) (M.V.GetTerminusCode) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) (L.L.AFR4_internal_terminus_index) 1 > {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Fehler_ausblenden) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_hoch} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2_intern) $StrToFloat (M.L.GetLineNext) s6 $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) l6 (L.L.GetLineFinal) = (L.L.GetLineFirst) (L.L.GetLineFinal) = || {if} (L.L.AFR4_VS_Bild_hoch) 1 = (L.L.AFR4_VS_hoch) 1 = || {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} (L.L.GetLineFirst) (L.L.GetLineFinal) = ! l6 (L.L.GetLineFirst) = ! && {if} (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.L.GetRouteNext) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) (L.$.AFR4_Display_Input_2_intern) $StrToFloat (L.L.GetRouteFinal) = {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) {else} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (L.L.AFR4_Route_Starthaltestelle) > {if} (L.L.AFR4_Route_Starthaltestelle) 1 + (S.L.AFR4_Route_Starthaltestelle) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (L.L.AFR4_Route_Starthaltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (L.L.AFR4_Route_Starthaltestelle) = {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 = ! (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1_intern) $StrToFloat (M.L.GetLineNext) s6 $IntToStr (S.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) l6 (L.L.GetLineFinal) = (L.L.GetLineFirst) (L.L.GetLineFinal) = || {if} (L.L.AFR4_VS_Bild_hoch) 1 = (L.L.AFR4_VS_hoch) 1 = || {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} (L.L.GetLineFirst) (L.L.GetLineFinal) = ! l6 (L.L.GetLineFirst) = ! && {if} (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.AFR4_internal_terminus_index) 1 + (S.L.AFR4_internal_terminus_index) (M.V.GetTerminusCode) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) (L.L.AFR4_internal_terminus_index) (L.L.TerminusEndIndex) = {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} (L.L.AFR4_internal_terminus_index) 1 > {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Fehler_ausblenden) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Bild_runter} (L.L.AFR4_Display_Panel) 3 = {if} (L.L.GetLineFirst) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) (L.L.GetLineFirst) (L.L.GetLineFinal) = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.GetRouteFirst) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) {else} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.L.AFR4_Route_Starthaltestelle) 0 > {if} 0 (S.L.AFR4_Route_Starthaltestelle) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (L.L.AFR4_Route_Starthaltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.L.GetLineFirst) $IntToStr (S.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) (L.L.GetLineFirst) (L.L.GetLineFinal) = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} 1 (S.L.AFR4_internal_terminus_index) (M.V.GetTerminusCode) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) (L.L.AFR4_internal_terminus_index) (L.L.TerminusEndIndex) < {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Fehler_ausblenden) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_runter} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2_intern) $StrToFloat (M.L.GetLineRecent) s6 $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) l6 (L.L.GetLineFirst) = (L.L.GetLineFirst) (L.L.GetLineFinal) = ! && {if} (L.L.AFR4_VS_Bild_runter) 1 = (L.L.AFR4_VS_runter) 1 = || {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} (L.L.GetLineFirst) (L.L.GetLineFinal) = ! {if} (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.L.GetRouteRecent) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) (L.$.AFR4_Display_Input_2_intern) $StrToFloat (L.L.GetRouteFirst) = {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) {else} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.L.AFR4_Route_Starthaltestelle) 0 > {if} (L.L.AFR4_Route_Starthaltestelle) 1 - 0 max (S.L.AFR4_Route_Starthaltestelle) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (L.L.AFR4_Route_Starthaltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) (L.L.AFR4_Route_Starthaltestelle) 0 = {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 = ! (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1_intern) $StrToFloat (M.L.GetLineRecent) s6 $IntToStr (S.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) l6 (L.L.GetLineFirst) = (L.L.GetLineFirst) (L.L.GetLineFinal) = ! && {if} (L.L.AFR4_VS_Bild_runter) 1 = (L.L.AFR4_VS_runter) 1 = || {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} (L.L.GetLineFirst) (L.L.GetLineFinal) = ! {if} (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.L.AFR4_internal_terminus_index) 1 - (S.L.AFR4_internal_terminus_index) (M.V.GetTerminusCode) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) (L.L.AFR4_internal_terminus_index) 1 = {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_internal_terminus_index) (L.L.TerminusEndIndex) < {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Fehler_ausblenden) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Umlauf_Bild_hoch} "" (S.$.AFR4_Display_Umlauf_0_Route) "" (S.$.AFR4_Display_Umlauf_1_Route) "" (S.$.AFR4_Display_Umlauf_2_Route) "" (S.$.AFR4_Display_Umlauf_3_Route) 1 (S.L.RouteFirst) (M.L.GetUmlauf) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (L.L.GetRouteFirst) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_hoch) 1 (S.L.AFR4_VS_Umlauf_hoch) {endif} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (L.L.GetRouteFinal) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_runter) 1 (S.L.AFR4_VS_Umlauf_runter) {endif} {end} {trigger:AFR4_BT_Umlauf_hoch} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) {endif} {endif} {endif} (M.L.SelectUmlauf) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (L.L.GetRouteFirst) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_hoch) 1 (S.L.AFR4_VS_Umlauf_hoch) {endif} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (L.L.GetRouteFinal) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_runter) 1 (S.L.AFR4_VS_Umlauf_runter) {endif} {end} {trigger:AFR4_BT_Umlauf_Bild_runter} "" (S.$.AFR4_Display_Umlauf_0_Route) "" (S.$.AFR4_Display_Umlauf_1_Route) "" (S.$.AFR4_Display_Umlauf_2_Route) "" (S.$.AFR4_Display_Umlauf_3_Route) 1 (S.L.RouteFinal) (M.L.GetUmlauf) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (L.L.GetRouteFirst) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_hoch) 1 (S.L.AFR4_VS_Umlauf_hoch) {endif} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (L.L.GetRouteFinal) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_runter) 1 (S.L.AFR4_VS_Umlauf_runter) {endif} {end} {trigger:AFR4_BT_Umlauf_runter} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) {endif} {endif} {endif} (M.L.SelectUmlauf) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (L.L.GetRouteFirst) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_hoch) 1 (S.L.AFR4_VS_Umlauf_hoch) {endif} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (L.L.GetRouteFinal) = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_runter) 1 (S.L.AFR4_VS_Umlauf_runter) {endif} {end} {trigger:AFR4_BT_Umlauf_0} (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (S.L.AFR4_Route_intern) (M.L.SelectUmlauf) {end} {trigger:AFR4_BT_Umlauf_1} (L.$.AFR4_Display_Umlauf_1_Route) $StrToFloat (S.L.AFR4_Route_intern) (M.L.SelectUmlauf) {end} {trigger:AFR4_BT_Umlauf_2} (L.$.AFR4_Display_Umlauf_2_Route) $StrToFloat (S.L.AFR4_Route_intern) (M.L.SelectUmlauf) {end} {trigger:AFR4_BT_Umlauf_3} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (S.L.AFR4_Route_intern) (M.L.SelectUmlauf) {end} {trigger:AFR4_BT_Haltestelle_runter} (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) 1 - (L.L.AFR4_Selected_Haltestelle) 7 + > {if} (L.L.AFR4_Selected_Haltestelle) 4 + (S.L.AFR4_Selected_Haltestelle) {else} (M.V.GetTTBusstopCount) 4 - (S.L.AFR4_Selected_Haltestelle) ' Hier wird die Hintergrundtextur geändert. 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} (M.V.GetTTBusstopCount) 1 - (L.L.AFR4_Selected_Haltestelle) 3 + = {if} 0 (S.L.AFR4_VS_Haltestelle_runter) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - 1 - (L.L.AFR4_Selected_Haltestelle) 7 + > {if} (L.L.AFR4_Selected_Haltestelle) 4 + (S.L.AFR4_Selected_Haltestelle) {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - 4 - (S.L.AFR4_Selected_Haltestelle) ' Hier wird die Hintergrundtextur geändert. 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - 1 - (L.L.AFR4_Selected_Haltestelle) 3 + = {if} 0 (S.L.AFR4_VS_Haltestelle_runter) {endif} {endif} (L.L.AFR4_Aktive_Haltestelle) 1 + (L.L.AFR4_Selected_Haltestelle) < {if} 1 (S.L.AFR4_VS_Haltestelle_hoch) {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Haltestelle_hoch} (L.L.AFR4_RBL_SaveMode) {if} (L.L.AFR4_Selected_Haltestelle) 4 - (L.L.AFR4_Aktive_Haltestelle) 1 + <= {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) 0 (S.L.AFR4_VS_Haltestelle_hoch) {else} (L.L.AFR4_Selected_Haltestelle) 4 - (S.L.AFR4_Selected_Haltestelle) {endif} (M.V.GetTTBusstopCount) (L.L.AFR4_Selected_Haltestelle) 3 + > {if} (L.L.AFR4_VS_Haltestelle_runter) 0 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) 1 (S.L.AFR4_VS_Haltestelle_runter) {endif} {endif} {else} (L.L.AFR4_Selected_Haltestelle) 4 - (L.L.AFR4_Aktive_Haltestelle) 1 + <= {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) 0 (S.L.AFR4_VS_Haltestelle_hoch) {else} (L.L.AFR4_Selected_Haltestelle) 4 - (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Selected_Haltestelle) 3 + > {if} (L.L.AFR4_VS_Haltestelle_runter) 0 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) 1 (S.L.AFR4_VS_Haltestelle_runter) {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Loeschen} (L.L.AFR4_BT_Loeschen) 0 = {if} 1 (S.L.AFR4_BT_Loeschen) (L.L.AFR4_BT_Select_1_TEXT) {if} "" (S.$.AFR4_Display_Input_1) (L.L.AFR4_BT_Select_1_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_1_TEXT_Fehler) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} "" (S.$.AFR4_Display_Input_2) (L.L.AFR4_BT_Select_2_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) {endif} {else} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.L.AFR4_Display_Panel) 2 = {if} "" (S.$.AFR4_Input_PIN) {endif} "" (S.$.AFR4_Display_Input_3) (L.L.AFR4_BT_Select_3_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} "" (S.$.AFR4_Display_Input_4) (L.L.AFR4_BT_Select_4_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_4_TEXT_Fehler) {endif} {endif} {endif} {endif} {endif} {endif} "" (S.$.AFR4_Input_PIN) (L.L.AFR4_VS_OK_klein) {if} 0 (S.L.AFR4_VS_OK_klein) {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Loeschen_off} (L.L.AFR4_BT_Loeschen) 1 = {if} 0 (S.L.AFR4_BT_Loeschen) {endif} {end} {trigger:AFR4_BT_Reiter_zurueck} (L.L.AFR4_Ticket_Kategorie) 4 < {if} (L.$.AFR4_Display_texture) (S.$.AFR4_Display_3_texture) 0 (S.L.AFR4_VS_Reiter_zurueck) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 1 (S.L.AFR4_VS_Einstellung_3) 0 (S.L.AFR4_VS_Einstellung_4) 0 (S.L.AFR4_VS_Einstellung_5) 1 (S.L.AFR4_VS_Ticket_0) 1 (S.L.AFR4_VS_Ticket_1) 1 (S.L.AFR4_VS_Ticket_2) 1 (S.L.AFR4_VS_Ticket_3) 1 (S.L.AFR4_VS_Ticket_4) 0 (S.L.AFR4_Ticket_Kategorie) {else} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_Uml" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 0 (S.L.AFR4_VS_Einstellung_1) 0 (S.L.AFR4_VS_Einstellung_2) 0 (S.L.AFR4_VS_Einstellung_3) 0 (S.L.AFR4_VS_Einstellung_4) 0 (S.L.AFR4_VS_Einstellung_5) 1 (S.L.AFR4_VS_Ticket_0) 1 (S.L.AFR4_VS_Ticket_1) 1 (S.L.AFR4_VS_Ticket_2) 0 (S.L.AFR4_VS_Ticket_3) 0 (S.L.AFR4_VS_Ticket_4) 3 (S.L.AFR4_Ticket_Kategorie) {endif} {end} {trigger:AFR4_BT_Bestaetigen} (L.L.AFR4_BT_Bestaetigen) 0 = {if} (L.L.AFR4_Display_Panel) 2 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (C.L.AFR4_Verkaeufer) = {if} (L.L.AFR4_BT_Select_3_TEXT) 0 = {if} 3 s4 (M.L.AFR4_Display_select) {else} (L.$.AFR4_Input_PIN) $StrToFloat (C.L.AFR4_PIN) = {if} (L.L.AFR4_Fahrerwechsel) 2 = {if} 1 (S.L.AFR4_LoggedIn) (M.L.AFR4_Display_Panel_history) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) 0 (S.L.AFR4_Fahrerwechsel) {else} 1 (S.L.AFR4_LoggedIn) (M.L.AFR4_Display_Panel_history) 3 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} "PIN falsch+" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_3_TEXT_Fehler) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_3) {endif} {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} 2 s4 (M.L.AFR4_Display_select) {endif} "Unbekannter Verkäufer" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_3) {endif} {else} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.L.AFR4_BT_Select_3_TEXT) 0 = {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 3 s4 (M.L.AFR4_Display_select) {else} (L.$.AFR4_Display_Input_3) $StrToFloat 0 = ! {if} ' Hier muss geprüft werden, ob wir im RBL eingeloggt sind. Dann wird der Umlauf automatisch gewählt. (L.L.schedule_active) {if} (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (M.L.GetRouteCode) (L.L.Route) -1 = ! {if} 1 (S.L.schedule_active_intern) 0 (S.L.AFR4_RBL_SaveMode) (L.L.Linie) (S.L.AFR4_Linie) (S.L.AFR4_Linie_intern) (L.L.Route) (S.L.AFR4_Route) (S.L.AFR4_Route_intern) (M.V.GetTTBusstopIndex) (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 5 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} 1 (S.L.AFR4_RBL_SaveMode) 0 (S.L.AFR4_BusstopStartDiv) 1 (S.L.schedule_active_intern) (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) 0 (S.L.AFR4_Route_intern) 0 (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 5 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} ' Sonst: Wird ein Menü zum Wählen des Umlaufs geöffnet. 0 (S.L.schedule_active_intern) (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (M.L.GetRouteFirst) (S.L.AFR4_Route_intern) 0 (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} ' Wenn Route 0, dann spezielles Fenster zur Routendefinition öffnen. (L.$.AFR4_Display_Input_3) $StrToFloat 0 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (L.$.AFR4_Display_Input_3) $StrToFloat (S.L.AFR4_Route_intern) (M.L.AFR4_Display_Panel_history) 6 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_3) {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) 1 = {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) -1 = ! {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 3 s4 (M.L.AFR4_Display_select) {else} 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_3) {endif} {else} (L.L.AFR4_BT_Select_3_TEXT) 1 = {if} (L.$.AFR4_Display_Input_3) $StrToFloat 0 (M.V.GetBusstopString) "" $= ! {if} (L.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) 2 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Starthaltestelle" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_3_TEXT_Fehler) "" (S.$.AFR4_Display_Input_3) {endif} {endif} {endif} {else} (L.L.AFR4_Display_Panel) 9 = {if} (L.$.AFR4_Input_PIN) $StrToFloat (C.L.AFR4_PIN) = {if} (L.L.AFR4_Fahrerwechsel) {if} 0 (S.L.AFR4_LoggedIn) (M.L.AFR4_Display_Panel_history) 2 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} 0 (S.L.IBIS_Linie_Complex) 0 (S.L.IBIS_TerminusIndex) (M.L.AFR4_Display_Panel_history) 1 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} "PIN falsch+" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_2) {endif} {else} (L.L.AFR4_Display_Panel) 27 = {if} (L.$.AFR4_Input_PIN) $StrToFloat (C.L.AFR4_PIN) = {if} 0 (S.L.AFR4_Pause) (M.L.AFR4_Display_Panel_history) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} "PIN falsch+" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_2) {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) 2 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_1_TEXT_Fehler) "" (S.$.AFR4_Display_Input_1) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_VS_Select_4) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) -1 = ! (L.$.AFR4_Display_Input_2) "0" $= ! && (L.$.AFR4_Display_Input_2) "" $= ! && {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 4 s4 (M.L.AFR4_Display_select) {else} "Unbekanntes Ziel" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_4) {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} (L.$.AFR4_Display_Input_4) $StrToFloat (M.L.SonderzeichenExists) -1 = ! {if} 1 s4 (M.L.AFR4_Display_select) {else} "Unbekanntes Sonderzeichen" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_4_TEXT_Fehler) "" (S.$.AFR4_Display_Input_4) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} 1 (S.L.AFR4_BT_Bestaetigen) {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Bestaetigen_off} (L.L.AFR4_BT_Bestaetigen) 1 = {if} 0 (S.L.AFR4_BT_Bestaetigen) {endif} {end} {trigger:AFR4_BT_Erreicht} (L.L.AFR4_BT_Bestaetigen) 0 = {if} 1 (S.L.AFR4_BT_Bestaetigen) (L.L.AFR4_Display_Panel) 18 = (L.L.AFR4_Display_Panel) 21 = || {if} (L.L.AFR4_Aufsatz_open) ! {if} (L.L.AFR4_Karte_2) {if} 0 (S.L.AFR4_Karte_0) 1 (S.L.AFR4_Karte_1) 0 (S.L.AFR4_Karte_2) 0 (S.L.AFR4_Karte_eingesteckt) {endif} 1 (S.L.AFR4_Aufsatz_open) 0.02 (S.L.AFR4_Aufsatz_pos) (L.L.AFR4_Display_Panel) 18 = {if} (M.L.AFR4_Display_Panel_history) 21 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {else} ' Schnittstelle zwischen AFR4 und Matrix: 0 (S.L.AFR4_LastBusstop) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetHofError) (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route) + (S.L.IBIS_Linie_Complex) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTTerminusIndex) (S.L.IBIS_TerminusIndex) {else} (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetRouteTerminusIndex) (S.L.IBIS_TerminusIndex) {endif} 1 (S.L.AFR4_RouteStarted) (L.L.AFR4_Route_Starthaltestelle) (S.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) 1 (S.L.Innenanzeige_update) (M.L.AFR4_Display_Panel_history) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {end} {trigger:AFR4_BT_Erreicht_off} (L.L.AFR4_BT_Bestaetigen) 1 = {if} 0 (S.L.AFR4_BT_Bestaetigen) {endif} {end} {trigger:AFR4_Aufsatz_drag} (L.L.AFR4_Aufsatz_open) {if} (L.L.AFR4_Aufsatz_drag) ! {if} 1 (S.L.AFR4_Aufsatz_drag) {endif} (L.S.mouse_y) 200 / (L.L.AFR4_Aufsatz_pos) + 1 min 0 max (S.L.AFR4_Aufsatz_pos) {endif} {end} {trigger:AFR4_Aufsatz_off} (L.L.AFR4_Aufsatz_open) (L.L.AFR4_Aufsatz_pos) 0 = && {if} 0 (S.L.AFR4_Aufsatz_open) (L.L.AFR4_Display_Panel) 21 = {if} (M.L.AFR4_Display_Panel_history) 18 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} (L.L.AFR4_Aufsatz_drag) {if} 0 (S.L.AFR4_Aufsatz_drag) {endif} {end} {trigger:AFR4_BT_Pop_Up} (L.L.AFR4_VS_Display_P) {if} 0 (S.L.AFR4_VS_Display_P) 0 (S.L.AFR4_VS_Nacht_Modus) 0 (S.L.AFR4_VS_Schichtende) 0 (S.L.AFR4_VS_Fahrerwechsel) 0 (S.L.AFR4_VS_Nachricht_senden) 0 (S.L.AFR4_VS_Nachrichten_lesen) 0 (S.L.AFR4_VS_Fahrtauswahl) 0 (S.L.AFR4_VS_Routenauswahl) 0 (S.L.AFR4_VS_Direktruf) 0 (S.L.AFR4_VS_Drucker) 0 (S.L.AFR4_VS_L_K) 0 (S.L.AFR4_VS_Nachlauf_beenden) 0 (S.L.AFR4_VS_Ziel_Nr) 0 (S.L.AFR4_VS_Fahrplanversion) 0 (S.L.AFR4_VS_Pause) 0 (S.L.AFR4_VS_Razzia) 0 (S.L.AFR4_VS_Razzia_klick) {else} (L.L.AFR4_BT_LM) {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_P_LM.bmp" $+ (S.$.AFR4_Pop_Up_texture) {else} "4_P.bmp" (S.$.AFR4_Pop_Up_texture) {endif} 1 (S.L.AFR4_VS_Display_P) 1 (S.L.AFR4_VS_Nacht_Modus) 1 (S.L.AFR4_VS_Schichtende) 1 (S.L.AFR4_VS_Fahrerwechsel) 1 (S.L.AFR4_VS_Nachricht_senden) 1 (S.L.AFR4_VS_Nachrichten_lesen) 1 (S.L.AFR4_VS_Fahrtauswahl) 1 (S.L.AFR4_VS_Routenauswahl) 1 (S.L.AFR4_VS_Direktruf) 1 (S.L.AFR4_VS_Drucker) 1 (S.L.AFR4_VS_L_K) 1 (S.L.AFR4_VS_Nachlauf_beenden) 1 (S.L.AFR4_VS_Ziel_Nr) 1 (S.L.AFR4_VS_Fahrplanversion) 1 (S.L.AFR4_VS_Pause) (L.L.AFR4_Razzia) {if} 1 (S.L.AFR4_VS_Razzia) 0 (S.L.AFR4_VS_Razzia_klick) {else} 0 (S.L.AFR4_VS_Razzia) 1 (S.L.AFR4_VS_Razzia_klick) {endif} {endif} {end} {trigger:AFR4_BT_Ansage_hoch} 0 (S.L.AFR4_Aktive_Haltestelle_Timer) (L.L.AFR4_Aktive_Haltestelle) 1 - (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) 2 + (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_Aktive_Haltestelle) 1 < {if} 0 (S.L.AFR4_VS_Ansage_hoch) {endif} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) 1 (S.L.Innenanzeige_update) (L.L.AFR4_Aktive_Haltestelle) 0 = ! {if} 1 (S.L.AFR4_Haltestelle_weiterschalten) (M.L.AFR4_PlayAnnouncement) {endif} (L.L.schedule_active) (L.L.Linie) (L.L.AFR4_Linie) = && (L.L.Route) (L.L.AFR4_Route) = && {if} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = ! (L.L.schedule_active_intern) && {if} 0 (S.L.schedule_active_intern) {else} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = (L.L.schedule_active_intern) ! && {if} 1 (S.L.schedule_active_intern) {endif} {endif} {endif} {end} {trigger:AFR4_BT_Ansage_runter} 0 (S.L.AFR4_Aktive_Haltestelle_Timer) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - 1 > {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_VS_Ansage_hoch) 0 = {if} 1 (S.L.AFR4_VS_Ansage_hoch) {endif} {endif} (L.L.AFR4_Display_Panel) 4 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - 1 > {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_VS_Ansage_hoch) 0 = {if} 1 (S.L.AFR4_VS_Ansage_hoch) {endif} {endif} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - 2 < {if} (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} {endif} {endif} (L.L.schedule_active_intern) {if} (L.L.AFR4_Display_Panel) 11 = {if} (L.L.AFR4_Haltestelle_skip) 1 + (S.L.AFR4_Haltestelle_skip) 1 > (L.L.AFR4_Haltestelle_skip_temp) (L.L.AFR4_Haltestelle_skip) = ! && {if} (L.L.AFR4_Haltestelle_skip) (S.L.AFR4_Haltestelle_skip_temp) (M.L.AFR4_Display_aktualisieren) {endif} {endif} {endif} 1 (S.L.Innenanzeige_update) (L.L.AFR4_Aktive_Haltestelle) 0 = ! {if} 1 (S.L.AFR4_Haltestelle_weiterschalten) (M.L.AFR4_PlayAnnouncement) {endif} (L.L.schedule_active) (L.L.Linie) (L.L.AFR4_Linie) = && (L.L.Route) (L.L.AFR4_Route) = && {if} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = ! (L.L.schedule_active_intern) && {if} 0 (S.L.schedule_active_intern) {else} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = (L.L.schedule_active_intern) ! && {if} 1 (S.L.schedule_active_intern) {endif} {endif} {endif} {end} {trigger:cp_microphone} (L.L.AFR4_Mikrofon) ! (L.L.AFR4_Display_Panel) 4 = (L.L.AFR4_Display_Panel) 11 = || && {if} 1 (S.L.AFR4_Mikrofon) (L.L.AFR4_Display_Panel) 11 = {if} (L.L.AFR4_Haltestelle_skip) 1 + (S.L.AFR4_Haltestelle_skip) 1 > (L.L.AFR4_Haltestelle_skip_temp) (L.L.AFR4_Haltestelle_skip) = ! && {if} (L.L.AFR4_Haltestelle_skip) (S.L.AFR4_Haltestelle_skip_temp) (M.L.AFR4_Display_aktualisieren) {endif} {endif} (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - 1 > {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_VS_Ansage_hoch) 0 = (L.L.AFR4_Aktive_Haltestelle_Timer) -1 = ! && {if} 1 (S.L.AFR4_VS_Ansage_hoch) {endif} {endif} (L.L.AFR4_Display_Panel) 4 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - 1 > {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (L.L.AFR4_VS_Ansage_hoch) 0 = (L.L.AFR4_Aktive_Haltestelle_Timer) -1 = ! && {if} 1 (S.L.AFR4_VS_Ansage_hoch) {endif} {endif} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - 2 < (L.L.schedule_active) ! && {if} (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} {endif} {endif} (L.L.schedule_active) (L.L.Linie) (L.L.AFR4_Linie) = && (L.L.Route) (L.L.AFR4_Route) = && {if} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = ! (L.L.schedule_active_intern) && {if} 0 (S.L.schedule_active_intern) {else} (M.V.GetTTBusstopIndex) (L.L.AFR4_Aktive_Haltestelle) = (L.L.schedule_active_intern) ! && {if} 1 (S.L.schedule_active_intern) {endif} {endif} {endif} 1 (S.L.Innenanzeige_update) (L.L.AFR4_Aktive_Haltestelle) 0 = ! {if} 1 (S.L.AFR4_Haltestelle_weiterschalten) (M.L.AFR4_PlayAnnouncement) (T.F.ev_IBIS_Ansagen) {endif} {endif} {end} {trigger:cp_microphone_off} (L.L.AFR4_Mikrofon) {if} 0 (S.L.AFR4_Mikrofon) {endif} {end} {trigger:AFR4_BT_Aktive_Haltestelle} 1 (S.L.AFR4_BT_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle_Timer) -1 = {if} 0 (S.L.AFR4_VS_Haltestelle_Liste) 0 (S.L.AFR4_Aktive_Haltestelle_Timer) (L.L.AFR4_BT_LM) {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_A_LM.bmp" $+ (S.$.AFR4_Display_2_texture) {else} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_A.bmp" $+ (S.$.AFR4_Display_2_texture) {endif} 0 (S.L.AFR4_VS_Haltestelle_hoch) 0 (S.L.AFR4_VS_Haltestelle_runter) 1 (S.L.AFR4_VS_Ansage_runter) (L.L.AFR4_Aktive_Haltestelle) 0 > {if} 1 (S.L.AFR4_VS_Ansage_hoch) {endif} {endif} {end} {trigger:AFR4_BT_Aktive_Haltestelle_off} 0 (S.L.AFR4_BT_Aktive_Haltestelle) {end} {trigger:AFR4_BT_Select_1} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) -1 = ! (L.$.AFR4_Display_Input_2) "" $= ! && {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 1 s4 (M.L.AFR4_Display_select) {else} (M.L.AFR4_Fehler_ausblenden) (L.$.AFR4_Display_Input_2_intern) (S.$.AFR4_Display_Input_2) 1 s4 (M.L.AFR4_Display_select) {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} (L.$.AFR4_Display_Input_4) $StrToFloat (M.L.SonderzeichenExists) -1 = ! {if} ' (L.$.AFR4_Display_Input_4) (S.$.AFR4_Display_Input_4_intern) 1 s4 (M.L.AFR4_Display_select) {else} ' (M.L.AFR4_Fehler_ausblenden) "0" (S.$.AFR4_Display_Input_4) 1 s4 (M.L.AFR4_Display_select) {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Select_2} (L.L.AFR4_Display_Panel) 2 = {if} "" (S.$.AFR4_Display_Input_3) "" (S.$.AFR4_Input_PIN) 2 s4 (M.L.AFR4_Display_select) {else} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_3) "" $= {if} "0" (S.$.AFR4_Display_Input_3) {endif} 2 s4 (M.L.AFR4_Display_select) {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_3_TEXT) {if} (L.$.AFR4_Display_Input_3) $StrToFloat 0 (M.V.GetBusstopString) "" $= ! {if} (L.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) 2 s4 (M.L.AFR4_Display_select) {else} (L.$.AFR4_Display_Input_3_intern) (S.$.AFR4_Display_Input_3) 2 s4 (M.L.AFR4_Display_select) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) 2 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_1_TEXT_Fehler) "" (S.$.AFR4_Display_Input_1) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_VS_Select_4) {endif} {else} (L.L.AFR4_BT_Select_4_TEXT) {if} (L.$.AFR4_Display_Input_4) $StrToFloat (M.L.SonderzeichenExists) -1 = ! {if} 2 s4 (M.L.AFR4_Display_select) {else} "0" (S.$.AFR4_Display_Input_4) 2 s4 (M.L.AFR4_Display_select) {endif} {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Select_3} (L.L.AFR4_Display_Panel) 2 = {if} 3 s4 (M.L.AFR4_Display_select) {else} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 3 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_3) {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) -1 = ! {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 3 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Starthaltestelle" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_3) {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Select_4} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) {if} (L.$.AFR4_Display_Input_1) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) 4 s4 (M.L.AFR4_Display_select) {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_1_TEXT_Fehler) "" (S.$.AFR4_Display_Input_1) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_VS_Select_4) {endif} {else} (L.L.AFR4_BT_Select_2_TEXT) {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) -1 = ! {if} (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 4 s4 (M.L.AFR4_Display_select) {else} "Unbekanntes Ziel" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) 0 (S.L.AFR4_VS_Select_4) {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ticket_0} (L.L.AFR4_Ticket_Kategorie) 0 = {if} 1 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 4 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 3 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 15 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 22 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 6 = {if} 28 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 3 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_Pots" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 4 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 1 (S.L.AFR4_VS_Einstellung_3) 1 (S.L.AFR4_VS_Einstellung_4) 1 (S.L.AFR4_VS_Einstellung_5) 1 (S.L.AFR4_VS_Ticket_3) 1 (S.L.AFR4_VS_Ticket_4) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Ticket_1} (L.L.AFR4_Ticket_Kategorie) 0 = {if} 1 (S.L.AFR4_Ticket) 1 (S.L.AFR4_Erm) {else} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 10 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 3 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 15 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 23 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 6 = {if} 28 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 3 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_BWC" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 5 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 1 (S.L.AFR4_VS_Einstellung_3) 1 (S.L.AFR4_VS_Einstellung_4) 1 (S.L.AFR4_VS_Einstellung_5) 1 (S.L.AFR4_VS_Ticket_3) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Ticket_2} (L.L.AFR4_Ticket_Kategorie) 0 = {if} 0 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 6 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 13 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 24 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 3 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_OVG" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 6 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 0 (S.L.AFR4_VS_Ticket_2) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Ticket_3} (L.L.AFR4_Ticket_Kategorie) 0 = {if} 0 (S.L.AFR4_Ticket) 1 (S.L.AFR4_Erm) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 6 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 13 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 25 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Ticket_4} (L.L.AFR4_Ticket_Kategorie) 0 = {if} 4 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 29 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 12 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 16 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Ticket_4_off} (L.L.AFR4_BT_Ticket_4) {if} 0 (S.L.AFR4_BT_Ticket_4) {endif} {end} {trigger:AFR4_BT_Ticket_zusaetzlich} 1 (S.L.AFR4_Ticket_Warenkorb_hinzufuegen) 12 (S.L.AFR4_Display_Panel_recent) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Ticket_loeschen} (L.L.AFR4_VS_Ticket_Warenkorb_0_select) 1 = {if} (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} (M.L.AFR4_Ticket_1_Ticket_0) (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} (M.L.AFR4_Ticket_2_Ticket_1) (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} (M.L.AFR4_Ticket_3_Ticket_2) -1 (S.L.AFR4_Ticket_Slot_3) {else} -1 (S.L.AFR4_Ticket_Slot_2) {endif} {else} -1 (S.L.AFR4_Ticket_Slot_1) {endif} {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_1_select) 1 = {if} (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} (M.L.AFR4_Ticket_2_Ticket_1) (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} (M.L.AFR4_Ticket_3_Ticket_2) -1 (S.L.AFR4_Ticket_Slot_3) {else} -1 (S.L.AFR4_Ticket_Slot_2) {endif} {else} -1 (S.L.AFR4_Ticket_Slot_1) {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) 1 = {if} (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} (M.L.AFR4_Ticket_3_Ticket_2) -1 (S.L.AFR4_Ticket_Slot_3) {else} -1 (S.L.AFR4_Ticket_Slot_2) {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) 1 = {if} -1 (S.L.AFR4_Ticket_Slot_3) {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Preis_Ermaessigt_0) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {endif} {endif} {endif} 0 (S.L.AFR4_VS_Ticket_Warenkorb_0) 1 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) (M.L.AFR4_Display_aktualisieren) {else} 12 (S.L.AFR4_Display_Panel_recent) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {macro:AFR4_Ticket_1_Ticket_0} (L.L.AFR4_Ticket_Slot_1) (S.L.AFR4_Ticket_Slot_0) (L.$.AFR4_Ticket_Name_1) (S.$.AFR4_Ticket_Name_0) (L.$.AFR4_Ticket_Button_Name_1) (S.$.AFR4_Ticket_Button_Name_0) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) (L.L.AFR4_Ticket_Preis_Ermaessigt_1) (S.L.AFR4_Ticket_Preis_Ermaessigt_0) (L.L.AFR4_Ticket_Preis_Regeltarif_1) (S.L.AFR4_Ticket_Preis_Regeltarif_0) {end} {macro:AFR4_Ticket_2_Ticket_1} (L.L.AFR4_Ticket_Slot_2) (S.L.AFR4_Ticket_Slot_1) (L.$.AFR4_Ticket_Name_2) (S.$.AFR4_Ticket_Name_1) (L.$.AFR4_Ticket_Button_Name_2) (S.$.AFR4_Ticket_Button_Name_1) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Ermaessigt_2) (S.L.AFR4_Ticket_Preis_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Regeltarif_2) (S.L.AFR4_Ticket_Preis_Regeltarif_1) {end} {macro:AFR4_Ticket_3_Ticket_2} (L.L.AFR4_Ticket_Slot_3) (S.L.AFR4_Ticket_Slot_2) (L.$.AFR4_Ticket_Name_3) (S.$.AFR4_Ticket_Name_2) (L.$.AFR4_Ticket_Button_Name_3) (S.$.AFR4_Ticket_Button_Name_2) (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) (L.L.AFR4_Ticket_Preis_Ermaessigt_3) (S.L.AFR4_Ticket_Preis_Ermaessigt_2) (L.L.AFR4_Ticket_Preis_Regeltarif_3) (S.L.AFR4_Ticket_Preis_Regeltarif_2) {end} {trigger:AFR4_BT_Ticket_Warenkorb_0} (L.L.AFR4_Ticket_Preis_Ermaessigt_0) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {endif} {endif} {endif} 0 (S.L.AFR4_VS_Ticket_Warenkorb_0) 1 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ticket_Warenkorb_1} (L.L.AFR4_Ticket_Preis_Ermaessigt_1) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) (L.L.AFR4_VS_Ticket_Warenkorb_0_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_0) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {endif} {endif} {endif} 0 (S.L.AFR4_VS_Ticket_Warenkorb_1) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ticket_Warenkorb_2} (L.L.AFR4_Ticket_Preis_Ermaessigt_2) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) (L.L.AFR4_VS_Ticket_Warenkorb_0_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_0) {else} (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {endif} {endif} {endif} 0 (S.L.AFR4_VS_Ticket_Warenkorb_2) 1 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ticket_Warenkorb_3} (L.L.AFR4_Ticket_Preis_Ermaessigt_3) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) (L.L.AFR4_VS_Ticket_Warenkorb_0_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_0) {else} (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {endif} {endif} {endif} 0 (S.L.AFR4_VS_Ticket_Warenkorb_3) 1 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Selected_Haltestelle_0} (L.L.AFR4_BT_Selected_Haltestelle_0) ! {if} 1 (S.L.AFR4_BT_Selected_Haltestelle_0) (L.L.AFR4_Selected_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) - 2 > {if} 1 (S.L.AFR4_Ticket) {else} 0 (S.L.AFR4_Ticket) {endif} (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.GetTicketDetails) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_0_off} (L.L.AFR4_BT_Selected_Haltestelle_0) {if} 0 (S.L.AFR4_BT_Selected_Haltestelle_0) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_1} (L.L.AFR4_BT_Selected_Haltestelle_1) ! {if} 1 (S.L.AFR4_BT_Selected_Haltestelle_1) (L.L.AFR4_Selected_Haltestelle) 1 + (L.L.AFR4_Aktive_Haltestelle) - 2 > {if} 1 (S.L.AFR4_Ticket) {else} 0 (S.L.AFR4_Ticket) {endif} (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.GetTicketDetails) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_1_off} (L.L.AFR4_BT_Selected_Haltestelle_1) {if} 0 (S.L.AFR4_BT_Selected_Haltestelle_1) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_2} (L.L.AFR4_BT_Selected_Haltestelle_2) ! {if} 1 (S.L.AFR4_BT_Selected_Haltestelle_2) (L.L.AFR4_Selected_Haltestelle) 2 + (L.L.AFR4_Aktive_Haltestelle) - 2 > {if} 1 (S.L.AFR4_Ticket) {else} 0 (S.L.AFR4_Ticket) {endif} (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.GetTicketDetails) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_2_off} (L.L.AFR4_BT_Selected_Haltestelle_2) {if} 0 (S.L.AFR4_BT_Selected_Haltestelle_2) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_3} (L.L.AFR4_BT_Selected_Haltestelle_3) ! {if} 1 (S.L.AFR4_BT_Selected_Haltestelle_3) (L.L.AFR4_Selected_Haltestelle) 3 + (L.L.AFR4_Aktive_Haltestelle) - 2 > {if} 1 (S.L.AFR4_Ticket) {else} 0 (S.L.AFR4_Ticket) {endif} (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.GetTicketDetails) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Selected_Haltestelle_3_off} (L.L.AFR4_BT_Selected_Haltestelle_3) {if} 0 (S.L.AFR4_BT_Selected_Haltestelle_3) {endif} {end} {trigger:AFR4_BT_Regeltarif_plus} (L.L.AFR4_BT_Regeltarif_plus) ! {if} 1 (S.L.AFR4_BT_Regeltarif_plus) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) 1 + (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) 1 + (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) 1 + (S.L.AFR4_Ticket_Anzahl_Regeltarif_3) {else} (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) 1 + (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Regeltarif_plus_off} (L.L.AFR4_BT_Regeltarif_plus) {if} 0 (S.L.AFR4_BT_Regeltarif_plus) {endif} {end} {trigger:AFR4_BT_Regeltarif_minus} 1 (S.L.AFR4_BT_Regeltarif_minus) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) 1 - (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) 0 = (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) {endif} {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) 1 - (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) 0 = (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) {endif} {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) 1 - (S.L.AFR4_Ticket_Anzahl_Regeltarif_3) 0 = (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_3) {endif} {endif} {else} (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) 1 - (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) 0 = (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Regeltarif_minus_off} (L.L.AFR4_BT_Regeltarif_minus) {if} 0 (S.L.AFR4_BT_Regeltarif_minus) {endif} {end} {trigger:AFR4_BT_Ermaessigt_plus} (L.L.AFR4_BT_Ermaessigt_plus) ! {if} 1 (S.L.AFR4_BT_Ermaessigt_plus) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) 1 + (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) 1 + (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) 1 + (S.L.AFR4_Ticket_Anzahl_Ermaessigt_3) {else} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) 1 + (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ermaessigt_plus_off} (L.L.AFR4_BT_Ermaessigt_plus) {if} 0 (S.L.AFR4_BT_Ermaessigt_plus) {endif} {end} {trigger:AFR4_BT_Ermaessigt_minus} 1 (S.L.AFR4_BT_Ermaessigt_minus) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) 1 - (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) 0 = (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) {endif} {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) 1 - (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) 0 = (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) {endif} {endif} {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) 1 - (S.L.AFR4_Ticket_Anzahl_Ermaessigt_3) 0 = (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_3) {endif} {endif} {else} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) 0 > {if} (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) 1 - (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) 0 = (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) 0 = && {if} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_Ermaessigt_minus_off} (L.L.AFR4_BT_Ermaessigt_minus) {if} 0 (S.L.AFR4_BT_Ermaessigt_minus) {endif} {end} {trigger:AFR4_BT_Uebernehmen} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.L.LineExists) -1 = ! {if} (L.$.AFR4_Display_Input_3) $StrToFloat 0 = ! (L.$.AFR4_Display_Input_3) "" $= ! && {if} ' Hier muss geprüft werden, ob wir im RBL eingeloggt sind. Dann wird der Umlauf automatisch gewählt. (L.L.schedule_active) {if} (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (M.L.GetRouteCode) 1 (S.L.schedule_active_intern) (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.Linie) = {if} 0 (S.L.AFR4_RBL_SaveMode) (L.L.Linie) (S.L.AFR4_Linie) (S.L.AFR4_Linie_intern) (L.L.Route) (S.L.AFR4_Route) (S.L.AFR4_Route_intern) (M.V.GetTTBusstopIndex) (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 5 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} 1 (S.L.AFR4_RBL_SaveMode) 0 (S.L.AFR4_BusstopStartDiv) (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) 0 (S.L.AFR4_Route_intern) 0 (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} ' Sonst: Wird ein Menü zum Wählen des Umlaufs geöffnet. 0 (S.L.schedule_active_intern) (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (M.L.GetRouteFirst) (S.L.AFR4_Route_intern) 0 (S.L.AFR4_Route_Starthaltestelle) (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} ' Wenn Route 0, dann spezielles Fenster zur Routendefinition öffnen. (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Linie_intern) (L.$.AFR4_Display_Input_3) $StrToFloat (S.L.AFR4_Route_intern) (M.L.AFR4_Display_Panel_history) 6 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "0" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Input_3) {endif} {else} (L.L.AFR4_Display_Panel) 7 = {if} (L.L.AFR4_Linie_intern) (S.L.AFR4_Linie) (L.L.AFR4_Route_intern) (S.L.AFR4_Route) 0 (S.L.AFR4_Route_Starthaltestelle) (L.L.schedule_active) (L.L.Linie) (L.L.AFR4_Linie) = && (L.L.Route) (L.L.AFR4_Route) = && {if} 1 (S.L.schedule_active_intern) {else} 0 (S.L.schedule_active_intern) {endif} (M.L.AFR4_Display_Panel_history) 5 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 12 = {if} (M.L.AFR4_Display_Panel_history) 13 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 33 = {if} (L.L.AFR4_Fahrplanversion_intern) (S.L.AFR4_Fahrplanversion) 0 (S.L.AFR4_Fahrplanversion_intern) (M.L.AFR4_Display_Panel_history) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {endif} {end} {trigger:AFR4_BT_Betrieb_ohne_Verkauf} (L.L.AFR4_BT_Betrieb_ohne_Verkauf) ! {if} 1 (S.L.AFR4_BT_Betrieb_ohne_Verkauf) {endif} {end} {trigger:AFR4_BT_Betrieb_ohne_Verkauf_off} (L.L.AFR4_BT_Betrieb_ohne_Verkauf) {if} 0 (S.L.AFR4_BT_Betrieb_ohne_Verkauf) {endif} {end} {trigger:AFR4_BT_OK_klein} (L.L.AFR4_BT_OK_klein) ! {if} 1 (S.L.AFR4_BT_OK_klein) (L.L.AFR4_Display_Panel) 12 = {if} (L.L.AFR4_Ticket_pos) 0 = {if} 1 (S.L.AFR4_VS_Ticket) 1 (S.L.AFR4_Ticket_druckt) (T.L.ev_printer_printing) (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Display_Panel_main) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} (L.L.AFR4_Display_Panel) 13 = {if} 1 (S.L.AFR4_VS_Ticket) 1 (S.L.AFR4_Ticket_druckt) -1 (S.L.AFR4_Ticket_Slot_0) -1 (S.L.AFR4_Ticket_Slot_1) -1 (S.L.AFR4_Ticket_Slot_2) -1 (S.L.AFR4_Ticket_Slot_3) (T.L.ev_printer_printing) (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Display_Panel_main) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 8 = {if} (M.L.AFR4_Display_Panel_history) 9 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.$.AFR4_Display_Input_1) $StrToFloat (S.L.AFR4_Linie) (L.$.AFR4_Display_Input_2) $StrToFloat (S.L.AFR4_Route) (L.L.schedule_active) (L.L.Linie) (L.L.AFR4_Linie) = && (L.L.Route) (L.L.AFR4_Route) = && (L.L.AFR4_Route_Starthaltestelle) 0 = && {if} 1 (S.L.schedule_active_intern) {else} 0 (S.L.schedule_active_intern) {endif} (M.L.AFR4_Display_Panel_history) 5 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.$.AFR4_Display_Input_1) $StrToFloat (M.L.LineExists) -1 = ! (L.$.AFR4_Display_Input_1) "" $= || {if} (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) -1 = ! {if} (L.$.AFR4_Display_Input_4) $StrToFloat (M.L.SonderzeichenExists) -1 = ! {if} 1 (S.L.AFR4_Ziel_veraendert) (L.$.AFR4_Display_Input_1) $StrToFloat 100 * (L.L.AFR4_Route) + (S.L.IBIS_Linie_Complex) (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) (S.L.IBIS_TerminusIndex) (L.$.AFR4_Display_Input_4) $StrToFloat (S.L.IBIS_Linie_Suffix) (M.L.AFR4_Display_Panel_history) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} "Unbekanntes Sonderzeichen" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_4_TEXT_Fehler) "" (S.$.AFR4_Display_Input_4) {endif} {else} "Unbekanntes Ziel" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_2_TEXT_Fehler) "" (S.$.AFR4_Display_Input_2) {endif} {else} "Unbekannte Linie" (S.$.AFR4_Display_Warnung) 1 (S.L.AFR4_BT_Select_1_TEXT_Fehler) "" (S.$.AFR4_Display_Input_1) {endif} {endif} {endif} {endif} {endif} {endif} {endif} (M.L.AFR4_Display_aktualisieren) {end} {trigger:AFR4_BT_OK_klein_off} (L.L.AFR4_BT_OK_klein) {if} 0 (S.L.AFR4_BT_OK_klein) {endif} {end} {trigger:AFR4_BT_STOP} (L.L.AFR4_Display_Panel) 12 = (L.L.AFR4_Display_Panel) 13 = || {if} -1 (S.L.AFR4_Ticket_Slot_3) -1 (S.L.AFR4_Ticket_Slot_2) -1 (S.L.AFR4_Ticket_Slot_1) -1 (S.L.AFR4_Ticket_Slot_0) {endif} (L.L.AFR4_Display_Panel) 33 = {if} 0 (S.L.AFR4_Fahrplanversion_intern) {endif} (L.L.AFR4_Fahrerwechsel) {if} 0 (S.L.AFR4_Fahrerwechsel) {endif} (L.L.AFR4_Ziel_veraendert) ! && {if} 0 (S.L.AFR4_internal_terminus_index) {endif} (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Display_Panel_main) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {end} {trigger:AFR4_BT_Zurueck} (L.L.AFR4_Display_Panel) 8 = (L.L.AFR4_Fahrerwechsel) && {if} 0 (S.L.AFR4_Fahrerwechsel) {endif} (L.L.AFR4_Display_Panel) 28 = (L.L.AFR4_Ziel_veraendert) ! && {if} 0 (S.L.AFR4_internal_terminus_index) {endif} (L.L.AFR4_Display_Panel) 33 = {if} 0 (S.L.AFR4_Fahrplanversion_intern) {endif} (L.L.AFR4_Display_Panel_recent) 0 = ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (L.L.AFR4_Display_Panel_recent_0) (S.L.AFR4_Display_Panel) (L.L.AFR4_Display_Panel_recent_1) (S.L.AFR4_Display_Panel_recent_0) (L.L.AFR4_Display_Panel_recent_2) (S.L.AFR4_Display_Panel_recent_1) (L.L.AFR4_Display_Panel_recent_3) (S.L.AFR4_Display_Panel_recent_2) 0 (S.L.AFR4_Display_Panel_recent_3) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel_main) (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Service} (L.L.AFR4_BT_Service) ! {if} 1 (S.L.AFR4_BT_Service) (M.L.AFR4_Display_Panel_history) 23 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Service_off} (L.L.AFR4_BT_Service) {if} 0 (S.L.AFR4_BT_Service) {endif} {end} {trigger:AFR4_BT_Verkauf} (L.L.AFR4_BT_Verkauf) ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 23 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Schicht} (L.L.AFR4_BT_Schicht) ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 24 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Bedienung} (L.L.AFR4_BT_Bedienung) ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 25 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Einstellungen} (L.L.AFR4_BT_Einstellungen) ! {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 26 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Einstellung_0} (L.L.AFR4_BT_Einstellung_0) 0 = {if} (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Aufsatz_open) {if} 21 (S.L.AFR4_Display_Panel) {else} 18 (S.L.AFR4_Display_Panel) {endif} (M.L.AFR4_Display_change) 1 (S.L.AFR4_BT_Einstellung_0) {endif} {end} {trigger:AFR4_BT_Einstellung_0_off} (L.L.AFR4_BT_Einstellung_0) 1 = {if} 0 (S.L.AFR4_BT_Einstellung_0) {endif} {end} {trigger:AFR4_BT_Einstellung_1} (L.L.AFR4_BT_Einstellung_1) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} 1 (S.L.AFR4_Schichtende) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 7 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 2 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 16 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 18 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 6 = {if} 27 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 0 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_AB" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 1 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Reiter_zurueck) 1 (S.L.AFR4_VS_Einstellung_4) 0 (S.L.AFR4_VS_Ticket_2) 0 (S.L.AFR4_VS_Ticket_3) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_1_off} (L.L.AFR4_BT_Einstellung_1) {if} 0 (S.L.AFR4_BT_Einstellung_1) {endif} {end} {trigger:AFR4_BT_Einstellung_2} (L.L.AFR4_BT_Einstellung_2) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} 1 (S.L.AFR4_Fahrerwechsel) (M.L.AFR4_Display_Panel_history) 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 7 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 2 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 14 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 19 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 6 = {if} 27 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 0 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_BC" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 2 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Reiter_zurueck) 1 (S.L.AFR4_VS_Einstellung_4) 1 (S.L.AFR4_VS_Einstellung_5) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_3} (L.L.AFR4_BT_Einstellung_3) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 3 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 8 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 5 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 14 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 20 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Kategorie) 0 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_Uml" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_3_texture) 3 (S.L.AFR4_Ticket_Kategorie) 1 (S.L.AFR4_VS_Reiter_zurueck) 0 (S.L.AFR4_VS_Einstellung_1) 0 (S.L.AFR4_VS_Einstellung_2) 0 (S.L.AFR4_VS_Einstellung_3) 0 (S.L.AFR4_VS_Ticket_3) 0 (S.L.AFR4_VS_Ticket_4) {else} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_4} (L.L.AFR4_BT_Einstellung_4) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 15 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Ticket_Kategorie) 1 = {if} 9 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 5 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 17 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 21 (S.L.AFR4_Ticket) {endif} {endif} {endif} {endif} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_5} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Ticket_Kategorie) 2 = {if} 11 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 4 = {if} 17 (S.L.AFR4_Ticket) {else} (L.L.AFR4_Ticket_Kategorie) 5 = {if} 26 (S.L.AFR4_Ticket) {endif} {endif} {endif} (M.L.GetTicketDetails) (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) (M.L.AFR4_Display_Panel_history) 12 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 6 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_7} (L.L.AFR4_BT_Einstellung_7) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 28 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 23 = {if} (M.L.AFR4_Display_Panel_history) 8 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {end} {trigger:AFR4_BT_Einstellung_9} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 33 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {end} {trigger:AFR4_BT_Tastenpiep} 0 (S.L.AFR4_Tastenpiep) 0 (S.L.AFR4_VS_Tastenpiep) 1 (S.L.AFR4_VS_Tastenpiep_klick) {end} {trigger:AFR4_BT_Tastenpiep_klick} 1 (S.L.AFR4_Tastenpiep) 1 (S.L.AFR4_VS_Tastenpiep) 0 (S.L.AFR4_VS_Tastenpiep_klick) {end} {trigger:AFR4_BT_Einstellung_Razzia} 0 (S.L.AFR4_Razzia) 0 (S.L.AFR4_VS_Einstellung_Razzia) 1 (S.L.AFR4_VS_Einstellung_Razzia_klick) {end} {trigger:AFR4_BT_Einstellung_Razzia_klick} 1 (S.L.AFR4_Razzia) 1 (S.L.AFR4_VS_Einstellung_Razzia) 0 (S.L.AFR4_VS_Einstellung_Razzia_klick) {end} {trigger:AFR4_BT_Einstellung_11} (L.L.AFR4_BT_Einstellung_11) ! {if} (L.L.AFR4_Display_Panel) 24 = {if} (M.L.AFR4_Display_Panel_history) 7 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.AFR4_Display_Panel) 26 = {if} (L.L.elec_busbar_main) ! {if} 1 (S.L.AFR4_herunterfahren) 0 (S.L.AFR4_Nachlauf_Timer) (M.L.AFR4_Display_Panel_history) 22 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} {endif} {end} {trigger:AFR4_BT_Ticket} (L.L.AFR4_VS_Ticket) {if} -1 (S.L.GivenTicket) 0 (S.L.AFR4_VS_Ticket) 0 (S.L.AFR4_Ticket_pos) (T.L.ev_ticketsale_giveticket) {endif} {end} {macro:AFR4_init} ' Drucker noch aus 0 (S.L.AFR4_initiiert) 0 (S.L.AFR4_Display_Panel) 1 (S.L.AFR4_Karte_0) 1 (S.L.AFR4_spawned) -1 (S.L.AFR4_Ticket_Slot_0) -1 (S.L.AFR4_Ticket_Slot_1) -1 (S.L.AFR4_Ticket_Slot_2) -1 (S.L.AFR4_Ticket_Slot_3) 8 (S.L.AFR4_Fahrplanversion) 100 (S.L.AFR4_Display_Helligkeit) 30 60 random (L.S.Day) * (S.L.AFR4_Monat_verkaufte_Tickets) 3.4 * (S.L.AFR4_Monat_verkaufte_Tickets_Summe) 800 1860 random (S.L.AFR4_Vormonat_verkaufte_Tickets) 3.4 * (S.L.AFR4_Vormonat_verkaufte_Tickets_Summe) (L.L.kmcounter_m) (S.L.AFR4_mCounterLast) -1 (S.L.AFR4_BusstopIndex) ' Start ST 2 (S.L.AFR4_Display_ST_ID) (L.S.Year) 2001 >= {if} (L.S.Year) 2001 - {else} 4 random 2 + {endif} 365 * (L.S.DayOfYear) 7 - + (S.L.AFR4_Fahrplanversion_nummer) ' Datum wird bestimmt (L.S.Month) s0 1 = {if} "Jan. " (S.$.month) {endif} l0 2 = {if} "Feb. " (S.$.month) {endif} l0 3 = {if} "Mar. " (S.$.month) {endif} l0 4 = {if} "Apr. " (S.$.month) {endif} l0 5 = {if} "Mai. " (S.$.month) {endif} l0 6 = {if} "Jun. " (S.$.month) {endif} l0 7 = {if} "Jul. " (S.$.month) {endif} l0 8 = {if} "Aug. " (S.$.month) {endif} l0 9 = {if} "Sep. " (S.$.month) {endif} l0 10 = {if} "Okt. " (S.$.month) {endif} l0 11 = {if} "Nov. " (S.$.month) {endif} l0 12 = {if} "Dez. " (S.$.month) {endif} (L.S.Day) $IntToStr ". " $+ (L.$.month) $+ (L.S.Year) $IntToStr $+ (S.$.AFR4_Datum) 0 (S.L.AFR4_Route_Starthaltestelle) -1 (S.L.AFR4_Aktive_Haltestelle_Timer) "Buttons.tga" (S.$.AFR4_BT_texture) 0 (S.L.AFR4_Haltestelle_skip) (M.L.GetLineFinal) (M.L.GetLineFirst) (M.L.GetTerminusEndIndex) {end} {macro:AFR4_frame} (L.L.elec_busbar_main) {if} (L.L.elec_busbar_main_Laufzeit) (L.S.Timegap) + (S.L.elec_busbar_main_Laufzeit) {endif} ' GPS Berechnungen ' (M.L.AFR4_GPS_Get_Distance) ' (M.L.AFR4_GPS_get_Info) ' (M.L.AFR4_GPS_print_KmCounter) (L.L.AFR4_Karte_eingesteckt) (L.L.AFR4_Display_Panel) 29 = (L.L.AFR4_Display_Panel) 1 = || && {if} (L.S.Timegap) (L.L.AFR4_Karte_erkennungs_timer) + (S.L.AFR4_Karte_erkennungs_timer) (C.L.AFR4_fastCardRead) {if} 1 {else} 5 {endif} (L.L.AFR4_Karte_erkennungs_timer) <= {if} 0 (S.L.AFR4_Karte_erkennungs_timer) (L.L.AFR4_Fahrerwechsel) 2 = {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 2 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) ' Systemcard neu platzieren 0 (S.L.AFR4_Karte_0) 0 (S.L.AFR4_Karte_2) 1 (S.L.AFR4_Karte_1) 0 (S.L.AFR4_Karte_eingesteckt) {else} (M.L.AFR4_Display_Panel_history) 30 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {else} (L.L.AFR4_Karte_eingesteckt) ! (L.L.AFR4_Display_Panel) 29 = ! (L.L.AFR4_Display_Panel) 1 = ! && || (L.L.AFR4_Karte_erkennungs_timer) 0 > && {if} 0 (S.L.AFR4_Karte_erkennungs_timer) {endif} {endif} (L.L.AFR4_Display_Panel) 31 = (L.L.AFR4_Karte_eingesteckt) ! && {if} (L.L.AFR4_Schichtende) {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 1 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) 0 (S.L.AFR4_Schichtende) {else} (L.L.AFR4_Fahrerwechsel) 2 = {if} 29 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} (L.L.AFR4_Display_Panel) 30 = {if} (L.S.Timegap) (L.L.AFR4_Karte_lesen_timer) + (S.L.AFR4_Karte_lesen_timer) (C.L.AFR4_fastCardRead) {if} 1 {else} 7 {endif} (L.L.AFR4_Karte_lesen_timer) <= {if} 0 (S.L.AFR4_Karte_lesen_timer) (M.L.AFR4_Display_Panel_history) (L.L.AFR4_Fahrerwechsel) 1 = (L.L.AFR4_Schichtende) || {if} 32 (S.L.AFR4_Display_Panel) {else} (L.L.AFR4_Pausenende) {if} 0 (S.L.AFR4_Pausenende) 27 (S.L.AFR4_Display_Panel) {else} 2 (S.L.AFR4_Display_Panel) {endif} ' Systemcard neu platzieren 0 (S.L.AFR4_Karte_0) 0 (S.L.AFR4_Karte_2) 1 (S.L.AFR4_Karte_1) 0 (S.L.AFR4_Karte_eingesteckt) {endif} (M.L.AFR4_Display_change) {endif} {else} (L.L.AFR4_Karte_eingesteckt) ! (L.L.AFR4_Display_Panel) 30 = ! || (L.L.AFR4_Karte_lesen_timer) 0 > && {if} 0 (S.L.AFR4_Karte_lesen_timer) {endif} {endif} (L.L.AFR4_Display_Panel) 32 = {if} (L.S.Timegap) (L.L.AFR4_Schitendenbeleg_druck_timer) + (S.L.AFR4_Schitendenbeleg_druck_timer) 1 >= {if} 0 (S.L.AFR4_Schitendenbeleg_druck_timer) (L.L.AFR4_Fahrerwechsel) {if} 2 (S.L.AFR4_Fahrerwechsel) {endif} (M.L.AFR4_Display_Panel_history) 31 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} (L.L.AFR4_Display_Panel) 22 = {if} (L.S.Timegap) (L.L.AFR4_goodbye_timer) + (S.L.AFR4_goodbye_timer) 5 >= {if} 0 (S.L.AFR4_goodbye_timer) (M.L.AFR4_Display_Panel_history) (L.L.AFR4_herunterfahren) {if} 0 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_Panel_Destruktor) "Innenraum_schwarz.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) -1 (S.L.AFR4_Ticket_Slot_0) -1 (S.L.AFR4_Ticket_Slot_1) -1 (S.L.AFR4_Ticket_Slot_2) -1 (S.L.AFR4_Ticket_Slot_3) 0 (S.L.AFR4_Linie) 0 (S.L.AFR4_Linie_intern) 0 (S.L.AFR4_Route) 0 (S.L.AFR4_Route_intern) 0 (S.L.schedule_active_intern) 0 (S.L.AFR4_Route_Starthaltestelle) 0 (S.L.AFR4_Aktive_Haltestelle) 0 (S.L.AFR4_Selected_Haltestelle) 0 (S.L.IBIS_TerminusIndex) 0 (S.L.IBIS_Linie_Complex) 0 (S.L.IBIS_Linie_Suffix) 0 (S.L.AFR4_internal_terminus_index) 0 (S.L.AFR4_Fahrerwechsel) 0 (S.L.AFR4_Schichtende) 0 (S.L.AFR4_Pausenende) 0 (S.L.AFR4_Tastenpiep) 0 (S.L.AFR4_Razzia) 0 (S.L.AFR4_Ziel_veraendert) 100 (S.L.AFR4_Display_Helligkeit) 0 (S.L.AFR4_initiiert) {else} 1 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} {endif} (L.L.schedule_active) (L.L.schedule_tmp) = ! {if} (L.L.schedule_active) {if} 1 (S.L.schedule_tmp) (M.L.GetRouteCode) (L.L.Linie) (L.L.AFR4_Linie) = (L.L.Route) (L.L.AFR4_Route) = && (L.L.AFR4_Route_Starthaltestelle) 0 = && (L.L.AFR4_Aktive_Haltestelle) 0 = && {if} 1 (S.L.schedule_active_intern) {else} 0 (S.L.schedule_active_intern) {endif} {else} 0 (S.L.schedule_tmp) 0 (S.L.schedule_active_intern) 0 (S.L.Linie) 0 (S.L.Route) (L.L.AFR4_RBL_SaveMode) {if} 0 (S.L.AFR4_RBL_SaveMode) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 3 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} (L.L.AFR4_Umlauf_ende) {if} 0 (S.L.AFR4_Umlauf_ende) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 3 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} (M.L.AFR4_Display_aktualisieren) {endif} (L.L.AFR4_initiiert) {if} 1 (C.L.AFR4_Display_Uhrzeit_FPS) abs / (L.L.AFR4_Display_Uhrzeit_letzte_Aktualisierung) <= (L.L.AFR4_Display_aktualisiert) || {if} ' Switch: Schaltet Sichtbarkeit der Scripttexturen um ' Heißt: Die ST, die im letzten Frame gezeichnet wurde, wird nun sichtbar, ' die ST, die in diesem Frame gezeichnet wird, ist unsichtbar. (L.L.AFR4_Display_ST_ID) 2 = {if} 1 (S.L.AFR4_Display_Uhrzeit_ST_2) 0 (S.L.AFR4_Display_Uhrzeit_ST_1) 3 (S.L.AFR4_Display_ST_ID) {else} 1 (S.L.AFR4_Display_Uhrzeit_ST_1) 0 (S.L.AFR4_Display_Uhrzeit_ST_2) 2 (S.L.AFR4_Display_ST_ID) {endif} ' Uhrzeit im Display neu zeichnen (M.L.AFR4_Display_Uhrzeit_aktualisieren) 0 (S.L.AFR4_Display_Uhrzeit_letzte_Aktualisierung) {else} (L.L.AFR4_Display_Uhrzeit_letzte_Aktualisierung) (L.S.Timegap) + (S.L.AFR4_Display_Uhrzeit_letzte_Aktualisierung) {endif} ' Display neu zeichnen, wenn Display aktualisiert (L.L.AFR4_Display_aktualisiert) {if} (L.L.AFR4_Display_aktiv) 4 = {if} 1 (S.L.AFR4_Display_ST_0) 0 (S.L.AFR4_Display_ST_1) {else} 0 (S.L.AFR4_Display_ST_0) 1 (S.L.AFR4_Display_ST_1) {endif} 0 (S.L.AFR4_Display_aktualisiert) {endif} (L.L.AFR4_StatusIcons) (L.L.schedule_active_intern) && {if} (L.L.AFR4_WLAN) ! {if} 0 (S.L.AFR4_WLAN_klein) 1 (S.L.AFR4_WLAN_klein_off) 0 (S.L.AFR4_AFT) 1 (S.L.AFR4_AFT_off) 1 (S.L.AFR4_eTicket) 0 (S.L.AFR4_eTicket_off) 1 (S.L.AFR4_GPRS) 0 (S.L.AFR4_GPRS_off) (L.L.AFR4_Ziel_veraendert) (S.L.AFR4_Ziel_changed) (L.L.AFR4_RouteStarted) {if} 1 (S.L.AFR4_GPS) 0 (S.L.AFR4_GPS_off) {else} 0 (S.L.AFR4_GPS) 1 (S.L.AFR4_GPS_off) {endif} {endif} {else} (L.L.AFR4_StatusIcons) (L.L.schedule_active_intern) ! && {if} (L.L.AFR4_Display_Panel) 1 = {if} 0 (S.L.AFR4_WLAN) 1 (S.L.AFR4_WLAN_off) {else} 0 (S.L.AFR4_eTicket) 1 (S.L.AFR4_eTicket_off) 0 (S.L.AFR4_WLAN_klein) 1 (S.L.AFR4_WLAN_klein_off) 0 (S.L.AFR4_AFT) 1 (S.L.AFR4_AFT_off) 0 (S.L.AFR4_GPRS) 1 (S.L.AFR4_GPRS_off) 0 (S.L.AFR4_GPS) 1 (S.L.AFR4_GPS_off) (L.L.AFR4_Ziel_veraendert) (S.L.AFR4_Ziel_changed) {endif} {else} 0 (S.L.AFR4_WLAN) 0 (S.L.AFR4_WLAN_off) 0 (S.L.AFR4_WLAN_klein) 0 (S.L.AFR4_WLAN_klein_off) 0 (S.L.AFR4_AFT) 0 (S.L.AFR4_AFT_off) 0 (S.L.AFR4_eTicket) 0 (S.L.AFR4_eTicket_off) 0 (S.L.AFR4_GPRS) 0 (S.L.AFR4_GPRS_off) 0 (S.L.AFR4_GPS) 0 (S.L.AFR4_GPS_off) 0 (S.L.AFR4_Ziel_changed) {endif} {endif} ' Panel 4: Haltestlle manuell weiterschalten. (L.L.AFR4_Aktive_Haltestelle_Timer) -1 > {if} (L.L.AFR4_Aktive_Haltestelle_Timer) (L.S.Timegap) + (S.L.AFR4_Aktive_Haltestelle_Timer) (L.L.AFR4_Aktive_Haltestelle_Timer) 3 >= (L.L.AFR4_Display_Panel) 4 = ! || {if} -1 (S.L.AFR4_Aktive_Haltestelle_Timer) (L.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) 0 (S.L.AFR4_VS_Ansage_hoch) 0 (S.L.AFR4_VS_Ansage_runter) (L.L.AFR4_Aktive_Haltestelle) 0 > (L.L.AFR4_Display_Panel) 4 = && {if} 1 (S.L.AFR4_VS_Haltestelle_Liste) {endif} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (L.L.AFR4_Selected_Haltestelle) < {if} 1 (S.L.AFR4_VS_Haltestelle_hoch) {endif} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - 5 > (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Selected_Haltestelle) 4 + = ! && {if} 1 (S.L.AFR4_VS_Haltestelle_runter) {endif} {endif} {endif} {endif} ' Automatische Haltestellenweiterschaltung: (L.L.schedule_active_intern) {if} (M.V.GetTTBusstopIndex) (L.L.AFR4_BusstopIndex) = ! {if} ' (M.V.GetTTBusstopIndex) 1 > ' {if} (L.L.AFR4_Haltestelle_skip) 1 + (S.L.AFR4_Haltestelle_skip) (L.L.AFR4_Display_Panel) 11 = (L.L.AFR4_Haltestelle_skip) 1 > && (L.L.AFR4_Haltestelle_skip_temp) (L.L.AFR4_Haltestelle_skip) = ! && {if} (L.L.AFR4_Haltestelle_skip) (S.L.AFR4_Haltestelle_skip_temp) 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {endif} ' {endif} (M.V.GetTTBusstopIndex) (L.L.AFR4_BusstopStartDiv) - (S.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Aktive_Haltestelle) 1 > {if} (M.L.AFR4_PlayAnnouncement) (T.F.ev_IBIS_Ansagen) {endif} (M.V.GetTTBusstopIndex) 0 > {if} 1 (S.L.Innenanzeige_update) {endif} 1 (S.L.AFR4_Haltestelle_weiterschalten) (L.L.AFR4_Aktive_Haltestelle) (M.V.GetTTBusstopCount) 2 - = {if} 1 (S.L.AFR4_Umlauf_ende) (S.L.Debug_0) (M.V.GetTTBusstopCount) 1 - (M.V.GetTTBusstopName) (S.$.AFR4_RecentTerminusEndString) 0 (S.L.AFR4_Haltestelle_skip) {endif} (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_Selected_Haltestelle) = {if} (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) {endif} (M.V.GetTTBusstopIndex) (S.L.AFR4_BusstopIndex) {endif} {else} (L.L.schedule_active_intern) {if} (M.V.GetTTBusstopIndex) (S.L.AFR4_BusstopIndex) {endif} {endif} (L.L.AFR4_Haltestelle_weiterschalten) (L.L.bremse_halte_sw) && {if} 0 (S.L.AFR4_Haltestelle_weiterschalten) (T.L.ev_Entwerter_weiter) {endif} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.Velocity) 0.1 > {if} (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 11 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} (L.L.AFR4_Display_Panel) 11 = {if} (L.L.Velocity) 0.1 < (L.L.door_0) 0.9 > (L.L.door_1) 0.9 > || (L.L.door_2) 0.9 > || (L.L.door_5) 0.9 > || {if} 0 (S.L.AFR4_Haltestelle_skip) 0 (S.L.AFR4_Haltestelle_skip_temp) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) 4 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} (L.L.AFR4_Umlauf_ende) {if} (L.L.schedule_active_intern) {if} (M.V.GetTTBusstopCount) 1 - (M.V.GetTTBusstopName) (L.$.AFR4_RecentTerminusEndString) $= ! {if} (M.L.GetRouteCode) (L.L.Linie) (S.L.AFR4_Linie) (L.L.Route) -1 = {if} 1 (S.L.AFR4_RBL_SaveMode) 0 {else} 0 (S.L.AFR4_RBL_SaveMode) (L.L.Route) {endif} (S.L.AFR4_Route) (M.V.GetTTBusstopCount) 1 - (M.V.GetTTBusstopName) (S.$.AFR4_RecentTerminusEndString) 0 (S.L.AFR4_LastBusstop) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetHofError) (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route) + (S.L.IBIS_Linie_Complex) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTTerminusIndex) {else} (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetRouteTerminusIndex) {endif} (S.L.IBIS_TerminusIndex) 1 (S.L.AFR4_RouteStarted) 0 (S.L.AFR4_Route_Starthaltestelle) (L.L.AFR4_Route_Starthaltestelle) (S.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) 1 (S.L.Innenanzeige_update) (L.L.AFR4_Display_Panel) 4 = {if} 1 (S.L.AFR4_Display_internal_refresh) (M.L.AFR4_Display_change) {else} (M.L.AFR4_Display_aktualisieren) {endif} 0 (S.L.AFR4_Umlauf_ende) {endif} {endif} {endif} {else} ' Initiiert Display, wenn initiierungszeit abgelaufen ist. (C.L.AFR4_fastBoot) {if} (L.L.elec_busbar_main) {if} 1 (S.L.AFR4_initiiert) 1 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 68 >= && {if} 1 (S.L.AFR4_initiiert) 1 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 65 >= && {if} "AFR4\Start.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 60 >= && {if} "AFR4\Init_10.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 50 >= && {if} "AFR4\Init_9.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 48.5 >= && {if} "AFR4\Init_8.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 48 >= && {if} "AFR4\Init_4.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 36 >= && {if} "AFR4\Init_7.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 30 >= && {if} "AFR4\Init_6.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 16 >= && {if} "AFR4\Init_5.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 14.5 >= && {if} "AFR4\Init_4.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 13 >= && {if} "AFR4\Init_3.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 12.5 >= && {if} "AFR4\Init_2.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 12 >= && {if} "AFR4\Init_1.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {else} (L.L.elec_busbar_main) (L.L.elec_busbar_main_Laufzeit) 9 >= && {if} "AFR4\Init_0.bmp" (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} ' Der Nachlauf (L.L.elec_busbar_main) ! (L.L.AFR4_initiiert) && {if} (L.L.AFR4_Display_Panel) 26 = (L.L.AFR4_VS_Einstellung_11) ! && {if} 1 (S.L.AFR4_Display_internal_refresh) 1 (S.L.AFR4_VS_Einstellung_11) 26 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} (L.L.AFR4_Nachlauf_Timer) (L.S.Timegap) + (S.L.AFR4_Nachlauf_Timer) 90 >= {if} 1 (S.L.AFR4_herunterfahren) 0 (S.L.AFR4_Nachlauf_Timer) (M.L.AFR4_Display_Panel_history) 22 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {else} (L.L.AFR4_Display_Panel) 26 = (L.L.AFR4_VS_Einstellung_11) && {if} 1 (S.L.AFR4_Display_internal_refresh) 0 (S.L.AFR4_VS_Einstellung_11) 0 (S.L.AFR4_Nachlauf_Timer) 26 (S.L.AFR4_Display_Panel) (M.L.AFR4_Display_change) {endif} {endif} ' Hier wird überprüft, ob das Ticket von der KI angenommen wurde: (L.L.AFR4_Ticket_pos) 1 = (L.L.AFR4_Ticket_druckt) ! && (L.L.GivenTicket) 0 < && {if} 0 (S.L.AFR4_VS_Ticket) 0 (S.L.AFR4_Ticket_pos) (T.L.ev_ticketsale_giveticket) {else} (L.L.AFR4_Ticket_druckt) {if} (L.S.Timegap) (L.L.AFR4_Ticket_pos) + 1 min (S.L.AFR4_Ticket_pos) (L.L.AFR4_Ticket_pos) 1 = {if} 0 (S.L.AFR4_Ticket_druckt) (L.L.AFR4_Ticket_Index) (S.L.GivenTicket) {endif} {endif} {endif} {end} {macro:AFR4_Display_Uhrzeit_aktualisieren} ' Scripttextur initiieren (M.L.AFR4_Display_ST_Clear) (M.L.AFR4_Display_ST_Init) ' Systeme, die unabhängig vom Panel berechnet werden müssen: ' Datum / Uhrzeit (L.L.AFR4_Datum) {if} 128 s0 32 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Datum) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} ' Datum / Uhrzeit (L.L.AFR4_Uhrzeit) {if} 126 s0 1 s1 "AFR4_24Px_Bold" (S.$.AFR4_Display_Font) (L.S.Time) s3 1 s4 (M.L.GetTime) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} ' Timer für Verspätung (gelb) oder zu früh sein (rot). (!!!DAS WORT VERFRÜHUNG GIBT ES NICHT!!!) (L.L.AFR4_Display_Panel) 4 = (L.L.AFR4_Display_Panel) 11 = || {if} 123 s0 40 s1 "AFR4_26Px_Bold" (S.$.AFR4_Display_Font) (L.L.schedule_active_intern) {if} (M.V.GetTTDelay) 0 > {if} (L.$.AFR4_ST_texture) 4 $cutEnd "_U_S.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) {else} (L.$.AFR4_ST_texture) 4 $cutEnd "_U_F.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) {endif} (M.V.GetTTDelay) -3600 > (M.V.GetTTDelay) 3600 < && {if} (M.V.GetTTDelay) 0 < {if} (M.V.GetTTDelay) -1 * s3 {else} (M.V.GetTTDelay) s3 {endif} (M.V.GetTTDelay) 0 > {if} "-" 2 s4 (M.L.GetTime) $+ {else} 2 s4 (M.L.GetTime) {endif} {else} "*****" {endif} {else} (L.$.AFR4_ST_texture) 4 $cutEnd "_U_F.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) "*****" {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} ' Scripttextur zeichnen (L.L.AFR4_Display_ST_ID) (M.V.STUnlock) (L.L.AFR4_Display_ST_ID) (M.V.STFilter) {end} {macro:AFR4_Display_change} ' Hier wird die Hintergrundtextur geändert. (L.L.AFR4_Display_Panel) 7 = ! {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ ' (L.L.AFR4_Fahrerwechsel) ' (L.L.AFR4_Display_Panel) 2 = && ' {if} ' "_w" $+ ' {endif} (L.L.AFR4_Display_Panel) 3 = (L.L.AFR4_Display_Panel_recent_0) 2 = && {if} "_w" $+ {endif} (L.L.AFR4_Display_Panel) 4 = {if} (L.L.schedule_active_intern) {if} (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) (L.L.AFR4_Selected_Haltestelle) 4 + = {if} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_5" $+ {else} (M.V.GetTTBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - s0 6 < {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_" $+ l0 $IntToStr $+ {else} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_6" $+ {endif} {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Selected_Haltestelle) 4 + = {if} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_5" $+ {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - s0 6 < {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_" $+ l0 $IntToStr $+ {else} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_6" $+ {endif} {endif} {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Selected_Haltestelle) 4 + = {if} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_5" $+ {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) - s0 6 < {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "4_" $+ l0 $IntToStr $+ {else} 5 s0 "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_6" $+ {endif} {endif} {endif} l0 4 > {if} 1 (S.L.AFR4_VS_Selected_Haltestelle_3) {else} 0 (S.L.AFR4_VS_Selected_Haltestelle_3) {endif} l0 3 > {if} 1 (S.L.AFR4_VS_Selected_Haltestelle_2) {else} 0 (S.L.AFR4_VS_Selected_Haltestelle_2) {endif} l0 2 > {if} 1 (S.L.AFR4_VS_Selected_Haltestelle_1) {else} 0 (S.L.AFR4_VS_Selected_Haltestelle_1) {endif} l0 1 > {if} 1 (S.L.AFR4_VS_Selected_Haltestelle_0) {else} 0 (S.L.AFR4_VS_Selected_Haltestelle_0) {endif} {endif} (L.L.AFR4_Display_Panel) 12 = (L.L.AFR4_Display_Panel) 13 = || {if} (L.L.AFR4_Ticket_Preis_Ermaessigt) -1 = {if} "_r" $+ {endif} (L.L.AFR4_Ticket_Slot_1) -1 = ! (L.L.AFR4_Display_Panel) 12 = && {if} "_S" $+ {endif} {endif} (L.L.AFR4_Display_Panel) 26 = (L.L.elec_busbar_main) ! && {if} "_e" $+ {endif} (L.L.AFR4_Display_Panel) 33 = {if} (L.L.AFR4_Fahrplanversion_intern) 0 = ! {if} "_S" (L.L.AFR4_Fahrplanversion_intern) $IntToStr $+ $+ {else} "_S" (L.L.AFR4_Fahrplanversion) $IntToStr $+ $+ {endif} {endif} (L.L.AFR4_Aktive_Haltestelle_Timer) -1 = ! (L.L.AFR4_Display_Panel) 4 = && {if} (S.$.AFR4_Display_texture) (L.L.AFR4_Ticket_Kategorie) 0 = (L.L.AFR4_Display_Panel) 4 = ! || {if} (L.L.AFR4_BT_LM) {if} "_LM.bmp" $+ {else} ".bmp" $+ {endif} (S.$.AFR4_Display_3_texture) {endif} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_A" $+ (S.$.AFR4_Display_2_texture) {else} (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (L.L.AFR4_Ticket_Kategorie) 0 = (L.L.AFR4_Display_Panel) 4 = ! || {if} (L.L.AFR4_BT_LM) {if} "_LM.bmp" $+ {else} ".bmp" $+ {endif} (S.$.AFR4_Display_3_texture) {endif} {endif} (L.L.AFR4_BT_LM) {if} (L.$.AFR4_Display_texture) "_LM.bmp" $+ (S.$.AFR4_Display_texture) (L.$.AFR4_Display_2_texture) "_LM.bmp" $+ (S.$.AFR4_Display_2_texture) {else} (L.$.AFR4_Display_texture) ".bmp" $+ (S.$.AFR4_Display_texture) (L.$.AFR4_Display_2_texture) ".bmp" $+ (S.$.AFR4_Display_2_texture) {endif} {endif} (L.L.AFR4_Display_internal_refresh) ! {if} (M.L.AFR4_Display_Panel_Destruktor) (M.L.AFR4_Display_Panel_Konstruktor) {else} 0 (S.L.AFR4_Display_internal_refresh) {endif} (M.L.AFR4_Display_aktualisieren) {end} ' Konstruktoren der jeweiligen Panels. {macro:AFR4_Display_Panel_Konstruktor} (L.L.AFR4_Display_Panel) 1 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Display_Panel_main) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_VS_Start) 1 (S.L.AFR4_VS_Tag_Nacht_Modus) 1 (S.L.AFR4_StatusIcons) {endif} (L.L.AFR4_Display_Panel) 2 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_4" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_VS_STOP) ' (L.L.AFR4_Fahrerwechsel) ' {if} ' 0 (S.L.AFR4_VS_Zurueck) ' {else} ' 1 (S.L.AFR4_VS_Zurueck) ' {endif} 1 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_BT_Select_2_TEXT) (C.L.AFR4_Verkaeufer) $IntToStr (S.$.AFR4_Display_Input_2) 1 (S.L.AFR4_BT_Select_3) 1 (S.L.AFR4_BT_Select_3_TEXT) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) {endif} (L.L.AFR4_Display_Panel) 3 = {if} (L.L.AFR4_Display_Panel_recent) 2 = "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_4" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Datum) 0 (S.L.AFR4_Uhrzeit) (L.L.AFR4_Display_Panel_recent_0) 2 = {if} 9 (S.L.AFR4_Display_Panel_main) {endif} 1 (S.L.AFR4_VS_STOP) (L.L.AFR4_Display_Panel_recent) 2 = {if} 0 (S.L.AFR4_VS_Zurueck) {else} 1 (S.L.AFR4_VS_Zurueck) {endif} "0" (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) "" (S.$.AFR4_Display_Input_3) 1 (S.L.AFR4_BT_Select_2) 1 (S.L.AFR4_BT_Select_2_TEXT) 1 (S.L.AFR4_VS_Select_3) 0 (S.L.AFR4_BT_Select_3_TEXT) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) 1 (S.L.AFR4_VS_Uebernehmen) (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetLineFinal) = ! {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_2) $StrToFloat 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} (L.L.AFR4_Display_Panel) 4 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_5" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_Uhrzeit) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - 5 > (M.V.GetTTBusstopCount) (L.L.AFR4_Selected_Haltestelle) 4 + = ! && {if} 1 (S.L.AFR4_VS_Haltestelle_runter) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - 5 > (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Selected_Haltestelle) 4 + = ! && {if} 1 (S.L.AFR4_VS_Haltestelle_runter) {endif} {endif} 4 (S.L.AFR4_Display_Panel_main) -1 (S.L.AFR4_Aktive_Haltestelle_Timer) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 1 (S.L.AFR4_VS_Einstellung_3) 1 (S.L.AFR4_VS_Ticket_0) 1 (S.L.AFR4_VS_Ticket_1) 1 (S.L.AFR4_VS_Ticket_2) 1 (S.L.AFR4_VS_Ticket_3) 1 (S.L.AFR4_VS_Ticket_4) 1 (S.L.AFR4_VS_Service) 1 (S.L.AFR4_VS_Pop_Up) 1 (S.L.AFR4_VS_Aktive_Haltestelle) 1 (S.L.AFR4_StatusIcons) 1 (S.L.AFR4_VS_Ziel) (L.L.AFR4_Aktive_Haltestelle) 0 > (L.L.AFR4_Display_Panel) 4 = && {if} 1 (S.L.AFR4_VS_Haltestelle_Liste) {endif} {endif} (L.L.AFR4_Display_Panel) 5 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_Uhrzeit) 5 (S.L.AFR4_Display_Panel_main) 1 (S.L.AFR4_VS_Service) 1 (S.L.AFR4_VS_Erreicht) 1 (S.L.AFR4_StatusIcons) (T.L.ev_Entwerter) {endif} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_Display_Panel_recent) 2 = "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_3" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) (L.L.Route) 0 = ! {if} (L.L.Route) (S.L.AFR4_Route_intern) {endif} (L.L.Linie) 0 = ! {if} (L.L.Linie) (S.L.AFR4_Linie_intern) {endif} 0 (S.L.AFR4_Datum) 0 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Input_1) (L.L.AFR4_Linie_intern) 100 * (M.L.GetRouteNext) (S.L.AFR4_Route_intern) $IntToStr (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) 1 (S.L.AFR4_BT_Select_2) 1 (S.L.AFR4_BT_Select_2_TEXT) (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route_intern) + (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) $IntToStr (S.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Input_3_intern) 1 (S.L.AFR4_VS_Select_3) 0 (S.L.AFR4_BT_Select_3_TEXT) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) 1 (S.L.AFR4_VS_OK_klein) (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) (L.$.AFR4_Display_Input_2) $StrToFloat = ! {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.L.AFR4_Linie_intern) (M.L.GetRouteFirst) (L.$.AFR4_Display_Input_2) $StrToFloat = ! (L.$.AFR4_Display_Input_2) $StrToFloat 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} (L.L.AFR4_Display_Panel) 7 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) (L.L.Route) 0 > {if} (L.L.Route) (S.L.AFR4_Route_intern) {endif} (L.L.Linie) 0 > {if} (L.L.Linie) (S.L.AFR4_Linie_intern) {endif} 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Uebernehmen) (M.L.GetUmlauf) (L.L.AFR4_Display_Umlauf_Reiter) 1 = {if} 1 (S.L.AFR4_VS_Umlauf_0) {else} (L.L.AFR4_Display_Umlauf_Reiter) 2 = {if} 1 (S.L.AFR4_VS_Umlauf_0) 1 (S.L.AFR4_VS_Umlauf_1) {else} (L.L.AFR4_Display_Umlauf_Reiter) 3 = {if} 1 (S.L.AFR4_VS_Umlauf_0) 1 (S.L.AFR4_VS_Umlauf_1) 1 (S.L.AFR4_VS_Umlauf_2) {else} (L.L.AFR4_Display_Umlauf_Reiter) 4 = {if} 1 (S.L.AFR4_VS_Umlauf_0) 1 (S.L.AFR4_VS_Umlauf_1) 1 (S.L.AFR4_VS_Umlauf_2) 1 (S.L.AFR4_VS_Umlauf_3) {endif} {endif} {endif} {endif} (L.L.AFR4_Linie_intern) (M.L.GetRouteFirst) (L.L.GetRouteFirst) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) {else} 1 (S.L.AFR4_VS_Umlauf_Bild_hoch) 1 (S.L.AFR4_VS_Umlauf_hoch) {endif} 1 (S.L.AFR4_VS_Umlauf_Bild_runter) 1 (S.L.AFR4_VS_Umlauf_runter) (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) (L.L.GetRouteFinal) (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {endif} (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) (L.L.GetRouteFinal) (L.$.AFR4_Display_Umlauf_1_Route) $StrToFloat = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {endif} (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) (L.L.GetRouteFinal) (L.$.AFR4_Display_Umlauf_2_Route) $StrToFloat = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {endif} (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) (L.L.GetRouteFinal) (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat = {if} 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) {endif} {endif} (L.L.AFR4_Display_Panel) 8 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_OK_klein) {endif} (L.L.AFR4_Display_Panel) 9 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_4" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) 1 (S.L.AFR4_BT_Select_2_TEXT) {endif} (L.L.AFR4_Display_Panel) 11 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_Service) 1 (S.L.AFR4_StatusIcons) {endif} (L.L.AFR4_Display_Panel) 12 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_1" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Regeltarif_plus) 1 (S.L.AFR4_VS_Regeltarif_minus) (L.L.AFR4_Ticket_Preis_Ermaessigt) -1 = ! {if} 1 (S.L.AFR4_VS_Ermaessigt_plus) 1 (S.L.AFR4_VS_Ermaessigt_minus) {endif} (L.L.AFR4_Ticket_Slot_1) -1 = ! (L.L.AFR4_Ticket_Slot_2) -1 = ! || (L.L.AFR4_Ticket_Slot_3) -1 = ! || (L.L.AFR4_VS_Ticket_Warenkorb_0_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_1_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_2_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_3_select) 0 = && {if} (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) {else} (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) {else} (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) {else} (L.L.AFR4_Ticket_Slot_0) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_0) 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) 1 (S.L.AFR4_VS_Ticket_loeschen) 1 (S.L.AFR4_VS_Uebernehmen) {else} 1 (S.L.AFR4_VS_OK_klein) {endif} (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {endif} (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {else} 1 (S.L.AFR4_VS_Ticket_zusaetzlich) {endif} {endif} (L.L.AFR4_Display_Panel) 13 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_1" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) {if} (M.L.AFR4_Ticket_Warenkorb_hinzufuegen) 0 (S.L.AFR4_Ticket_Warenkorb_hinzufuegen) {endif} (L.L.AFR4_Ticket_Slot_1) -1 = ! (L.L.AFR4_Ticket_Slot_2) -1 = ! || (L.L.AFR4_Ticket_Slot_3) -1 = ! || (L.L.AFR4_VS_Ticket_Warenkorb_0_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_1_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_2_select) 0 = && (L.L.AFR4_VS_Ticket_Warenkorb_3_select) 0 = && {if} (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) {else} (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) {else} (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) {else} (L.L.AFR4_Ticket_Slot_0) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) {endif} {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Slot_0) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_0) 1 (S.L.AFR4_VS_Ticket_loeschen) {endif} (L.L.AFR4_Ticket_Slot_1) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_1) {endif} (L.L.AFR4_Ticket_Slot_2) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_2) {endif} (L.L.AFR4_Ticket_Slot_3) -1 = ! {if} 1 (S.L.AFR4_VS_Ticket_Warenkorb_3) {else} 1 (S.L.AFR4_VS_Ticket_zusaetzlich) {endif} 1 (S.L.AFR4_VS_OK_klein) 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif) {endif} (L.L.AFR4_Display_Panel) 15 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Pause) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_Weiter) {endif} (L.L.AFR4_Display_Panel) 18 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Erreicht) {endif} (L.L.AFR4_Display_Panel) 21 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_2" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Erreicht) {endif} (L.L.AFR4_Display_Panel) 22 = {if} 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) {endif} (L.L.AFR4_Display_Panel) 23 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_1" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Verkauf) 1 (S.L.AFR4_BT_Verkauf) 1 (S.L.AFR4_VS_Schicht) 1 (S.L.AFR4_VS_Bedienung) 1 (S.L.AFR4_VS_Einstellungen) 1 (S.L.AFR4_VS_Einstellung_7) 1 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel) 24 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_1" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Verkauf) 1 (S.L.AFR4_VS_Schicht) 1 (S.L.AFR4_BT_Schicht) 1 (S.L.AFR4_VS_Bedienung) 1 (S.L.AFR4_VS_Einstellungen) 1 (S.L.AFR4_VS_Einstellung_1) 1 (S.L.AFR4_VS_Einstellung_2) 1 (S.L.AFR4_VS_Einstellung_3) 1 (S.L.AFR4_VS_Einstellung_4) 1 (S.L.AFR4_VS_Einstellung_5) 1 (S.L.AFR4_VS_Einstellung_7) 1 (S.L.AFR4_VS_Einstellung_9) 1 (S.L.AFR4_VS_Einstellung_11) 1 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel) 25 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_1" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Verkauf) 1 (S.L.AFR4_VS_Schicht) 1 (S.L.AFR4_VS_Bedienung) 1 (S.L.AFR4_BT_Bedienung) 1 (S.L.AFR4_VS_Einstellungen) 1 (S.L.AFR4_VS_Einstellung_0) (L.L.AFR4_Razzia) {if} 1 (S.L.AFR4_VS_Einstellung_Razzia) {else} 1 (S.L.AFR4_VS_Einstellung_Razzia_klick) {endif} 1 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel) 26 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_3" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Verkauf) 1 (S.L.AFR4_VS_Schicht) 1 (S.L.AFR4_VS_Bedienung) 1 (S.L.AFR4_VS_Einstellungen) 1 (S.L.AFR4_BT_Einstellungen) (L.L.AFR4_Tastenpiep) {if} 1 (S.L.AFR4_VS_Tastenpiep) {else} 1 (S.L.AFR4_VS_Tastenpiep_klick) {endif} (L.L.elec_busbar_main) ! {if} (L.L.AFR4_VS_Einstellung_11) ! {if} 1 (S.L.AFR4_VS_Einstellung_11) {endif} {else} (L.L.AFR4_VS_Einstellung_11) {if} 0 (S.L.AFR4_VS_Einstellung_11) {endif} {endif} 1 (S.L.AFR4_VS_Helligkeit_Display_runter) 1 (S.L.AFR4_VS_Helligkeit_Display_hoch) 1 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel) 27 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_4" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) 1 (S.L.AFR4_BT_Select_2_TEXT) {endif} (L.L.AFR4_Display_Panel) 28 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_6" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) (L.L.AFR4_Ziel_veraendert) {if} (L.L.AFR4_Linie) $IntToStr {else} "" {endif} (S.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Input_1_intern) "" $= {if} "0" (S.$.AFR4_Display_Input_1_intern) {endif} 1 (S.L.AFR4_BT_Select_1) (L.L.AFR4_Ziel_veraendert) {if} 1 (S.L.AFR4_VS_OK_klein) (L.L.AFR4_internal_terminus_index) (M.V.GetTerminusCode) $IntToStr {else} 0 (S.L.AFR4_VS_OK_klein) "" {endif} (S.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Input_2_intern) "" $= {if} "0" (S.$.AFR4_Display_Input_2_intern) {endif} 1 (S.L.AFR4_VS_Select_2) (L.L.AFR4_Ziel_veraendert) {if} (L.L.IBIS_Linie_Suffix) $IntToStr {else} "" {endif} (S.$.AFR4_Display_Input_4) 1 (S.L.AFR4_VS_Select_4) 1 (S.L.AFR4_VS_0) 1 (S.L.AFR4_VS_1) 1 (S.L.AFR4_VS_2) 1 (S.L.AFR4_VS_3) 1 (S.L.AFR4_VS_4) 1 (S.L.AFR4_VS_5) 1 (S.L.AFR4_VS_6) 1 (S.L.AFR4_VS_7) 1 (S.L.AFR4_VS_8) 1 (S.L.AFR4_VS_9) 1 (S.L.AFR4_VS_Loeschen) 1 (S.L.AFR4_VS_Bestaetigen) 1 (S.L.AFR4_BT_Select_1_TEXT) 1 (S.L.AFR4_VS_Ziel_zuruecksetzen) (L.$.AFR4_Display_Input_1_intern) $StrToFloat (L.L.GetLineFinal) = ! {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} (L.$.AFR4_Display_Input_1_intern) $StrToFloat (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_1_intern) $StrToFloat 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {endif} (L.L.AFR4_Display_Panel) 33 = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ "ST_5" $+ (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) 1 (S.L.AFR4_Uhrzeit) 1 (S.L.AFR4_Datum) 1 (S.L.AFR4_VS_STOP) 1 (S.L.AFR4_VS_Zurueck) 1 (S.L.AFR4_VS_Uebernehmen) (L.L.AFR4_Fahrplanversion) (S.L.AFR4_Fahrplanversion_intern) (L.L.AFR4_Fahrplanversion) 1 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_1) {else} 0 (S.L.AFR4_VS_Fahrplanversion_1) {endif} (L.L.AFR4_Fahrplanversion) 2 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_2) {else} 0 (S.L.AFR4_VS_Fahrplanversion_2) {endif} (L.L.AFR4_Fahrplanversion) 3 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_3) {else} 0 (S.L.AFR4_VS_Fahrplanversion_3) {endif} (L.L.AFR4_Fahrplanversion) 4 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_4) {else} 0 (S.L.AFR4_VS_Fahrplanversion_4) {endif} (L.L.AFR4_Fahrplanversion) 5 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_5) {else} 0 (S.L.AFR4_VS_Fahrplanversion_5) {endif} (L.L.AFR4_Fahrplanversion) 6 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_6) {else} 0 (S.L.AFR4_VS_Fahrplanversion_6) {endif} (L.L.AFR4_Fahrplanversion) 7 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_7) {else} 0 (S.L.AFR4_VS_Fahrplanversion_7) {endif} (L.L.AFR4_Fahrplanversion) 8 = ! {if} 1 (S.L.AFR4_VS_Fahrplanversion_8) {else} 0 (S.L.AFR4_VS_Fahrplanversion_8) {endif} {endif} {end} ' Destruktoren der jeweiligen Panels. Somit können Panels, die an einer anderen Reihenfolge geschrieben worden, später ohne weiteres aufgerufen werden. {macro:AFR4_Display_Panel_Destruktor} (L.L.AFR4_Display_Panel_recent) 1 = {if} 0 (S.L.AFR4_VS_Start) 0 (S.L.AFR4_Datum) 0 (S.L.AFR4_Uhrzeit) 0 (S.L.AFR4_StatusIcons) 0 (S.L.AFR4_VS_Tag_Nacht_Modus) {endif} (L.L.AFR4_Display_Panel_recent) 2 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_VS_Select_3) 0 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Input_3) "" (S.$.AFR4_Display_Warnung) {endif} (L.L.AFR4_Display_Panel_recent) 3 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Input_3) "" (S.$.AFR4_Display_Warnung) 0 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_VS_Select_3) 0 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) 0 (S.L.AFR4_VS_Uebernehmen) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Display_Panel_recent) 4 = {if} 0 (S.L.AFR4_VS_Haltestelle_runter) 0 (S.L.AFR4_VS_Haltestelle_hoch) (L.L.AFR4_Aktive_Haltestelle) 1 + (S.L.AFR4_Selected_Haltestelle) 0 (S.L.AFR4_VS_Aktive_Haltestelle) 0 (S.L.AFR4_VS_Selected_Haltestelle_0) 0 (S.L.AFR4_VS_Selected_Haltestelle_1) 0 (S.L.AFR4_VS_Selected_Haltestelle_2) 0 (S.L.AFR4_VS_Selected_Haltestelle_3) 0 (S.L.AFR4_VS_Reiter_zurueck) 0 (S.L.AFR4_VS_Einstellung_1) 0 (S.L.AFR4_VS_Einstellung_2) 0 (S.L.AFR4_VS_Einstellung_3) 0 (S.L.AFR4_VS_Einstellung_4) 0 (S.L.AFR4_VS_Einstellung_5) 0 (S.L.AFR4_VS_Ticket_0) 0 (S.L.AFR4_VS_Ticket_1) 0 (S.L.AFR4_VS_Ticket_2) 0 (S.L.AFR4_VS_Ticket_3) 0 (S.L.AFR4_VS_Ticket_4) 0 (S.L.AFR4_VS_Service) 0 (S.L.AFR4_VS_Pop_Up) 0 (S.L.AFR4_StatusIcons) 0 (S.L.AFR4_VS_Haltestelle_Liste) 0 (S.L.AFR4_VS_Display_P) 0 (S.L.AFR4_VS_Nacht_Modus) 0 (S.L.AFR4_VS_Schichtende) 0 (S.L.AFR4_VS_Fahrerwechsel) 0 (S.L.AFR4_VS_Nachricht_senden) 0 (S.L.AFR4_VS_Nachrichten_lesen) 0 (S.L.AFR4_VS_Fahrtauswahl) 0 (S.L.AFR4_VS_Routenauswahl) 0 (S.L.AFR4_VS_Direktruf) 0 (S.L.AFR4_VS_Drucker) 0 (S.L.AFR4_VS_L_K) 0 (S.L.AFR4_VS_Nachlauf_beenden) 0 (S.L.AFR4_VS_Ziel_Nr) 0 (S.L.AFR4_VS_Fahrplanversion) 0 (S.L.AFR4_VS_Pause) 0 (S.L.AFR4_VS_Razzia) 0 (S.L.AFR4_VS_Razzia_klick) 0 (S.L.AFR4_Ticket_Kategorie) 0 (S.L.AFR4_VS_Ziel) {endif} (L.L.AFR4_Display_Panel_recent) 5 = {if} 0 (S.L.AFR4_VS_Erreicht) 0 (S.L.AFR4_VS_Service) 0 (S.L.AFR4_StatusIcons) {endif} (L.L.AFR4_Display_Panel_recent) 6 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_OK_klein) "" (S.$.AFR4_Display_Input_1) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Input_3) "" (S.$.AFR4_Display_Warnung) 0 (S.L.AFR4_BT_Select_1) 0 (S.L.AFR4_VS_Select_1) 0 (S.L.AFR4_BT_Select_1_TEXT) 0 (S.L.AFR4_BT_Select_1_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_VS_Select_3) 0 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Display_Panel_recent) 7 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Umlauf_Bild_hoch) 0 (S.L.AFR4_VS_Umlauf_hoch) 0 (S.L.AFR4_VS_Umlauf_Bild_runter) 0 (S.L.AFR4_VS_Umlauf_runter) 0 (S.L.AFR4_VS_Uebernehmen) 0 (S.L.AFR4_VS_Umlauf_0) 0 (S.L.AFR4_VS_Umlauf_1) 0 (S.L.AFR4_VS_Umlauf_2) 0 (S.L.AFR4_VS_Umlauf_3) "" (S.$.AFR4_Display_Umlauf_0_Route) "" (S.$.AFR4_Display_Umlauf_1_Route) "" (S.$.AFR4_Display_Umlauf_2_Route) "" (S.$.AFR4_Display_Umlauf_3_Route) {endif} (L.L.AFR4_Display_Panel_recent) 8 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_OK_klein) {endif} (L.L.AFR4_Display_Panel_recent) 9 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) 0 (S.L.AFR4_BT_Select_2_TEXT) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Warnung) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) {endif} (L.L.AFR4_Display_Panel_recent) 11 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Service) 0 (S.L.AFR4_StatusIcons) {endif} (L.L.AFR4_Display_Panel_recent) 12 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Regeltarif_plus) 0 (S.L.AFR4_VS_Regeltarif_minus) 0 (S.L.AFR4_VS_Ermaessigt_plus) 0 (S.L.AFR4_VS_Ermaessigt_minus) 0 (S.L.AFR4_VS_Ticket_Warenkorb_0) 0 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_1) 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_2) 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_3) 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 0 (S.L.AFR4_VS_Ticket_zusaetzlich) 0 (S.L.AFR4_VS_Ticket_loeschen) 0 (S.L.AFR4_VS_OK_klein) 0 (S.L.AFR4_VS_Uebernehmen) 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif) {endif} (L.L.AFR4_Display_Panel_recent) 13 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Ticket_Warenkorb_0) 0 (S.L.AFR4_VS_Ticket_Warenkorb_0_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_1) 0 (S.L.AFR4_VS_Ticket_Warenkorb_1_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_2) 0 (S.L.AFR4_VS_Ticket_Warenkorb_2_select) 0 (S.L.AFR4_VS_Ticket_Warenkorb_3) 0 (S.L.AFR4_VS_Ticket_Warenkorb_3_select) 0 (S.L.AFR4_VS_Ticket_zusaetzlich) 0 (S.L.AFR4_VS_Ticket_loeschen) 0 (S.L.AFR4_VS_OK_klein) 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif) {endif} (L.L.AFR4_Display_Panel_recent) 15 = {if} 0 (S.L.AFR4_VS_Weiter) {endif} (L.L.AFR4_Display_Panel_recent) 18 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Erreicht) {endif} (L.L.AFR4_Display_Panel_recent) 21 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Erreicht) {endif} (L.L.AFR4_Display_Panel_recent) 23 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Verkauf) 0 (S.L.AFR4_BT_Verkauf) 0 (S.L.AFR4_VS_Schicht) 0 (S.L.AFR4_VS_Bedienung) 0 (S.L.AFR4_VS_Einstellungen) 0 (S.L.AFR4_VS_Einstellung_7) 0 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel_recent) 24 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Verkauf) 0 (S.L.AFR4_VS_Schicht) 0 (S.L.AFR4_BT_Schicht) 0 (S.L.AFR4_VS_Bedienung) 0 (S.L.AFR4_VS_Einstellungen) 0 (S.L.AFR4_VS_Einstellung_1) 0 (S.L.AFR4_VS_Einstellung_2) 0 (S.L.AFR4_VS_Einstellung_3) 0 (S.L.AFR4_VS_Einstellung_4) 0 (S.L.AFR4_VS_Einstellung_5) 0 (S.L.AFR4_VS_Einstellung_7) 0 (S.L.AFR4_VS_Einstellung_9) 0 (S.L.AFR4_VS_Einstellung_11) 0 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel_recent) 25 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Verkauf) 0 (S.L.AFR4_VS_Schicht) 0 (S.L.AFR4_VS_Bedienung) 0 (S.L.AFR4_BT_Bedienung) 0 (S.L.AFR4_VS_Einstellungen) 0 (S.L.AFR4_VS_Einstellung_0) 0 (S.L.AFR4_VS_Einstellung_Razzia) 0 (S.L.AFR4_VS_Einstellung_Razzia_klick) 0 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel_recent) 26 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Verkauf) 0 (S.L.AFR4_VS_Schicht) 0 (S.L.AFR4_VS_Bedienung) 0 (S.L.AFR4_VS_Einstellungen) 0 (S.L.AFR4_BT_Einstellungen) 0 (S.L.AFR4_VS_Einstellung_11) 0 (S.L.AFR4_VS_Tastenpiep) 0 (S.L.AFR4_VS_Tastenpiep_klick) 0 (S.L.AFR4_VS_Helligkeit_Display_hoch) 0 (S.L.AFR4_VS_Helligkeit_Display_runter) 0 (S.L.AFR4_VS_Nacht_Modus_Task) {endif} (L.L.AFR4_Display_Panel_recent) 27 = {if} 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) 0 (S.L.AFR4_BT_Select_2_TEXT) "" (S.$.AFR4_Input_PIN) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Warnung) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) {endif} (L.L.AFR4_Display_Panel_recent) 28 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_0) 0 (S.L.AFR4_VS_1) 0 (S.L.AFR4_VS_2) 0 (S.L.AFR4_VS_3) 0 (S.L.AFR4_VS_4) 0 (S.L.AFR4_VS_5) 0 (S.L.AFR4_VS_6) 0 (S.L.AFR4_VS_7) 0 (S.L.AFR4_VS_8) 0 (S.L.AFR4_VS_9) 0 (S.L.AFR4_VS_Loeschen) 0 (S.L.AFR4_VS_Bestaetigen) 0 (S.L.AFR4_BT_Select_1) 0 (S.L.AFR4_VS_Select_1) 0 (S.L.AFR4_BT_Select_1_TEXT) 0 (S.L.AFR4_BT_Select_1_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_VS_Select_2) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) 0 (S.L.AFR4_BT_Select_4) 0 (S.L.AFR4_VS_Select_4) 0 (S.L.AFR4_BT_Select_4_TEXT) 0 (S.L.AFR4_BT_Select_4_TEXT_Fehler) "" (S.$.AFR4_Display_Input_1) "" (S.$.AFR4_Display_Input_2) "" (S.$.AFR4_Display_Input_4) "" (S.$.AFR4_Display_Warnung) 0 (S.L.AFR4_VS_OK_klein) 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) 0 (S.L.AFR4_VS_Ziel_zuruecksetzen) {endif} (L.L.AFR4_Display_Panel_recent) 33 = {if} 0 (S.L.AFR4_VS_STOP) 0 (S.L.AFR4_VS_Zurueck) 0 (S.L.AFR4_VS_Uebernehmen) 0 (S.L.AFR4_VS_Fahrplanversion_1) 0 (S.L.AFR4_VS_Fahrplanversion_2) 0 (S.L.AFR4_VS_Fahrplanversion_3) 0 (S.L.AFR4_VS_Fahrplanversion_4) 0 (S.L.AFR4_VS_Fahrplanversion_5) 0 (S.L.AFR4_VS_Fahrplanversion_6) 0 (S.L.AFR4_VS_Fahrplanversion_7) 0 (S.L.AFR4_VS_Fahrplanversion_8) {endif} {end} {macro:AFR4_Ticket_Warenkorb_hinzufuegen} (L.L.AFR4_Ticket_Slot_0) -1 = (L.L.AFR4_Ticket_Slot_1) -1 = (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) 0 = && || {if} (L.L.AFR4_Ticket) (S.L.AFR4_Ticket_Slot_0) (L.$.AFR4_Ticket_Name) (S.$.AFR4_Ticket_Name_0) (L.$.AFR4_Ticket_Button_Name) (S.$.AFR4_Ticket_Button_Name_0) (L.L.AFR4_Erm) {if} 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) {else} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_0) 0 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_0) {endif} (L.L.AFR4_Ticket_Preis_Ermaessigt) (S.L.AFR4_Ticket_Preis_Ermaessigt_0) (L.L.AFR4_Ticket_Preis_Regeltarif) (S.L.AFR4_Ticket_Preis_Regeltarif_0) {else} (L.L.AFR4_Ticket_Slot_1) -1 = (L.L.AFR4_Ticket_Slot_2) -1 = (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) 0 = && || {if} (L.L.AFR4_Ticket) (S.L.AFR4_Ticket_Slot_1) (L.$.AFR4_Ticket_Name) (S.$.AFR4_Ticket_Name_1) (L.$.AFR4_Ticket_Button_Name) (S.$.AFR4_Ticket_Button_Name_1) (L.L.AFR4_Erm) {if} 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) {else} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_1) 0 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_1) {endif} (L.L.AFR4_Ticket_Preis_Ermaessigt) (S.L.AFR4_Ticket_Preis_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Regeltarif) (S.L.AFR4_Ticket_Preis_Regeltarif_1) {else} (L.L.AFR4_Ticket_Slot_2) -1 = (L.L.AFR4_Ticket_Slot_3) -1 = (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) 0 = && || {if} (L.L.AFR4_Ticket) (S.L.AFR4_Ticket_Slot_2) (L.$.AFR4_Ticket_Name) (S.$.AFR4_Ticket_Name_2) (L.$.AFR4_Ticket_Button_Name) (S.$.AFR4_Ticket_Button_Name_2) (L.L.AFR4_Erm) {if} 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) {else} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_2) 0 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_2) {endif} (L.L.AFR4_Ticket_Preis_Ermaessigt) (S.L.AFR4_Ticket_Preis_Ermaessigt_2) (L.L.AFR4_Ticket_Preis_Regeltarif) (S.L.AFR4_Ticket_Preis_Regeltarif_2) {else} (L.L.AFR4_Ticket_Slot_3) -1 = (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) 0 = || {if} (L.L.AFR4_Ticket) (S.L.AFR4_Ticket_Slot_3) (L.$.AFR4_Ticket_Name) (S.$.AFR4_Ticket_Name_3) (L.$.AFR4_Ticket_Button_Name) (S.$.AFR4_Ticket_Button_Name_3) (L.L.AFR4_Erm) {if} 0 (S.L.AFR4_Ticket_Anzahl_Regeltarif_3) 1 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_3) {else} 1 (S.L.AFR4_Ticket_Anzahl_Regeltarif_3) 0 (S.L.AFR4_Ticket_Anzahl_Ermaessigt_3) {endif} (L.L.AFR4_Ticket_Preis_Ermaessigt) (S.L.AFR4_Ticket_Preis_Ermaessigt_3) (L.L.AFR4_Ticket_Preis_Regeltarif) (S.L.AFR4_Ticket_Preis_Regeltarif_3) {endif} {endif} {endif} {endif} (L.L.AFR4_Ticket_Warenkorb_hinzufuegen) {if} 0 (S.L.AFR4_Ticket_Warenkorb_hinzufuegen) {endif} 0 (S.L.AFR4_Erm) {end} {macro:SetLMSTTexture} (L.L.AFR4_BT_LM) ! {if} (L.$.AFR4_ST_texture) 4 $cutEnd "_LM.bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) {else} (L.$.AFR4_ST_texture) 7 $cutEnd ".bmp" $+ (S.$.AFR4_ST_texture) (L.$.AFR4_ST_texture) 4 $cutEnd "_U.bmp" $+ (S.$.AFR4_Uhrzeit_ST_texture) {endif} {end} {macro:SetLMDisplayTexture} (L.L.AFR4_BT_LM) ! {if} (L.$.AFR4_Display_texture) 4 $cutEnd "_LM.bmp" $+ (S.$.AFR4_Display_texture) (L.$.AFR4_Display_2_texture) 4 $cutEnd "_LM.bmp" $+ (S.$.AFR4_Display_2_texture) (L.$.AFR4_Display_3_texture) 4 $cutEnd "_LM.bmp" $+ (S.$.AFR4_Display_3_texture) (L.L.AFR4_VS_Display_P) {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\4_P_LM.bmp" $+ (S.$.AFR4_Pop_Up_texture) {endif} "Buttons_LM.tga" (S.$.AFR4_BT_texture) 1 (S.L.AFR4_BT_LM) {else} (L.$.AFR4_Display_texture) 7 $cutEnd ".bmp" $+ (S.$.AFR4_Display_texture) (L.$.AFR4_Display_2_texture) 7 $cutEnd ".bmp" $+ (S.$.AFR4_Display_2_texture) (L.$.AFR4_Display_3_texture) 7 $cutEnd ".bmp" $+ (S.$.AFR4_Display_3_texture) (L.L.AFR4_VS_Display_P) {if} "4_P.bmp" (S.$.AFR4_Pop_Up_texture) {endif} "Buttons.tga" (S.$.AFR4_BT_texture) 0 (S.L.AFR4_BT_LM) {endif} {end} 'Dieses Macro wurde eingeführt, um Trigger vereinfachen zu können. 'Die Select-Mechanik wird von mehreren Triggern gleichzeitig genutzt. 'Deswegen habe ich sie hier, der Übersichtlichkeit, in einem Macro zusammengefasst. {macro:AFR4_Display_select} (M.L.AFR4_Fehler_ausblenden) (L.L.AFR4_BT_Select_1) {if} 1 (S.L.AFR4_VS_Select_1) {else} (L.L.AFR4_BT_Select_2) {if} 1 (S.L.AFR4_VS_Select_2) {else} (L.L.AFR4_BT_Select_3) {if} 1 (S.L.AFR4_VS_Select_3) {else} 1 (S.L.AFR4_VS_Select_4) {endif} {endif} {endif} (L.L.AFR4_BT_Select_1_TEXT) 0 = l4 1 = && {if} (L.L.AFR4_Display_Panel) 28 = {if} (L.$.AFR4_Display_Input_1) $StrToFloat (L.L.GetLineFinal) = ! {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {else} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} (L.$.AFR4_Display_Input_1) $StrToFloat (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_1) $StrToFloat 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {else} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} ' Neue Auswahl umsetzen: 1 (S.L.AFR4_BT_Select_1_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_4_TEXT) 1 (S.L.AFR4_BT_Select_1) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_BT_Select_4) 0 (S.L.AFR4_VS_Select_1) {else} (L.L.AFR4_BT_Select_2_TEXT) 0 = l4 2 = && {if} (L.L.AFR4_BT_Select_3_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) {endif} (L.L.AFR4_Display_Panel) 2 = {if} (L.L.AFR4_BT_Select_3_TEXT) {if} "" (S.$.AFR4_Display_Input_3) "" (S.$.AFR4_Input_PIN) {endif} {else} (L.L.AFR4_Display_Panel) 3 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetLineFinal) = ! (L.L.GetLineFinal) (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_2) $StrToFloat 0 = || && {if} (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {else} (L.L.AFR4_VS_Bild_hoch) 1 = (L.L.AFR4_VS_hoch) 1 = || {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetLineFirst) = ! (L.L.GetLineFinal) (L.L.GetLineFirst) = ! (L.$.AFR4_Display_Input_2) $StrToFloat 0 = || && {if} (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {else} (L.L.AFR4_VS_Bild_runter) 1 = (L.L.AFR4_VS_runter) 1 = || {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetRouteFirst) = ! (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! && {if} (L.L.AFR4_VS_Bild_runter) 0 = (L.L.AFR4_VS_runter) 0 = || {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {endif} {else} (L.L.AFR4_VS_Bild_runter) 1 = (L.L.AFR4_VS_runter) 1 = || {if} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} (L.$.AFR4_Display_Input_2) $StrToFloat (L.L.GetRouteFinal) = ! (L.L.GetRouteFirst) (L.L.GetRouteFinal) = ! && {if} (L.L.AFR4_VS_Bild_hoch) 0 = (L.L.AFR4_VS_hoch) 0 = || {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {endif} {else} (L.L.AFR4_VS_Bild_hoch) 1 = (L.L.AFR4_VS_hoch) 1 = || {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_internal_terminus_index) 1 > {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {else} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_internal_terminus_index) (L.L.TerminusEndIndex) < {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {else} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} {endif} {endif} ' Neue Auswahl umsetzen: 0 (S.L.AFR4_BT_Select_1_TEXT) 1 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_4_TEXT) 0 (S.L.AFR4_BT_Select_1) 1 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_BT_Select_4) 0 (S.L.AFR4_VS_Select_2) {else} (L.L.AFR4_BT_Select_3_TEXT) 0 = l4 3 = && {if} (L.L.AFR4_BT_Select_2_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) {endif} (L.L.AFR4_Display_Panel) 3 = {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - 0 = ! 0 (L.L.AFR4_Route_Starthaltestelle) = ! && {if} 1 (S.L.AFR4_VS_Bild_runter) 1 (S.L.AFR4_VS_runter) {else} 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (L.L.AFR4_Route_Starthaltestelle) = ! l0 (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - 0 = ! && {if} 1 (S.L.AFR4_VS_Bild_hoch) 1 (S.L.AFR4_VS_hoch) {else} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) {endif} {endif} {endif} 0 (S.L.AFR4_BT_Select_1_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT) 1 (S.L.AFR4_BT_Select_3_TEXT) 0 (S.L.AFR4_BT_Select_4_TEXT) 0 (S.L.AFR4_BT_Select_1) 0 (S.L.AFR4_BT_Select_2) 1 (S.L.AFR4_BT_Select_3) 0 (S.L.AFR4_BT_Select_4) 0 (S.L.AFR4_VS_Select_3) {else} (L.L.AFR4_BT_Select_4_TEXT) 0 = l4 4 = && {if} 0 (S.L.AFR4_BT_Select_1_TEXT) 0 (S.L.AFR4_BT_Select_2_TEXT) 0 (S.L.AFR4_BT_Select_3_TEXT) 1 (S.L.AFR4_BT_Select_4_TEXT) 0 (S.L.AFR4_BT_Select_1) 0 (S.L.AFR4_BT_Select_2) 0 (S.L.AFR4_BT_Select_3) 1 (S.L.AFR4_BT_Select_4) 0 (S.L.AFR4_VS_Select_4) (L.L.AFR4_Display_Panel) 28 = {if} 0 (S.L.AFR4_VS_Bild_hoch) 0 (S.L.AFR4_VS_hoch) 0 (S.L.AFR4_VS_Bild_runter) 0 (S.L.AFR4_VS_runter) {endif} {endif} {endif} {endif} {endif} 1 (S.L.AFR4_Select_changed) (M.L.AFR4_Display_aktualisieren) {end} {macro:AFR4_Fehler_ausblenden} (M.L.AFR4_Fehler_ausblenden_light) (L.L.AFR4_Display_Panel) 3 = {if} (L.L.AFR4_BT_Select_2_TEXT) (L.L.AFR4_VS_Select_3) 0 = && {if} 1 (S.L.AFR4_VS_Select_3) {endif} {else} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_BT_Select_2_TEXT) (L.L.AFR4_VS_Select_3) 0 = && {if} 1 (S.L.AFR4_VS_Select_3) {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.L.AFR4_BT_Select_1_TEXT) (L.L.AFR4_VS_Select_2) 0 = (L.L.AFR4_VS_Select_4) 0 = || && {if} 1 (S.L.AFR4_VS_Select_2) 1 (S.L.AFR4_VS_Select_4) {else} (L.L.AFR4_BT_Select_2_TEXT) (L.L.AFR4_VS_Select_4) 0 = && {if} 1 (S.L.AFR4_VS_Select_4) {endif} {endif} {endif} {endif} {endif} {end} {macro:AFR4_Fehler_ausblenden_light} (M.L.AFR4_Display_Input_check) (L.L.AFR4_BT_Select_1_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_1_TEXT_Fehler) {else} (L.L.AFR4_BT_Select_2_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_2_TEXT_Fehler) {else} (L.L.AFR4_BT_Select_3_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_3_TEXT_Fehler) {else} (L.L.AFR4_BT_Select_4_TEXT_Fehler) {if} 0 (S.L.AFR4_BT_Select_4_TEXT_Fehler) {endif} {endif} {endif} {endif} (L.$.AFR4_Display_Warnung) "" $= ! {if} "" (S.$.AFR4_Display_Warnung) {endif} {end} {macro:AFR4_Display_Input_check} (L.L.AFR4_Display_Panel) 6 = {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Input_2) $StrToFloat + (M.V.GetRouteIndex) -1 = ! (L.$.AFR4_Display_Input_2) "" $= ! && (L.$.AFR4_Display_Input_3) $StrToFloat 0 (M.V.GetBusstopString) "" $= ! (L.$.AFR4_Display_Input_3) "" $= ! && && {if} (L.L.AFR4_VS_OK_klein) ! {if} 1 (S.L.AFR4_VS_OK_klein) {endif} {else} (L.L.AFR4_VS_OK_klein) {if} 0 (S.L.AFR4_VS_OK_klein) {endif} {endif} {else} (L.L.AFR4_Display_Panel) 28 = {if} (L.$.AFR4_Display_Input_1) $StrToFloat (M.L.LineExists) -1 = ! (L.$.AFR4_Display_Input_1) "" $= ! && (L.$.AFR4_Display_Input_2) $StrToFloat (M.V.GetTerminusIndex) -1 = ! (L.$.AFR4_Display_Input_2) "" $= ! && (L.$.AFR4_Display_Input_2) "0" $= ! && && (L.$.AFR4_Display_Input_4) $StrToFloat (M.L.SonderzeichenExists) -1 = ! (L.$.AFR4_Display_Input_4) "" $= ! && && {if} (L.L.AFR4_VS_OK_klein) ! {if} 1 (S.L.AFR4_VS_OK_klein) {endif} {else} (L.L.AFR4_VS_OK_klein) {if} 0 (S.L.AFR4_VS_OK_klein) {endif} {endif} {endif} {endif} {end} {macro:GetUmlauf} (L.L.RouteFirst) 1 = {if} 0 (S.L.RouteFirst) (L.L.AFR4_Linie_intern) (M.L.GetRouteFirst) 1 - {else} (L.L.RouteFinal) 1 = {if} 0 (S.L.RouteFinal) (L.L.AFR4_Linie_intern) (M.L.GetRouteFinal) 1 - {else} (L.L.AFR4_Route_intern) 1 - {endif} {endif} ' Wenn hier eine -1 raus kommt, dann ist irgendwas gewalltig schiefgelaufen. ' Trotzdem habe ich zur Sicherheit diese Klausel eingefügt. (L.L.AFR4_Linie_intern) 100 * + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat + (M.L.GetRouteNext) (M.L.GetNextUmlauf) -1 <= {if} (M.L.FillUmlauf) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) {endif} {else} (M.L.FillUmlauf) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) {endif} {endif} {else} (M.L.FillUmlauf) (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) -1 > {if} (L.L.AFR4_Linie_intern) 100 * (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat + (M.L.GetRouteRecent) (M.L.GetRecentUmlauf) {endif} {endif} {endif} {endif} (L.$.AFR4_Display_Umlauf_3_Route) "" $= {if} (L.$.AFR4_Display_Umlauf_2_Route) "" $= {if} (L.$.AFR4_Display_Umlauf_1_Route) "" $= {if} 1 (S.L.AFR4_Display_Umlauf_Reiter) {else} 2 (S.L.AFR4_Display_Umlauf_Reiter) {endif} {else} 3 (S.L.AFR4_Display_Umlauf_Reiter) {endif} {else} 4 (S.L.AFR4_Display_Umlauf_Reiter) {endif} (M.L.SelectUmlauf) {end} {macro:SelectUmlauf} (L.$.AFR4_Display_Umlauf_0_Route) $StrToFloat (L.L.AFR4_Route_intern) = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ "_" $+ (L.L.AFR4_Display_Umlauf_Reiter) $IntToStr $+ "_S0" $+ {else} (L.$.AFR4_Display_Umlauf_1_Route) $StrToFloat (L.L.AFR4_Route_intern) = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ "_" $+ (L.L.AFR4_Display_Umlauf_Reiter) $IntToStr $+ "_S1" $+ {else} (L.$.AFR4_Display_Umlauf_2_Route) $StrToFloat (L.L.AFR4_Route_intern) = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ "_" $+ (L.L.AFR4_Display_Umlauf_Reiter) $IntToStr $+ "_S2" $+ {else} (L.$.AFR4_Display_Umlauf_3_Route) $StrToFloat (L.L.AFR4_Route_intern) = {if} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ "_" $+ (L.L.AFR4_Display_Umlauf_Reiter) $IntToStr $+ "_S3" $+ {else} "AFR4\" (C.L.AFR4_Busbetrieb) $IntToStr $+ "\" $+ (L.L.AFR4_Display_Panel) $IntToStr $+ "_" $+ (L.L.AFR4_Display_Umlauf_Reiter) $IntToStr $+ {endif} {endif} {endif} {endif} (L.L.AFR4_BT_LM) {if} "_LM" $+ {endif} ".bmp" $+ (S.$.AFR4_Display_texture) (S.$.AFR4_Display_2_texture) (S.$.AFR4_Display_3_texture) (M.L.AFR4_Display_aktualisieren) {end} {macro:AFR4_Display_aktualisieren} (L.L.AFR4_Display_ST_ID) (S.L.AFR4_Display_ST_ID_recent) ' Intelligenter workarround für Anzeigefehler im Display: ' Wähle beim neuladen von diesem macro das Fenster aus, welches gerade unsichtbar ist. ' Zeichne den Inhalt auf das unsichtbare Fenster. ' Nächsten frame: ' Mache das Fenster mit dem alten Inhalt unsichtbar und das mit dem neuen sichtbar: ' Contra: Es dauert einen Frame, bis der jeweils neue Inhalt angezeigt wird, Grafikbug aber behoben. (L.L.AFR4_Display_ST_1) {if} 4 (S.L.AFR4_Display_aktiv) {else} 5 (S.L.AFR4_Display_aktiv) {endif} (S.L.AFR4_Display_ST_ID) ' Scripttextur initiieren (M.L.AFR4_Display_ST_Clear) (M.L.AFR4_Display_ST_Init) ' Nur wenn Fahrer mit Karte eingeloggt ist ' E-Ticket-Status: ' -> Grün: E-Ticketing möglich (aktiv) ' -> Rot: E-Ticketing nicht möglich (nicht aktiv) ' RBL-Status ' -> Grün: RBL-Betrieb ' -> Rot: Keine Verbindung zum RBL ' -> A: bordautonomer Betrieb ' -> X: Funkrückfallbetrieb ' GPS-Status ' -> Grün: Okay ' -> Gelb: Fahrzeug noch nicht geortet ' -> Rot: Kein GPS-Signal ' -> Blau: Fahrzeug hat die Strecke verlassen ' 574 142 (L.L.AFR4_Display_Panel) 2 = {if} 370 s0 155 s1 "AFR4_28Px" (S.$.AFR4_Display_Font) (L.L.AFR4_BT_Select_2_TEXT) {if} 13 (L.$.AFR4_Display_Input_2) $length - "_" $* (L.$.AFR4_Display_Input_2) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 565 s0 220 s1 "AFR4_55Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 436 s0 93 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Warnung) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 3 = {if} 370 s0 155 s1 "AFR4_28Px" (S.$.AFR4_Display_Font) (L.L.AFR4_BT_Select_2_TEXT) {if} 13 (L.$.AFR4_Display_Input_2) $length - "_" $* (L.$.AFR4_Display_Input_2) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 565 s0 223 s1 13 (L.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 436 s0 93 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Warnung) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 4 = {if} (M.L.AFR4_GetBusstops) 153 s0 5 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTTerminusIndex) "" 0 (M.V.GetTerminusString) (S.$.AFR4_Display_Text) (M.V.GetTTTerminusIndex) "" 1 (M.V.GetTerminusString) $RemoveSpaces " " $+ (L.$.AFR4_Display_Text) $RemoveSpaces $+ (S.$.AFR4_Display_Text) $length 1 - $cutEnd " " $= {if} $RemoveSpaces (S.$.AFR4_Display_Text) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetRouteTerminusIndex) "" 0 (M.V.GetTerminusString) (S.$.AFR4_Display_Text) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetRouteTerminusIndex) "" 1 (M.V.GetTerminusString) $RemoveSpaces " " $+ (L.$.AFR4_Display_Text) $RemoveSpaces $+ (S.$.AFR4_Display_Text) $length 1 - $cutEnd " " $= {if} $RemoveSpaces (S.$.AFR4_Display_Text) {endif} {endif} (L.$.AFR4_Display_Text) "" $= (L.$.AFR4_Display_Text) " " $= || {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) s4 (M.V.GetBusstopCount) 1 - (L.L.AFR4_HofError) - s5 l4 l5 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 0 (M.V.GetBusstopString) (S.$.AFR4_Display_Text) {endif} (L.L.schedule_active_intern) {if} (M.V.GetTTLineString) {else} (L.L.AFR4_Linie) $IntToStr {endif} " - " $+ (L.$.AFR4_Display_Text) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) 45 s0 (L.$.AFR4_Haltestelle_0_o) "" $= ! (L.$.AFR4_Haltestelle_0_u) "" $= ! && {if} ' 93 s1 83 s1 (L.$.AFR4_Haltestelle_0_o) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 106 s1 (L.$.AFR4_Haltestelle_0_u) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 93 s1 (L.$.AFR4_Haltestelle_0_o) "" $= {if} (L.$.AFR4_Haltestelle_0_u) {else} (L.$.AFR4_Haltestelle_0_o) {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.$.AFR4_Haltestelle_1_o) "" $= ! (L.$.AFR4_Haltestelle_1_u) "" $= ! && {if} ' 161 s1 150 s1 (L.$.AFR4_Haltestelle_1_o) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 173 s1 (L.$.AFR4_Haltestelle_1_u) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 161 s1 (L.$.AFR4_Haltestelle_1_o) "" $= {if} (L.$.AFR4_Haltestelle_1_u) {else} (L.$.AFR4_Haltestelle_1_o) {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.$.AFR4_Haltestelle_2_o) "" $= ! (L.$.AFR4_Haltestelle_2_u) "" $= ! && {if} ' 229 s1 219 s1 (L.$.AFR4_Haltestelle_2_o) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 242 s1 (L.$.AFR4_Haltestelle_2_u) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 229 s1 (L.$.AFR4_Haltestelle_2_o) "" $= {if} (L.$.AFR4_Haltestelle_2_u) {else} (L.$.AFR4_Haltestelle_2_o) {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.$.AFR4_Haltestelle_3_o) "" $= ! (L.$.AFR4_Haltestelle_3_u) "" $= ! && {if} ' 297 s1 287 s1 (L.$.AFR4_Haltestelle_3_o) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 310 s1 (L.$.AFR4_Haltestelle_3_u) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 297 s1 (L.$.AFR4_Haltestelle_3_o) "" $= {if} (L.$.AFR4_Haltestelle_3_u) {else} (L.$.AFR4_Haltestelle_3_o) {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.$.AFR4_Haltestelle_4_o) "" $= ! (L.$.AFR4_Haltestelle_4_u) "" $= ! && {if} ' 365 s1 354 s1 (L.$.AFR4_Haltestelle_4_o) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 377 s1 (L.$.AFR4_Haltestelle_4_u) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 365 s1 (L.$.AFR4_Haltestelle_4_o) "" $= {if} (L.$.AFR4_Haltestelle_4_u) {else} (L.$.AFR4_Haltestelle_4_o) {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} "AFR4_20Px" (S.$.AFR4_Display_Font) 277 s0 74 s1 ' -2 (L.$.AFR4_Haltestelle_0_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 142 s1 ' -1 (L.$.AFR4_Haltestelle_1_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 210 s1 (L.$.AFR4_Haltestelle_2_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 278 s1 ' +1 (L.$.AFR4_Haltestelle_3_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 345 s1 ' +1 (L.$.AFR4_Haltestelle_4_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} (L.L.AFR4_Display_Panel) 5 = {if} ' Linie 100 s0 105 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTLineString) {else} (L.L.AFR4_Linie) $IntToStr {endif} (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' Route 130 s1 (L.L.AFR4_Route) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' Richtung 26 s0 195 s1 (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' Ab 263 s1 (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetTerminusStartString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' An 333 s1 (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' Ab 80 s0 244 s1 (L.L.schedule_active_intern) {if} 0 (M.V.GetTTBusstopDep) s3 0 s4 (M.L.GetTime) (S.$.AFR4_Display_Text) {else} "00:00" (S.$.AFR4_Display_Text) {endif} (M.L.AFR4_Display_writeLine_L) ' An 315 s1 (L.L.schedule_active_intern) {if} (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) 1 - (M.V.GetTTBusstopArr) s3 {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (M.V.GetTTBusstopArr) s3 {endif} 0 s4 (M.L.GetTime) (S.$.AFR4_Display_Text) {else} "00:00" (S.$.AFR4_Display_Text) {endif} (M.L.AFR4_Display_writeLine_L) 545 s0 180 s1 (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetTerminusStartString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 6 = {if} 565 s0 87 s1 "AFR4_28Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 370 s0 155 s1 (L.L.AFR4_BT_Select_2_TEXT) {if} 13 (L.$.AFR4_Display_Input_2) $length - "_" $* (L.$.AFR4_Display_Input_2) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 370 s0 223 s1 "AFR4_28Px" (S.$.AFR4_Display_Font) (L.L.AFR4_BT_Select_3_TEXT) {if} 13 (L.$.AFR4_Display_Input_3) $length - "_" $* (L.$.AFR4_Display_Input_3) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 303 s0 295 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_3_intern) $StrToFloat 3 (M.V.GetBusstopString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 363 s1 (L.$.AFR4_Display_Input_1) $StrToFloat 100 * (L.$.AFR4_Display_Input_2_intern) $StrToFloat + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.L.AFR4_Display_Panel) 7 = {if} ' Route-Details 262 s0 95 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route_intern) + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 123 s1 "00:00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 150 s1 "00:00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) ' 18Px 100 s0 196 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 218 s1 (L.L.AFR4_Route_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 93 s0 305 s1 "00:00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 359 s1 "00:00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 26 s0 271 s1 (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route_intern) + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 327 s1 (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route_intern) + (M.L.GetTerminusStartString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 381 s1 (L.L.AFR4_Linie_intern) 100 * (L.L.AFR4_Route_intern) + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) ' Umläufe 333 s0 160 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Display_Umlauf_Reiter) 1 >= {if} (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 400 s0 (L.$.AFR4_Display_Umlauf_0_Route) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 437 s0 (L.$.AFR4_Display_Umlauf_0_Terminus) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 333 s0 228 s1 (L.L.AFR4_Display_Umlauf_Reiter) 2 >= {if} (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 400 s0 (L.$.AFR4_Display_Umlauf_1_Route) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 437 s0 (L.$.AFR4_Display_Umlauf_1_Terminus) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 333 s0 296 s1 (L.L.AFR4_Display_Umlauf_Reiter) 3 >= {if} (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 400 s0 (L.$.AFR4_Display_Umlauf_2_Route) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 437 s0 (L.$.AFR4_Display_Umlauf_2_Terminus) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 333 s0 364 s1 (L.L.AFR4_Display_Umlauf_Reiter) 4 >= {if} (L.L.AFR4_Linie_intern) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 400 s0 (L.$.AFR4_Display_Umlauf_3_Route) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 437 s0 (L.$.AFR4_Display_Umlauf_3_Terminus) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.L.AFR4_Display_Panel) 8 = {if} ' Fahrausweise 367 s0 150 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) "0" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 497 s0 150 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 564 s0 150 s1 (L.L.AFR4_Monat_verkaufte_Tickets) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 678 s0 150 s1 (L.L.AFR4_Monat_verkaufte_Tickets_Summe) $IntToStr "." $+ (L.L.AFR4_Monat_verkaufte_Tickets_Summe) 100 * (L.L.AFR4_Monat_verkaufte_Tickets_Summe) trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 784 s0 150 s1 (L.L.AFR4_VorMonat_verkaufte_Tickets_Summe) $IntToStr "." $+ (L.L.AFR4_VorMonat_verkaufte_Tickets_Summe) 100 * (L.L.AFR4_VorMonat_verkaufte_Tickets_Summe) trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) ' Stornos 367 s0 187 s1 "0" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 497 s0 187 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 564 s0 187 s1 "0" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 678 s0 187 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 784 s0 187 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) ' Gutschriften 367 s0 224 s1 "0" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 497 s0 224 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 564 s0 224 s1 "0" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 678 s0 224 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 784 s0 224 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) ' Netto 497 s0 290 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 678 s0 290 s1 (L.L.AFR4_Monat_verkaufte_Tickets_Summe) $IntToStr "." $+ (L.L.AFR4_Monat_verkaufte_Tickets_Summe) 100 * (L.L.AFR4_Monat_verkaufte_Tickets_Summe) trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 784 s0 290 s1 (L.L.AFR4_Vormonat_verkaufte_Tickets_Summe) $IntToStr "." $+ (L.L.AFR4_VorMonat_verkaufte_Tickets_Summe) 100 * (L.L.AFR4_VorMonat_verkaufte_Tickets_Summe) trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) ' Auszahlungen 497 s0 325 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 678 s0 325 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 784 s0 325 s1 "0.00" (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} (L.L.AFR4_Display_Panel) 9 = {if} 565 s0 155 s1 "AFR4_55Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 436 s0 93 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Warnung) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 11 = {if} (M.L.AFR4_GetBusstops_F) 66 s0 4 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Haltestelle_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 116 s0 73 s1 (L.$.number) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 107 s1 (L.L.AFR4_Linie) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 141 s1 (L.L.AFR4_Route) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 24 s0 248 s1 (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.L.GetTerminusEndString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 530 s0 352 s1 "AFR4_24Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Haltestelle_0) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 710 s0 (L.$.AFR4_Haltestelle_0_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 530 s0 156 s1 "AFR4_26Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Haltestelle_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 710 s0 (L.$.AFR4_Haltestelle_1_Arr) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.L.AFR4_Display_Panel) 12 = {if} 5 s0 5 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.$.AFR4_Ticket_Name_1) (S.$.AFR4_Display_Text) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.$.AFR4_Ticket_Name_2) (S.$.AFR4_Display_Text) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.$.AFR4_Ticket_Name_3) (S.$.AFR4_Display_Text) {else} (L.$.AFR4_Ticket_Name_0) (S.$.AFR4_Display_Text) {endif} {endif} {endif} (M.L.AFR4_Display_writeLine_L) 71 s0 43 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Abfahrtsort) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 76 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Ankunftsort) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 145 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Gueltigkeit_von) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 177 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Gueltigkeit_bis) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 249 s0 294 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) {else} (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) {endif} {endif} {endif} $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_1) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_1) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) * (L.L.AFR4_Ticket_Preis_Ermaessigt_1) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_2) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_2) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) * (L.L.AFR4_Ticket_Preis_Ermaessigt_2) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_3) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_3) (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) * (L.L.AFR4_Ticket_Preis_Ermaessigt_3) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_Ticket_Preis_Ermaessigt_0) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_0) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_0) (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) * (L.L.AFR4_Ticket_Preis_Ermaessigt_0) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} {endif} {endif} {endif} (L.L.AFR4_Display_Panel) 13 = {if} 0 (S.L.AFR4_Ticket_Preis_gesamt) 5 s0 5 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.$.AFR4_Ticket_Name_1) (S.$.AFR4_Display_Text) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.$.AFR4_Ticket_Name_2) (S.$.AFR4_Display_Text) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.$.AFR4_Ticket_Name_3) (S.$.AFR4_Display_Text) {else} (L.$.AFR4_Ticket_Name_0) (S.$.AFR4_Display_Text) {endif} {endif} {endif} (M.L.AFR4_Display_writeLine_L) 71 s0 43 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Abfahrtsort) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 76 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Ankunftsort) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 145 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Gueltigkeit_von) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 177 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Gueltigkeit_bis) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 249 s0 294 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) {else} (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) {endif} {endif} {endif} $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_1) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_1) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) * (L.L.AFR4_Ticket_Preis_Ermaessigt_1) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_VS_Ticket_Warenkorb_2_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_2) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_2) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) * (L.L.AFR4_Ticket_Preis_Ermaessigt_2) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_VS_Ticket_Warenkorb_3_select) {if} (L.L.AFR4_Ticket_Preis_Ermaessigt_3) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_3) (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) * (L.L.AFR4_Ticket_Preis_Ermaessigt_3) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {else} (L.L.AFR4_Ticket_Preis_Ermaessigt_0) -1 = {if} 10 s0 300 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Button_Name_0) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 364 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 572 s0 31 s1 "AFR4_30Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_Regeltarif_0) (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) * (L.L.AFR4_Ticket_Preis_Ermaessigt_0) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} {endif} {endif} (L.L.AFR4_VS_Ticket_Warenkorb_0) (L.L.AFR4_VS_Ticket_Warenkorb_0_select) || {if} 298 s0 147 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) + $IntToStr "x" $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 354 s0 147 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Name_0) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 788 s0 147 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) (L.L.AFR4_Ticket_Preis_Regeltarif_0) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) (L.L.AFR4_Ticket_Preis_Ermaessigt_0) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) (L.L.AFR4_Ticket_Anzahl_Regeltarif_0) (L.L.AFR4_Ticket_Preis_Regeltarif_0) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_0) (L.L.AFR4_Ticket_Preis_Ermaessigt_0) * + (L.L.AFR4_Ticket_Preis_gesamt) + (S.L.AFR4_Ticket_Preis_gesamt) {endif} (L.L.AFR4_VS_Ticket_Warenkorb_1) (L.L.AFR4_VS_Ticket_Warenkorb_1_select) || {if} 298 s0 197 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) + $IntToStr "x" $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 354 s0 197 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Name_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 788 s0 197 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) (L.L.AFR4_Ticket_Preis_Regeltarif_1) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Ermaessigt_1) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) (L.L.AFR4_Ticket_Preis_Regeltarif_1) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Ermaessigt_1) * + (L.L.AFR4_Ticket_Preis_gesamt) + (S.L.AFR4_Ticket_Preis_gesamt) {endif} (L.L.AFR4_VS_Ticket_Warenkorb_2) (L.L.AFR4_VS_Ticket_Warenkorb_2_select) || {if} 298 s0 247 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) + $IntToStr "x" $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 354 s0 247 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Name_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 788 s0 247 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) (L.L.AFR4_Ticket_Preis_Regeltarif_2) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) (L.L.AFR4_Ticket_Preis_Ermaessigt_2) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) (L.L.AFR4_Ticket_Anzahl_Regeltarif_2) (L.L.AFR4_Ticket_Preis_Regeltarif_2) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_2) (L.L.AFR4_Ticket_Preis_Ermaessigt_2) * + (L.L.AFR4_Ticket_Preis_gesamt) + (S.L.AFR4_Ticket_Preis_gesamt) {endif} (L.L.AFR4_VS_Ticket_Warenkorb_3) (L.L.AFR4_VS_Ticket_Warenkorb_3_select) || {if} 298 s0 297 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) + $IntToStr "x" $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 354 s0 297 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Ticket_Name_3) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 788 s0 297 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Anzahl_Regeltarif_3) (L.L.AFR4_Ticket_Preis_Regeltarif_3) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_3) (L.L.AFR4_Ticket_Preis_Ermaessigt_3) * + s4 $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) (L.L.AFR4_Ticket_Anzahl_Regeltarif_1) (L.L.AFR4_Ticket_Preis_Regeltarif_3) * (L.L.AFR4_Ticket_Anzahl_Ermaessigt_1) (L.L.AFR4_Ticket_Preis_Ermaessigt_3) * + (L.L.AFR4_Ticket_Preis_gesamt) + (S.L.AFR4_Ticket_Preis_gesamt) {endif} 782 s0 354 s1 "AFR4_18Px_Bold" (S.$.AFR4_Display_Font) (L.L.AFR4_Ticket_Preis_gesamt) $IntToStr "." $+ l4 100 * l4 trunc 100 * - "02" $IntToStrEnh $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} (L.L.AFR4_Display_Panel) 26 = {if} 400 s0 92 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Display_Helligkeit) $IntToStr "%" $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 27 = {if} 565 s0 155 s1 "AFR4_55Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) 436 s0 93 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Warnung) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} (L.L.AFR4_Display_Panel) 28 = {if} 370 s0 87 s1 "AFR4_28Px" (S.$.AFR4_Display_Font) (L.L.AFR4_BT_Select_1_TEXT) {if} 13 (L.$.AFR4_Display_Input_1) $length - "_" $* (L.$.AFR4_Display_Input_1) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_1) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 370 s0 155 s1 (L.L.AFR4_BT_Select_2_TEXT) {if} 13 (L.$.AFR4_Display_Input_2) $length - "_" $* (L.$.AFR4_Display_Input_2) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_2) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 370 s0 360 s1 (L.L.AFR4_BT_Select_4_TEXT) {if} 13 (L.$.AFR4_Display_Input_4) $length - "_" $* (L.$.AFR4_Display_Input_4) $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {else} 565 s0 (L.$.AFR4_Display_Input_4) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_R) {endif} 305 s0 223 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_2_intern) $StrToFloat (M.V.GetTerminusIndex) 1 (M.V.GetTerminusString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) 305 s0 253 s1 "AFR4_20Px" (S.$.AFR4_Display_Font) (L.$.AFR4_Display_Input_2_intern) $StrToFloat (M.V.GetTerminusIndex) 2 (M.V.GetTerminusString) (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_L) {endif} (L.L.AFR4_Display_Panel) 33 = {if} 198 s0 104 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 7 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 172 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 6 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 240 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 5 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 308 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 4 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 376 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 3 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 104 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 2 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 172 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) 1 (M.L.AFR4_Datum_bestimmen) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 240 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.S.Day) (S.L.AFR4_Day) (L.S.Month) (S.L.AFR4_Month) (L.S.Year) (S.L.AFR4_Year) (M.L.AFR4_Wochentag_bestimmen) " " $+ (L.L.AFR4_Day) "02" $IntToStrEnh "." $+ $+ (L.L.AFR4_Month) "02" $IntToStrEnh "." $+ $+ " " (L.L.AFR4_Year) $IntToStr $+ $+ (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 79 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 147 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 1 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 215 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 2 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 283 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 3 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 198 s0 351 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 4 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 79 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 5 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 147 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 6 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) 597 s0 215 s1 "AFR4_18Px" (S.$.AFR4_Display_Font) (L.L.AFR4_Fahrplanversion_nummer) 7 + $IntToStr (S.$.AFR4_Display_Text) (M.L.AFR4_Display_writeLine_M) {endif} 1 (S.L.AFR4_Display_aktualisiert) ' Scripttextur zeichnen (L.L.AFR4_Display_ST_ID) (M.V.STUnlock) (L.L.AFR4_Display_ST_ID) (M.V.STFilter) (L.L.AFR4_Display_ST_ID_recent) (S.L.AFR4_Display_ST_ID) {end} {macro:AFR4_Wochentag_bestimmen} ' 1. (L.L.AFR4_Day) 7 % s2 ' 2. (L.L.AFR4_Month) 1 = {if} 0 {else} (L.L.AFR4_Month) 2 = {if} 3 {else} (L.L.AFR4_Month) 3 = {if} 3 {else} (L.L.AFR4_Month) 4 = {if} 6 {else} (L.L.AFR4_Month) 5 = {if} 1 {else} (L.L.AFR4_Month) 6 = {if} 4 {else} (L.L.AFR4_Month) 7 = {if} 6 {else} (L.L.AFR4_Month) 8 = {if} 2 {else} (L.L.AFR4_Month) 9 = {if} 5 {else} (L.L.AFR4_Month) 10 = {if} 0 {else} (L.L.AFR4_Month) 11 = {if} 3 {else} (L.L.AFR4_Month) 12 = {if} 5 {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} s3 ' 3. Jahresziffer (L.L.AFR4_Year) (L.L.AFR4_Year) 100 / trunc 100 * - s4 l4 4 / trunc l4 + 7 % s4 ' 4. Jahrhundertziffer 3 (L.L.AFR4_Year) 100 / trunc 4 % - 2 * s5 ' 5. Schalterjahr.. (L.L.AFR4_Month) 1 = (L.L.AFR4_Month) 2 = || {if} (L.L.AFR4_Year) (M.L.AFR4_Schaltjahr) {else} 0 {endif} 6 * s6 l2 l3 + l4 + l5 + l6 + 7 % s6 l6 0 = {if} "Sonntag" {else} l6 1 = {if} "Montag" {else} l6 2 = {if} "Dienstag" {else} l6 3 = {if} "Mittwoch" {else} l6 4 = {if} "Donnerstag" {else} l6 5 = {if} "Freitag" {else} l6 6 = {if} "Samstag" {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {macro:AFR4_Datum_bestimmen} s2 (L.S.Day) l2 - 0 <= {if} (L.S.Day) l2 - s3 (L.S.Month) 1 = {if} 12 {else} (L.S.Month) 1 - {endif} (S.L.AFR4_Month) (M.L.AFR4_Monat_Tage) l3 + (S.L.AFR4_Day) (L.S.Month) 1 = {if} (L.S.Year) 1 - {else} (L.S.Year) {endif} (S.L.AFR4_Year) {else} (L.S.Day) l2 - (S.L.AFR4_Day) (L.S.Month) (S.L.AFR4_Month) (L.S.Year) (S.L.AFR4_Year) {endif} {end} {macro:AFR4_Monat_Tage} s2 l2 1 = {if} 31 {else} l2 2 = {if} (L.S.Year) (M.L.AFR4_Schaltjahr) {if} 29 {else} 28 {endif} {else} l2 3 = {if} 31 {else} l2 4 = {if} 30 {else} l2 5 = {if} 31 {else} l2 6 = {if} 30 {else} l2 7 = {if} 31 {else} l2 8 = {if} 31 {else} l2 9 = {if} 30 {else} l2 10 = {if} 31 {else} l2 11 = {if} 30 {else} l2 12 = {if} 31 {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {macro:AFR4_Schaltjahr} s6 l6 1904 = {if} 1 {else} l6 1908 = {if} 1 {else} l6 1912 = {if} 1 {else} l6 1916 = {if} 1 {else} l6 1920 = {if} 1 {else} l6 1924 = {if} 1 {else} l6 1928 = {if} 1 {else} l6 1932 = {if} 1 {else} l6 1936 = {if} 1 {else} l6 1940 = {if} 1 {else} l6 1944 = {if} 1 {else} l6 1948 = {if} 1 {else} l6 1952 = {if} 1 {else} l6 1956 = {if} 1 {else} l6 1960 = {if} 1 {else} l6 1964 = {if} 1 {else} l6 1968 = {if} 1 {else} l6 1972 = {if} 1 {else} l6 1976 = {if} 1 {else} l6 1980 = {if} 1 {else} l6 1984 = {if} 1 {else} l6 1988 = {if} 1 {else} l6 1992 = {if} 1 {else} l6 1996 = {if} 1 {else} l6 2000 = {if} 1 {else} l6 2004 = {if} 1 {else} l6 2008 = {if} 1 {else} l6 2012 = {if} 1 {else} l6 2016 = {if} 1 {else} l6 2020 = {if} 1 {else} l6 2024 = {if} 1 {else} l6 2028 = {if} 1 {else} l6 2032 = {if} 1 {else} l6 2036 = {if} 1 {else} l6 2040 = {if} 1 {else} l6 2044 = {if} 1 {else} l6 2048 = {if} 1 {else} l6 2052 = {if} 1 {else} l6 2056 = {if} 1 {else} l6 2060 = {if} 1 {else} l6 2064 = {if} 1 {else} l6 2068 = {if} 1 {else} l6 2072 = {if} 1 {else} l6 2076 = {if} 1 {else} l6 2080 = {if} 1 {else} l6 2084 = {if} 1 {else} l6 2088 = {if} 1 {else} l6 2092 = {if} 1 {else} l6 2096 = {if} 1 {else} 0 {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {macro:AFR4_Display_Panel_history} (L.L.AFR4_Display_Panel_recent_2) (S.L.AFR4_Display_Panel_recent_3) (L.L.AFR4_Display_Panel_recent_1) (S.L.AFR4_Display_Panel_recent_2) (L.L.AFR4_Display_Panel_recent_0) (S.L.AFR4_Display_Panel_recent_1) (L.L.AFR4_Display_Panel) (S.L.AFR4_Display_Panel_recent) (S.L.AFR4_Display_Panel_recent_0) {end} {macro:GetTicketDetails} ' Hier stehen nun alle Tickets samt ihrer genauen Daten drin... Viel Spaß beim Lesen! (L.L.AFR4_Ticket) 0 = {if} "Kurzstrecke" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 1 (M.V.GetTicketValue) (S.L.AFR4_Ticket_Preis_Regeltarif) 4 (M.V.GetTicketValue) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Erm) {if} 4 (S.L.AFR4_Ticket_Index) {else} 1 (S.L.AFR4_Ticket_Index) {endif} {endif} (L.L.AFR4_Ticket) 1 = {if} "Berlin AB" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 0 (M.V.GetTicketValue) (S.L.AFR4_Ticket_Preis_Regeltarif) 3 (M.V.GetTicketValue) (S.L.AFR4_Ticket_Preis_Ermaessigt) (L.L.AFR4_Erm) {if} 3 (S.L.AFR4_Ticket_Index) {else} 0 (S.L.AFR4_Ticket_Index) {endif} {endif} (L.L.AFR4_Ticket) 2 = {if} "Berlin BC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 3 = {if} "Berlin ABC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 4 = {if} "Tageskarte AB" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 2 (M.V.GetTicketValue) (S.L.AFR4_Ticket_Preis_Regeltarif) 5.50 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 5 = {if} "Tageskarte BC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 6 = {if} "Tageskarte ABC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 7 = {if} "Anschluss Berlin A/C" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 8 = {if} "Anschluss Tageskarte Berlin A/C" (S.$.AFR4_Ticket_Name) "Anschluss Tageskarte Berlin A/C" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 9 = {if} "Anschluss Potsdam Berlin AB" (S.$.AFR4_Ticket_Name) "Anschluss Potsdam Berlin AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 10 = {if} "Kleingruppenkarte AB" (S.$.AFR4_Ticket_Name) "Kleingruppenkarte AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 11 = {if} "Kleingruppenkarte BC" (S.$.AFR4_Ticket_Name) "Kleingruppenkarte BC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 12 = {if} "Kleingruppenkarte ABC" (S.$.AFR4_Ticket_Name) "Kleingruppenkarte ABC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 13 = {if} "Kurzstrecke Potsdam" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 14 = {if} "Potsdam AB" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 15 = {if} "Potsdam ABC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 16 = {if} "Tageskarte Potsdam ABC" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 17 = {if} "Landkr. bis 2 Waben" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 18 = {if} "Welcome Card 48 Stunden AB" (S.$.AFR4_Ticket_Name) "Welcome Card 48 Stunden AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 19 = {if} "Welcome Card 48 Stunden ABC" (S.$.AFR4_Ticket_Name) "Welcome Card 48 Stunden ABC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 20 = {if} "Welcome Card 72 Stunden AB" (S.$.AFR4_Ticket_Name) "Welcome Card 72 Stunden AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 21 = {if} "Welcome Card 72 Stunden ABC" (S.$.AFR4_Ticket_Name) "Welcome Card 72 Stunden ABC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 22 = {if} "City-Tour-Card 48 Stunden AB" (S.$.AFR4_Ticket_Name) "City-Tour-Card 48 Stunden AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 23 = {if} "City-Tour-Card 48 Stunden ABC" (S.$.AFR4_Ticket_Name) "City-Tour-Card 48 Stunden ABC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 24 = {if} "City-Tour-Card 72 Stunden AB" (S.$.AFR4_Ticket_Name) "City-Tour-Card 72 Stunden AB" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 25 = {if} "City-Tour-Card 72 Stunden ABC" (S.$.AFR4_Ticket_Name) "City-Tour-Card 72 Stunden ABC" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 26 = {if} "Berlin-Brandenburg-Ticket" (S.$.AFR4_Ticket_Name) "Berlin-Brandenburg-Ticket" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 27 = {if} "Ort Stadtline" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 28 = {if} "OVG Landkreis Kurzstrecke" (S.$.AFR4_Ticket_Name) "" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) 2.30 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} (L.L.AFR4_Ticket) 29 = {if} "Quittung Fahrzeug-Verunreinigung" (S.$.AFR4_Ticket_Name) "Quittung Fahrzeug-Verunreinigung" (S.$.AFR4_Ticket_Button_Name) "" (S.$.AFR4_Ticket_Abfahrtsort) "" (S.$.AFR4_Ticket_Ankunftsort) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 0:00" $+ (S.$.AFR4_Ticket_Gueltigkeit_von) (L.S.Day) $IntToStr "." $+ (L.S.Month) $IntToStr $+ "." $+ (L.S.Year) $IntToStr $+ " 23:59" $+ (S.$.AFR4_Ticket_Gueltigkeit_bis) 3.50 (S.L.AFR4_Ticket_Preis_Regeltarif) -1 (S.L.AFR4_Ticket_Preis_Ermaessigt) 2 (S.L.AFR4_Ticket_Index) {endif} {end} {macro:AFR4_GetBusstops} "" (S.$.AFR4_Haltestelle_0_Arr) "" (S.$.AFR4_Haltestelle_1_Arr) "" (S.$.AFR4_Haltestelle_2_Arr) "" (S.$.AFR4_Haltestelle_3_Arr) "" (S.$.AFR4_Haltestelle_4_Arr) "" (S.$.AFR4_Haltestelle_0_o) "" (S.$.AFR4_Haltestelle_0_u) "" (S.$.AFR4_Haltestelle_1_o) "" (S.$.AFR4_Haltestelle_1_u) "" (S.$.AFR4_Haltestelle_2_o) "" (S.$.AFR4_Haltestelle_2_u) "" (S.$.AFR4_Haltestelle_3_o) "" (S.$.AFR4_Haltestelle_3_u) "" (S.$.AFR4_Haltestelle_4_o) "" (S.$.AFR4_Haltestelle_4_u) (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - s1 4 > {if} "" (L.L.AFR4_Selected_Haltestelle) 3 + (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_4_o) {endif} l1 3 > {if} "" (L.L.AFR4_Selected_Haltestelle) 2 + (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_3_o) {endif} l1 2 > {if} "" (L.L.AFR4_Selected_Haltestelle) 1 + (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_2_o) {endif} l1 1 > {if} "" (L.L.AFR4_Selected_Haltestelle) (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_1_o) {endif} l1 0 > {if} "" (L.L.AFR4_Aktive_Haltestelle) (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_0_o) {endif} {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) (L.L.AFR4_Aktive_Haltestelle) - (L.L.AFR4_HofError) - s1 4 > {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 1 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_4_o) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 2 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_4_u) {endif} l1 3 > {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 1 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_3_o) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 2 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_3_u) {endif} l1 2 > {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 1 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_2_o) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 2 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_2_u) {endif} l1 1 > {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 1 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_1_o) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Selected_Haltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 2 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_1_u) {endif} l1 0 > {if} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Aktive_Haltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 1 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_0_o) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Aktive_Haltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 2 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_0_u) {endif} {endif} (L.L.schedule_active_intern) {if} (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_0_Arr) (L.L.AFR4_Selected_Haltestelle) (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_1_Arr) (L.L.AFR4_Selected_Haltestelle) 1 + (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_2_Arr) (L.L.AFR4_Selected_Haltestelle) 2 + (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_3_Arr) (L.L.AFR4_Selected_Haltestelle) 3 + (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_4_Arr) {else} l1 4 > {if} "00:00" (S.$.AFR4_Haltestelle_4_Arr) {endif} l1 3 > {if} "00:00" (S.$.AFR4_Haltestelle_3_Arr) {endif} l1 2 > {if} "00:00" (S.$.AFR4_Haltestelle_2_Arr) {endif} l1 1 > {if} "00:00" (S.$.AFR4_Haltestelle_1_Arr) {endif} l1 0 > {if} "00:00" (S.$.AFR4_Haltestelle_0_Arr) {endif} {endif} {end} {macro:AFR4_GetBusstops_F} (L.L.AFR4_BusstopStartDiv) (L.L.AFR4_BusstopIndex) 0 = && {if} (L.L.AFR4_Aktive_Haltestelle) {else} (L.L.AFR4_Aktive_Haltestelle) 1 + {endif} s0 (L.L.AFR4_RBL_SaveMode) {if} "" (L.L.AFR4_Aktive_Haltestelle) (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_0) "" l0 (M.V.GetTTBusstopName) (S.$.AFR4_Haltestelle_1) {else} (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Aktive_Haltestelle) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 3 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_0) (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) l0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) "" 3 (M.V.GetBusstopString) (S.$.AFR4_Haltestelle_1) {endif} (L.L.AFR4_Aktive_Haltestelle) (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_0_Arr) (L.L.AFR4_Selected_Haltestelle) (L.L.AFR4_BusstopStartDiv) + (M.V.GetTTBusstopArr) s3 0 = ! {if} 0 s4 (M.L.GetTime) {else} "" {endif} (S.$.AFR4_Haltestelle_1_Arr) {end} {macro:AFR4_PlayAnnouncement} (L.L.schedule_active_intern) {if} "..\..\Announcements\" 0 (M.V.GetDepotStringGlobal) "\" $+ $+ (L.L.AFR4_RBL_SaveMode) {if} (L.L.AFR4_Aktive_Haltestelle) {else} (L.L.AFR4_Aktive_Haltestelle) 1 + {endif} (M.V.GetTTBusstopName) $+ (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) 1 - {else} (M.V.GetTTBusstopCount) 2 - {endif} (L.L.AFR4_Aktive_Haltestelle) = {if} "_#terminus" $+ 1 (S.L.AFR4_LastBusstop) {endif} ".wav" $+ {else} "..\..\Announcements\" 0 (M.V.GetDepotStringGlobal) "\" $+ $+ (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (L.L.AFR4_Aktive_Haltestelle) (M.V.GetRouteBusstopIdent) $+ (L.L.AFR4_Linie) 100 * (L.L.AFR4_Route) + (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 - (L.L.AFR4_HofError) - (L.L.AFR4_Aktive_Haltestelle) <= {if} "_#terminus" $+ 1 (S.L.AFR4_LastBusstop) {endif} ".wav" $+ {endif} {end} {macro:FillUmlauf} (L.$.AFR4_Display_Umlauf_0_Route) "" $= {if} (M.L.AFR4_Display_Umlauf_weiterschalten) {endif} (L.$.AFR4_Display_Umlauf_0_Route) "" $= {if} (M.L.AFR4_Display_Umlauf_weiterschalten) {endif} (L.$.AFR4_Display_Umlauf_0_Route) "" $= {if} (M.L.AFR4_Display_Umlauf_weiterschalten) {endif} {end} {macro:GetNextUmlauf} s7 -1 > {if} (M.L.AFR4_Display_Umlauf_weiterschalten) l7 $IntToStr (S.$.AFR4_Display_Umlauf_3_Route) (L.L.AFR4_Linie_intern) 100 * l7 + (M.L.GetTerminusStartString) (S.$.AFR4_Display_Umlauf_3_Terminus) {else} -1 {endif} {end} {macro:GetRecentUmlauf} s7 -1 > {if} (M.L.AFR4_Display_Umlauf_zurueckschalten) l7 $IntToStr (S.$.AFR4_Display_Umlauf_0_Route) (L.L.AFR4_Linie_intern) 100 * l7 + (M.L.GetTerminusStartString) (S.$.AFR4_Display_Umlauf_0_Terminus) {else} -1 {endif} {end} {macro:AFR4_Display_Umlauf_zurueckschalten} (L.$.AFR4_Display_Umlauf_2_Route) (S.$.AFR4_Display_Umlauf_3_Route) (L.$.AFR4_Display_Umlauf_1_Route) (S.$.AFR4_Display_Umlauf_2_Route) (L.$.AFR4_Display_Umlauf_0_Route) (S.$.AFR4_Display_Umlauf_1_Route) "" (S.$.AFR4_Display_Umlauf_0_Route) (L.$.AFR4_Display_Umlauf_2_Terminus) (S.$.AFR4_Display_Umlauf_3_Terminus) (L.$.AFR4_Display_Umlauf_1_Terminus) (S.$.AFR4_Display_Umlauf_2_Terminus) (L.$.AFR4_Display_Umlauf_0_Terminus) (S.$.AFR4_Display_Umlauf_1_Terminus) "" (S.$.AFR4_Display_Umlauf_0_Terminus) {end} {macro:AFR4_Display_Umlauf_weiterschalten} (L.$.AFR4_Display_Umlauf_1_Route) (S.$.AFR4_Display_Umlauf_0_Route) (L.$.AFR4_Display_Umlauf_2_Route) (S.$.AFR4_Display_Umlauf_1_Route) (L.$.AFR4_Display_Umlauf_3_Route) (S.$.AFR4_Display_Umlauf_2_Route) "" (S.$.AFR4_Display_Umlauf_3_Route) (L.$.AFR4_Display_Umlauf_1_Terminus) (S.$.AFR4_Display_Umlauf_0_Terminus) (L.$.AFR4_Display_Umlauf_2_Terminus) (S.$.AFR4_Display_Umlauf_1_Terminus) (L.$.AFR4_Display_Umlauf_3_Terminus) (S.$.AFR4_Display_Umlauf_2_Terminus) "" (S.$.AFR4_Display_Umlauf_3_Terminus) {end} {macro:SonderzeichenExists} s0 l0 0 = l0 1 = || l0 3 = || l0 4 = || l0 6 = || l0 9 = || l0 11 = || l0 12 = || l0 13 = || l0 14 = || l0 20 = || l0 24 = || l0 26 = || l0 29 = || l0 33 = || l0 35 = || l0 36 = || l0 37 = || l0 48 = || l0 49 = || l0 50 = || l0 53 = || l0 54 = || l0 55 = || l0 56 = || l0 57 = || l0 58 = || l0 59 = || l0 60 = || l0 61 = || l0 62 = || l0 63 = || l0 64 = || l0 65 = || l0 66 = || l0 67 = || l0 68 = || l0 69 = || l0 70 = || l0 71 = || l0 72 = || l0 73 = || l0 78 = || l0 79 = || l0 80 = || l0 90 = || l0 99 = || {if} 1 {else} -1 {endif} {end} 'Dieses Macro führt "GetRouteCode_1" 99x mal aus. {macro:GetRouteCode} '#Fehler Sonderzeichen im Linienstring können nicht aufgeloest werden 'was passiert wenn kein Fahrplan gewählt ist? (M.V.GetTTLineString) $StrToFloat -1 = {if} (L.L.AFR4_Linie_intern) {else} (M.V.GetTTLineString) $StrToFloat {endif} (S.L.Linie) 100 * (S.L.Route) 0 > {if} (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_10) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_9) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} (L.L.FoundEntry) {if} 0 (S.L.FoundEntry) (L.L.Route) (L.L.Linie) 100 * - (S.L.Route) {else} -1 (S.L.Route) {endif} {end} 'Dieses Macro führt "GetRouteCode_1" 10x mal aus. {macro:GetRouteCode_10} (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "GetRouteCode_1" 9x mal aus. {macro:GetRouteCode_9} (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) (L.L.FoundEntry) 0 = {if} (M.L.GetRouteCode_1) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {macro:GetRouteCode_1} (L.L.Route) 1 + (S.L.Route) (L.L.Route) (M.V.GetRouteIndex) (M.V.GetBusstopCount) 1 + (M.V.GetTTBusstopCount) = (L.L.Route) (M.V.GetRouteIndex) 0 "" "DEBUG" (M.V.GetRouteBusstopIdent) 0 (M.V.GetTTBusstopName) $= && {if} 1 (S.L.AFR4_BusstopStartDiv) 1 (S.L.FoundEntry) {endif} {end} {macro:GetTerminusEndIndex} (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10000) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} 0 (S.L.FoundEntry) l0 1 - (S.L.TerminusEndIndex) {end} 'Dieses Macro führt "GetTerminusEndIndex_1" 10000x mal aus. {macro:GetTerminusEndIndex_10000} (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1000) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "GetTerminusEndIndex_1" 1000x mal aus. {macro:GetTerminusEndIndex_1000} (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_100) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "GetTerminusEndIndex_1" 100x mal aus. {macro:GetTerminusEndIndex_100} (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_10) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "GetTerminusEndIndex_1" 10x mal aus. {macro:GetTerminusEndIndex_10} (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) (L.L.FoundEntry) 0 = {if} (M.L.GetTerminusEndIndex_1) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {macro:GetTerminusEndIndex_1} l0 (M.V.GetTerminusCode) -1 = ! {if} l0 1 + s0 0 (S.L.FoundEntry) {else} -1 (S.L.FoundEntry) {endif} {end} {macro:GetTerminusEndString} s6 (L.L.AFR4_RBL_SaveMode) {if} (M.V.GetTTBusstopCount) 1 - (M.V.GetTTBusstopName) {else} l6 (M.V.GetRouteIndex) s4 (M.V.GetBusstopCount) 1 - s5 l4 l5 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 "" "" (M.V.GetBusstopString) $= {if} l5 1 - s5 l4 l5 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 "" (M.V.GetBusstopString) {else} l6 (M.V.GetRouteIndex) s4 (M.V.GetBusstopCount) 1 - s5 l4 l5 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 "" "" (M.V.GetBusstopString) {endif} {endif} {end} {macro:GetHofError} (M.V.GetRouteIndex) s4 (M.V.GetBusstopCount) 1 - s5 l4 l5 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 "" "" (M.V.GetBusstopString) $= {if} 1 (S.L.AFR4_HofError) {else} 0 (S.L.AFR4_HofError) {endif} {end} {macro:GetTerminusStartString} s6 (L.L.AFR4_RBL_SaveMode) {if} 0 (M.V.GetTTBusstopName) {else} l6 (M.V.GetRouteIndex) 0 (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) {endif} {end} 'Sucht auf Basis der gegebenen Linie, die nächste Linie in der Hofdatei. {macro:GetLineNext} s7 100 * (S.L.RouteCode) 1 (S.L.LineNext) (M.L.ReadHof) 0 (S.L.LineNext) (L.L.RouteCode) {end} 'Sucht auf Basis der gegebenen Linie, die vorherige Linie in der Hofdatei. {macro:GetLineRecent} s7 100 * (S.L.RouteCode) 1 (S.L.LineRecent) (M.L.ReadHof) 0 (S.L.LineRecent) (L.L.RouteCode) {end} 'Sucht die erste Linie in der Hofdatei. {macro:GetLineFirst} 0 (S.L.RouteCode) 1 (S.L.LineFirst) (M.L.ReadHof) 0 (S.L.LineFirst) (L.L.GetLineFirst) {end} 'Sucht die letzte Linie in der Hofdatei. {macro:GetLineFinal} 0 (S.L.RouteCode) 1 (S.L.LineFinal) (M.L.ReadHof) 0 (S.L.LineFinal) (L.L.GetLineFinal) {end} 'Sucht auf Basis der gegebenen Linie, die nächste Route der Linie in der Hofdatei. {macro:GetRouteNext} 1 + (S.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat s7 1 (S.L.RouteNext) (M.L.ReadHof) 0 (S.L.RouteNext) (L.L.RouteCode) {end} 'Sucht auf Basis der gegebenen Linie, die vorherige Route der Linie in der Hofdatei. {macro:GetRouteRecent} 1 - (S.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat s7 1 (S.L.RouteRecent) (M.L.ReadHof) 0 (S.L.RouteRecent) (L.L.RouteCode) {end} 'Sucht auf Basis der gegebenen Linie, die erste Route der Linie in der Hofdatei. {macro:GetRouteFirst} s7 100 * (S.L.RouteCode) 1 (S.L.RouteFirst) (M.L.ReadHof) 0 (S.L.RouteFirst) (L.L.GetRouteFirst) {end} 'Sucht auf Basis der gegebenen Linie, die letzte Route der Linie in der Hofdatei. {macro:GetRouteFinal} s7 100 * (S.L.RouteCode) 1 (S.L.RouteFinal) (M.L.ReadHof) 0 (S.L.RouteFinal) (L.L.GetRouteFinal) {end} 'Prüft, ob Linie in der Hofdatei existiert. {macro:LineExists} s7 100 * (S.L.RouteCode) 1 (S.L.LineExists) (M.L.ReadHof) (L.L.LineExists) 2 = {if} 0 (S.L.LineExists) 1 {else} 0 (S.L.LineExists) -1 {endif} {end} 'Dieses Macro führt "ReadHof_1" 100000x mal aus. {macro:ReadHof} (L.L.GetLineFinal) 100 * 100 + s5 (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10000) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} 0 (S.L.FoundEntry) {end} 'Dieses Macro führt "ReadHof_1" 10000x mal aus. {macro:ReadHof_10000} (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1000) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "ReadHof_1" 1000x mal aus. {macro:ReadHof_1000} (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_100) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "ReadHof_1" 100x mal aus. {macro:ReadHof_100} (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_10) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro führt "ReadHof_1" 10x mal aus. {macro:ReadHof_10} (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) (L.L.FoundEntry) 0 = {if} (M.L.ReadHof_1) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} 'Dieses Macro liest die Hofdatei nach folgende Kriterien aus: 'Linie: '-LineNext: Sucht die nächste Linie. '-LineRecent: Sucht die Linie vor der übergebenen Linie '-LineFirst: Sucht die erste Linie. '-LineFinal: Sucht die letzte Linie. 'Route: 'Hinweis: Bei Route wird nicht über die übergebene Linie hinaus gesucht! '-RouteNext: Sucht die nächste Route, falls vorhanden. '-RouteRecent: Sucht die Route vor der übergebenen Route. '-RouteFirst: Sucht die erste Route. '-RouteFinal: Sucht die letzte Route. 'Sonstiges: '-LineExists: Prüft, ob Linie existiert. {macro:ReadHof_1} (L.L.RouteCode) -1 > (L.L.LineFinal) 1 = (L.L.RouteCode) l5 <= || && {if} ' Fallunterscheidung, ob RouteCode um 1 erweitert, oder um 1 reduziert werden muss. (L.L.LineNext) (L.L.LineFinal) || (L.L.LineFirst) || (L.L.RouteNext) || (L.L.RouteFinal) || (L.L.RouteFirst) || (L.L.LineExists) || {if} ' Überprüfen, ob RouteCode existiert, sonst nächsten RouteCode überprüfen. (L.L.RouteCode) (M.V.GetRouteIndex) -1 = {if} (L.L.RouteCode) 1 + (S.L.RouteCode) {else} ' Wenn RouteCode existiert, dann soll je nach Suchoption unterschiedliches ausgeführt werden: (L.L.LineNext) {if} ' Wenn die Linie nicht die übergebene Linie ist, dann Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= ! {if} (L.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat (S.L.RouteCode) 1 (S.L.FoundEntry) {else} ' Sonst weitersuchen... (L.L.RouteCode) 1 + (S.L.RouteCode) {endif} {else} (L.L.LineFinal) {if} ' Wenn die 99999 überschritten, ist die letzte gefundene Linie, die Letzte in der Hofdatei. (L.L.RouteCode) $IntToStr 2 $cutEnd (L.L.GetLineFinal) $IntToStr $= ! {if} (L.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat (S.L.GetLineFinal) (L.L.RouteCode) 1 + (S.L.RouteCode) {endif} (L.L.RouteCode) 1 + (S.L.RouteCode) {else} (L.L.LineFirst) {if} ' Automatisch beim ersten Treffer Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat (S.L.GetLineFirst) 1 (S.L.FoundEntry) {else} (L.L.RouteNext) {if} ' Wenn Linie die selbe ist, dann Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= {if} ' Ich würde ja gerne $SetLengthR benutzen, nur funkt das hier irwie nit... (L.L.RouteCode) $IntToStr $length 2 - $cutBegin $StrToFloat (S.L.RouteCode) 1 (S.L.FoundEntry) {else} ' Wenn Linie nicht die selbe ist, suche auch beenden. -1 (S.L.RouteCode) 1 (S.L.FoundEntry) {endif} {else} (L.L.RouteFinal) {if} ' Wenn die 99999 überschritten, ist die letzte gefundene Route, die Letzte in der Hofdatei. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= {if} (L.L.RouteCode) $IntToStr $length 2 - $cutBegin $StrToFloat (S.L.GetRouteFinal) (L.L.RouteCode) 1 + (S.L.RouteCode) {else} ' Wenn Linie nicht die selbe ist, suche beenden. 1 (S.L.FoundEntry) {endif} {else} (L.L.RouteFirst) {if} ' Wenn Linie die selbe ist, dann Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= {if} (L.L.RouteCode) $IntToStr $length 2 - $cutBegin $StrToFloat (S.L.GetRouteFirst) 1 (S.L.FoundEntry) {else} ' Wenn Linie nicht die selbe ist, weitersuchen... (L.L.RouteCode) 1 + (S.L.RouteCode) {endif} {else} (L.L.LineExists) {if} (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= {if} 2 (S.L.LineExists) 1 (S.L.FoundEntry) {else} (L.L.RouteCode) 1 + (S.L.RouteCode) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {else} (L.L.LineRecent) (L.L.RouteRecent) || {if} ' Überprüfen, ob RouteCode existiert, sonst vorigen RouteCode überprüfen. (L.L.RouteCode) (M.V.GetRouteIndex) -1 = {if} (L.L.RouteCode) 1 - (S.L.RouteCode) {else} ' Wenn RouteCode existiert, dann soll je nach Suchoption unterschiedliches ausgeführt werden: (L.L.LineRecent) {if} ' Wenn Linie nicht die selbe, dann Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= ! {if} (L.L.RouteCode) $IntToStr 2 $cutEnd $StrToFloat (S.L.RouteCode) 1 (S.L.FoundEntry) {else} ' Sonst weitersuchen... (L.L.RouteCode) 1 - (S.L.RouteCode) {endif} {else} (L.L.RouteRecent) {if} ' Wenn Linie die selbe ist, dann Suche beenden. (L.L.RouteCode) $IntToStr 2 $cutEnd l7 $IntToStr $= {if} (L.L.RouteCode) $IntToStr $length 2 - $cutBegin $StrToFloat (S.L.RouteCode) 1 (S.L.FoundEntry) {else} ' Wenn Linie nicht die selbe ist, suche auch beenden. Kann der Performance zugunsten, nicht auf schlechte Map-Bauer Acht geben... -1 (S.L.RouteCode) 1 (S.L.FoundEntry) {endif} {endif} {endif} {endif} {endif} {endif} {else} -1 (S.L.RouteCode) 1 (S.L.FoundEntry) {endif} {end} {macro:GetTime} l3 60 % trunc (S.L.AFR4_Uhrzeit_sec) l3 3600 / s3 trunc (S.L.AFR4_Uhrzeit_h) l3 (L.L.AFR4_Uhrzeit_h) - 60 * trunc (S.L.AFR4_Uhrzeit_min) l4 1 <= {if} (L.L.AFR4_Uhrzeit_h) $IntToStr ":" $+ {endif} (L.L.AFR4_Uhrzeit_min) 10 < {if} "0" (L.L.AFR4_Uhrzeit_min) $IntToStr $+ {else} (L.L.AFR4_Uhrzeit_min) $IntToStr {endif} l4 1 <= {if} $+ {endif} l4 0 > {if} ":" $+ (L.L.AFR4_Uhrzeit_sec) 10 < {if} "0" (L.L.AFR4_Uhrzeit_sec) $IntToStr $+ {else} (L.L.AFR4_Uhrzeit_sec) $IntToStr {endif} $+ {endif} {end} {macro:AFR4_Display_ST_Init} (L.L.AFR4_Display_ST_ID) (M.V.STNewTex) (L.L.AFR4_Display_ST_ID) (M.V.STLock) (L.L.AFR4_Display_ST_ID) 0 255 0 0 (M.V.STSetColor) {end} {macro:AFR4_Display_ST_Clear} (L.L.AFR4_Display_ST_ID) (M.V.STNewTex) (L.L.AFR4_Display_ST_ID) (M.V.STLock) (L.L.AFR4_Display_ST_ID) (M.V.STUnlock) (L.L.AFR4_Display_ST_ID) (M.V.STFilter) {end} {macro:AFR4_Display_writeLine_R} (L.$.AFR4_Display_Font) (M.V.GetFontIndex) s2 l2 (L.$.AFR4_Display_Text) (M.V.TextLength) s3 l0 l3 - s4 (L.L.AFR4_Display_ST_ID) l4 l1 l2 2 0 (L.$.AFR4_Display_Text) (M.V.STTextOut) {end} {macro:AFR4_Display_writeLine_M} (L.$.AFR4_Display_Font) (M.V.GetFontIndex) s2 l2 (L.$.AFR4_Display_Text) (M.V.TextLength) 2 / trunc s3 l0 l3 - s4 (L.L.AFR4_Display_ST_ID) l4 l1 l2 2 0 (L.$.AFR4_Display_Text) (M.V.STTextOut) {end} {macro:AFR4_Display_writeLine_L} (L.$.AFR4_Display_Font) (M.V.GetFontIndex) s2 (L.L.AFR4_Display_ST_ID) l0 l1 l2 2 0 (L.$.AFR4_Display_Text) (M.V.STTextOut) {end}