'S&B Faremaster 'C 2018 Christian Rolle {trigger:ticketprinter_getticket} 0 (S.L.faremaster_ticket_pos) -1 (S.L.faremaster_ticket) (S.L.GivenTicket) (T.L.ev_ticketsale_giveticket) {end} {trigger:cp_Faremaster_Mainklick} 1 (S.L.Faremaster_Mainklick) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad0} 0 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad1} 1 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad2} 2 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad3} 3 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad4} 4 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad5} 5 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad6} 6 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad7} 7 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad8} 8 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad9} 9 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad_OK} 80 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Keypad_DEL} 90 (M.L.Faremaster_Keypad) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_1} 1 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_2} 2 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_3} 3 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_4} 4 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_5} 5 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_MainMenu_6} 6 (M.L.Faremaster_Mainmenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_1} 1 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_2} 2 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_3} 3 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_4} 4 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_5} 5 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_UMenu_6} 6 (M.L.Faremaster_UMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_0} 1 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_1} 2 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_2} 3 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_3} 4 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_4} 5 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_5} 6 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_6} 7 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_7} 8 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_8} 9 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_SMenu_9} 10 (M.L.Faremaster_SMenu) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Stop_Up} 1 (S.L.Faremaster_HSTMode) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Stop_Up_off} 0 (S.L.Faremaster_HSTMode) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Stop_Down} 2 (S.L.Faremaster_HSTMode) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Stop_Down_off} 0 (S.L.Faremaster_HSTMode) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Settings_light_1} 1 (S.L.Faremaster_Light) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Settings_light_2} 2 (S.L.Faremaster_Light) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Settings_light_3} 3 (S.L.Faremaster_Light) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_1} 0 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_2} 1 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_3} 2 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_4} 3 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_5} 4 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} {trigger:cp_Faremaster_Ticket_6} ' 5 (S.L.Faremaster_Ticket) (T.L.ev_printer_button_on) {end} '---------------------- ' Init '---------------------- {macro:faremaster_init} 0 (S.L.Faremaster_Mode) 1 (S.L.Faremaster_Mainmenu_select) "" (S.$.Faremaster_Header) "" (S.$.Faremaster_Keypad) 0 (S.L.Faremaster_BusStop) 3 (S.L.Faremaster_Light) -1 (S.L.Faremaster_RouteIndex) -1 (S.L.Faremaster_Ticket) {end} {macro:Ticketprinter_init} {end} {macro:Ticketprinter_frame} {end} '---------------------- ' Frame '---------------------- {macro:faremaster_frame} (L.L.elec_busbar_main) (C.L.elec_busbar_Vmin) < {if} (L.L.elec_failure_general) {if} (C.L.ticketprinter_standby_sec) (S.L.globaltimer) {endif} 1 (S.L.ticketprinter_abschalten) {else} 0 (S.L.ticketprinter_abschalten) {endif} (L.L.ticketprinter_abschalten) {if} (L.L.globaltimer) (L.S.Timegap) + (S.L.globaltimer) (C.L.ticketprinter_standby_sec) >= {if} 0 (S.L.ticketprinter_an) 0 (S.L.IBIS_LinieKurs) (S.L.IBIS_Route) (S.L.Faremaster_ShowInfo) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) (S.$.CD_LineTerminus) (S.$.CD_StopCurrent) (S.$.CD_Stop1) (S.$.CD_Stop2) (S.$.CD_Stop3) (S.$.CD_Stop4) (S.$.Faremaster_Header) (S.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) (S.$.Faremaster_terminus_name) (S.$.Faremaster_Ticket) (S.$.Faremaster_Ticketstring) {endif} {else} 0 (S.L.globaltimer) {endif} (L.L.elec_busbar_main) (C.L.elec_busbar_Vmin) > {if} 1 (S.L.ticketprinter_an) {endif} 'Unterscheidung zwischen Fahrplan und Normal: (L.L.schedule_active) {if} (L.L.Faremaster_BusStop) 1 + (M.V.GetTTBusstopCount) = {if} (M.V.GetTTBusstopIndex) (M.V.GetTTBusstopName) (S.$.Fare_IFIS_CurrentStop) 1 (S.L.Fare_Weiterschaltung) {else} (M.V.GetTTBusstopIndex) (M.V.GetTTBusstopName) (L.$.Fare_IFIS_CurrentStop) $= ! {if} (M.V.GetTTBusstopIndex) (M.V.GetTTBusstopName) (S.$.Fare_IFIS_CurrentStop) 1 (S.L.Fare_Weiterschaltung) {endif} {endif} {else} (L.L.door_0) 0 > (L.L.door_1) 0 > || (L.L.door_2) 0 > || (L.L.door_3) 0 > || (L.L.door_4) 0 > || (L.L.door_5) 0 > || ' (L.L.door_6) 0 > || ' (L.L.door_7) 0 > || (L.L.Faremaster_RouteIndex) 0 >= && {if} 1 (S.L.Fare_Weiterschaltung_aktiv) (L.L.kmcounter_m) (S.L.Fare_weiterschaltung_distanz) {endif} (L.L.kmcounter_m) (L.L.Fare_weiterschaltung_distanz) - 0 < {if} (L.L.kmcounter_m) (S.L.Fare_weiterschaltung_distanz) {endif} (L.L.kmcounter_m) (L.L.Fare_weiterschaltung_distanz) - 50 >= (L.L.Fare_Weiterschaltung_aktiv) && (L.L.ticketprinter_an) && (L.L.Faremaster_RouteIndex) 0 >= && {if} (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) = {if} (L.L.IBIS_Route) s0 1.5 < {if} 2 s1 {else} l0 2.5 < {if} 1 s1 {endif} {endif} (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) 0 >= {if} 1 (S.L.Faremaster_RouteDir) (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) (S.L.Faremaster_RouteIndex) (M.L.Faremaster_SetRoute) l1 (S.L.IBIS_Route) (M.V.GetTTBusstopIndex) (M.V.GetTTBusstopName) (S.$.Fare_IFIS_CurrentStop) {endif} 1 (S.L.Faremaster_Stop_Lock) {else} (L.L.Faremaster_BusStop) 1 + (S.L.Faremaster_BusStop) 1 (S.L.Faremaster_Stop_Lock) {endif} (M.L.Faremaster_PlayAnnouncement) 0 (S.L.Fare_Weiterschaltung) (S.L.Fare_Weiterschaltung_aktiv) {endif} {endif} (L.L.faremaster_druckt) {if} (L.L.faremaster_ticket_pos) (L.S.Timegap) 1 * + (S.L.faremaster_ticket_pos) 1 > {if} (L.L.Faremaster_Ticket) (S.L.GivenTicket) 0 (S.L.faremaster_druckt) {endif} {endif} (L.L.faremaster_druckt) ! (L.L.GivenTicket) 0 < && (L.L.faremaster_ticket_pos) 1 >= && {if} 0 (S.L.faremaster_ticket_pos) -1 (S.L.Faremaster_Ticket) (T.L.ev_ticketsale_giveticket) {endif} (L.L.ticketprinter_an) {if} (L.L.Faremaster_Mode) ! {if} (M.L.Faremaster_Boot) {else} (L.L.Faremaster_RouteIndex) (L.L.Faremaster_BusStop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) (S.L.IBIS_busstop_index) (L.L.Faremaster_RouteIndex) (S.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (S.L.IBIS_busstop) 'Vor: (L.L.cp_microphone_sw) 1 = (L.L.Fare_Weiterschaltung) 1 = || (L.L.Faremaster_HSTMode) 2 = || (L.L.Faremaster_Stop_Lock) ! && {if} (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) = {if} (L.L.IBIS_Route) s0 1.5 < {if} 2 s1 {else} l0 2.5 < {if} 1 s1 {endif} {endif} (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) 0 >= {if} 1 (S.L.Faremaster_RouteDir) (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) (S.L.Faremaster_RouteIndex) (M.L.Faremaster_SetRoute) l1 (S.L.IBIS_Route) (M.V.GetTTBusstopIndex) (M.V.GetTTBusstopName) (S.$.Fare_IFIS_CurrentStop) {endif} 1 (S.L.Faremaster_Stop_Lock) {else} (L.L.Faremaster_BusStop) 1 + (S.L.Faremaster_BusStop) 1 (S.L.Faremaster_Stop_Lock) {endif} (M.L.Faremaster_PlayAnnouncement) 0 (S.L.Fare_Weiterschaltung) {endif} 'R ck: (L.L.Faremaster_HSTMode) 1 = (L.L.Faremaster_Stop_Lock) ! && {if} (L.L.Faremaster_BusStop) 1 - 0 = {if} (L.L.IBIS_Route) s0 l0 2 = {if} 1 s1 {endif} l0 1 = {if} 2 s1 {endif} (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) 0 >= {if} 0 (S.L.Faremaster_RouteDir) (L.L.IBIS_LinieKurs) 100 * l1 + (M.V.GetRouteIndex) (S.L.Faremaster_RouteIndex) (M.L.Faremaster_SetRoute) l1 (S.L.IBIS_Route) {endif} 1 (S.L.Faremaster_Stop_Lock) {else} (L.L.Faremaster_BusStop) 1 - 0 max (S.L.Faremaster_BusStop) 1 (S.L.Faremaster_Stop_Lock) {endif} (M.L.Faremaster_PlayAnnouncement) {endif} (L.L.cp_microphone_sw) ! (L.L.Faremaster_HSTMode) ! && {if} 0 (S.L.Faremaster_Stop_Lock) {endif} (M.L.Faremaster_Header) (L.L.Faremaster_Mode) 1 = {if} "" (S.$.Faremaster_Ticket) 0 (S.L.Faremaster_SMenu_active) (S.L.Faremaster_UMenu_active) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "Faremaster\Main.dds" (S.$.Faremaster_Maintexture) (L.L.Faremaster_Mainklick) {if} 2 (S.L.Faremaster_Mode) 0 (S.L.Faremaster_Mainklick) {endif} {endif} (L.L.Faremaster_Mode) 2 = {if} "" (S.$.Faremaster_Ticket) 0 (S.L.Faremaster_SMenu_active) (S.L.Faremaster_UMenu_active) 1 (S.L.Faremaster_Keypad_active) 1 (S.L.Faremaster_MainMenu_2) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "Faremaster\Login.dds" (S.$.Faremaster_Maintexture) (M.L.Keypad_Frame) {endif} (L.L.Faremaster_Mode) 3 = {if} "" (S.$.Faremaster_Ticket) 1 (S.L.Faremaster_SMenu_active) (S.L.Faremaster_UMenu_active) (M.L.Keypad_Frame) 1 (S.L.Faremaster_Keypad_active) 1 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "Faremaster\Mainmenu_" (L.L.Faremaster_Mainmenu_select) 1 max $IntToStr $+ ".dds" $+ (S.$.Faremaster_Maintexture) {endif} (L.L.Faremaster_Mode) 4 = {if} "" (S.$.Faremaster_Ticket) ' (M.L.Keypad_Frame) 1 (S.L.Faremaster_SMenu_active) (S.L.Faremaster_UMenu_active) "" (S.$.Faremaster_Login) (S.$.Faremaster_Keypad_V) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "Faremaster\Stops.dds" (S.$.Faremaster_Maintexture) ' "Test@Test" (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) ' (L.L.Faremaster_BusStopCount) (L.L.schedule_active) {if} (L.L.Faremaster_BusStop) 1 = {if} " @ " (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) 1 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ 1 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ 1 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) 2 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ 2 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ 2 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop3) (L.L.IBIS_RouteIndex) 3 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ 3 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ 3 (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop4) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStopCount) 1 - (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStopCount) 1 - (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStopCount) 1 - (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop5) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 2 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop3) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 2 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 2 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 2 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop4) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 1 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop3) "" "@" $+ (S.$.Faremaster_Stop4) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 0 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetTTBusstopDep) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop2) "" "@" $+ (S.$.Faremaster_Stop3) "" "@" $+ (S.$.Faremaster_Stop4) {endif} {endif} {endif} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStopCount) 1 - (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (L.L.Faremaster_BusStopCount) 1 - (M.V.GetTTBusstopArr) 3600 / s0 trunc s1 "02" $IntToStrEnh $+ ":" $+ (L.L.Faremaster_BusStopCount) 1 - (M.V.GetTTBusstopArr) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh $+ (S.$.Faremaster_Stop5) {endif} {else} (L.L.Faremaster_BusStop) 1 = {if} " @ " (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) 1 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) 2 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop3) (L.L.IBIS_RouteIndex) 3 (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop4) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStopCount) 1 - (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop5) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 2 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop3) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 2 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop4) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 1 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop2) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 + (L.L.Faremaster_BusStopCount) 1 - min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop3) "" "@" $+ (S.$.Faremaster_Stop4) {else} (L.L.Faremaster_BusStopCount) (L.L.Faremaster_BusStop) - 0 > {if} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) 1 - 0 max (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop1) (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (L.L.Faremaster_BusStopCount) min (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop2) "" "@" $+ (S.$.Faremaster_Stop3) "" "@" $+ (S.$.Faremaster_Stop4) {endif} {endif} {endif} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStopCount) 1 - (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 3 (M.V.GetBusstopString) "@" $+ (S.$.Faremaster_Stop5) {endif} {endif} {endif} (L.L.Faremaster_Mode) 90 = {if} 0 (S.L.Faremaster_SMenu_active) 1 (S.L.Faremaster_UMenu_active) "" (S.$.Faremaster_Login) (S.$.Faremaster_Keypad_V) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "" (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) "Faremaster\Settings_" (L.L.Faremaster_Light) $IntToStr $+ ".dds" $+ (S.$.Faremaster_Maintexture) "" (S.$.Faremaster_Ticket) (L.L.Faremaster_Light) s0 l0 1 = {if} 0.6 (S.L.Faremaster_Dim) {endif} l0 2 = {if} 0.3 (S.L.Faremaster_Dim) {endif} l0 3 = {if} 0 (S.L.Faremaster_Dim) {endif} {endif} (L.L.Faremaster_Mode) 91 = {if} 1 (S.L.Faremaster_SMenu_active) 1 (S.L.Faremaster_UMenu_active) "" (S.$.Faremaster_Login) (S.$.Faremaster_Keypad_V) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "" (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) "Faremaster\visctrl.dds" (S.$.Faremaster_Maintexture) "" (S.$.Faremaster_Ticket) {endif} (L.L.Faremaster_Mode) 92 = {if} 1 (S.L.Faremaster_SMenu_active) 1 (S.L.Faremaster_UMenu_active) "" (S.$.Faremaster_Login) (S.$.Faremaster_Keypad_V) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "" (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) "Faremaster\message.dds" (S.$.Faremaster_Maintexture) "" (S.$.Faremaster_Ticket) {endif} (L.L.Faremaster_Mode) 99 = {if} 1 (S.L.Faremaster_SMenu_active) 0 (S.L.Faremaster_UMenu_active) "" (S.$.Faremaster_Login) (S.$.Faremaster_Keypad_V) 0 (S.L.Faremaster_Keypad_active) 0 (S.L.Faremaster_MainMenu_1) (S.L.Faremaster_MainMenu_2) (S.L.Faremaster_MainMenu_3) (S.L.Faremaster_MainMenu_4) (S.L.Faremaster_MainMenu_5) (S.L.Faremaster_MainMenu_6) "" (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) "Faremaster\VK.dds" (S.$.Faremaster_Maintexture) 0 (M.V.GetTicketName) "Fahrschein Nor" $= {if} "Fahrschein Normal" {else} 0 (M.V.GetTicketName) {endif} "@" $+ 1 (M.V.GetTicketName) "Kurzstr Norm " $= {if} "Kurzstrecke Normal" $+ {else} 1 (M.V.GetTicketName) $+ {endif} "@" $+ 2 (M.V.GetTicketName) "Tageskarte Nor" $= {if} "Tageskarte Normal" $+ {else} 2 (M.V.GetTicketName) $+ {endif} "@" $+ 3 (M.V.GetTicketName) "Fahrschein Erm" $= {if} "Fahrschein Erm igt" $+ {else} 3 (M.V.GetTicketName) $+ {endif} "@" $+ 4 (M.V.GetTicketName) "Kurzstr Erm " $= {if} "Kurzstrecke Erm igt" $+ {else} 4 (M.V.GetTicketName) $+ {endif} "@" $+ " " $+ (S.$.Faremaster_Ticketstring) (L.L.Faremaster_Ticket) -1 = {if} "0" (S.$.Faremaster_Preis_Euro) "00" (S.$.Faremaster_Preis_Cent) "zu zahlen: " (L.$.Faremaster_Preis_Euro) $+ "," $+ (L.$.Faremaster_Preis_Cent) $+ " @" $+ (S.$.Faremaster_Ticket) {else} "" (L.L.Faremaster_Ticket) (M.V.GetTicketValue) 100 * 0.005 + trunc $IntToStr $+ (S.$.Faremaster_Preis) "" (L.$.Faremaster_Preis) $length 3 = {if} "" (L.$.Faremaster_Preis) 1 $SetLengthL (S.$.Faremaster_Preis_Euro) "" (L.$.Faremaster_Preis) 2 $SetLengthR (S.$.Faremaster_Preis_Cent) {endif} "zu zahlen: " (L.$.Faremaster_Preis_Euro) $+ "," $+ (L.$.Faremaster_Preis_Cent) $+ " @" $+ (L.$.Faremaster_Preis_Euro) $+ "," $+ (L.$.Faremaster_Preis_Cent) $+ " 1x " $+ (L.L.Faremaster_Ticket) (M.V.GetTicketName) $+ (S.$.Faremaster_Ticket) {endif} {else} "" (S.$.Faremaster_Ticketstring) {endif} (L.L.Faremaster_Mode) 900 = {if} "Faremaster\Error.dds" (S.$.Faremaster_Maintexture) (L.L.Faremaster_Error_Timer) (L.S.Timegap) + (S.L.Faremaster_Error_Timer) 2 > {if} 1 (L.$.Faremaster_Keypad_V) $SetLengthR "|" $= {if} 1 (L.$.Faremaster_Keypad_V) $cutEnd (S.$.Faremaster_Keypad) {else} (L.$.Faremaster_Keypad_V) (S.$.Faremaster_Keypad) {endif} 3 (S.L.Faremaster_Mode) {endif} {else} 0 (S.L.Faremaster_Error_Timer) {endif} {endif} {else} 0 (S.L.Faremaster_Boot_Timer) (S.L.Faremaster_Mode) 1 (S.L.Faremaster_Mainmenu_select) "Faremaster\SU_II_Dummy.dds" (S.$.Faremaster_Maintexture) "" (S.$.Faremaster_Header) (S.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) (S.$.Faremaster_terminus_name) 0 (S.L.Faremaster_BusStop) "" (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) "" (S.$.Faremaster_Ticket) {endif} (L.L.IBIS_RouteIndex) 0 >= (L.L.Faremaster_RouteIndex) 0 >= || (L.L.ticketprinter_an) && {if} (L.L.door_0) 0.5 > (L.L.door_2) 0.5 > || (L.L.door_4) 0.5 > || ' (L.L.door_6) 0.5 > || {if} (L.L.IBIS_TerminusIndex) 5 (M.V.GetTerminusString) (S.$.IBIS_cabindisplay) {else} (L.L.IBIS_busstop_index) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_busstop_index) 2 (M.V.GetBusstopString) $+ $length 21 < {if} (L.L.IBIS_busstop_index) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_busstop_index) 2 (M.V.GetBusstopString) $+ (S.$.IBIS_cabindisplay) {else} (L.L.IBIS_busstop_index) 3 (M.V.GetBusstopString) (S.$.IBIS_cabindisplay) {endif} {endif} {else} "" (S.$.IBIS_cabindisplay) {endif} ' Infotainment (L.L.IBIS_RouteIndex) 0 >= (L.L.Faremaster_RouteIndex) 0 >= || (L.L.ticketprinter_an) && (L.L.Infotainment_Boot) 15 > && {if} (L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) (L.L.IBIS_busstop) - s0 l0 5 >= {if} (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_StopCurrent) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop1) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop2) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop3) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 4 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 4 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop4) {endif} l0 4 = {if} (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_StopCurrent) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop1) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop2) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 3 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop3) " " (S.$.CD_Stop4) {endif} l0 3 = {if} (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_StopCurrent) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop1) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 2 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop2) " " (S.$.CD_Stop3) " " (S.$.CD_Stop4) {endif} l0 2 = {if} (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_StopCurrent) (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) 1 + (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_Stop1) " " (S.$.CD_Stop2) " " (S.$.CD_Stop3) " " (S.$.CD_Stop4) {endif} l0 1 = {if} (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 1 (M.V.GetBusstopString) " " $+ (L.L.IBIS_RouteIndex) (L.L.IBIS_busstop) (M.V.GetRouteBusstopIdent) (M.V.GetBusstopIndex) 2 (M.V.GetBusstopString) $+ (S.$.CD_StopCurrent) " " (S.$.CD_Stop1) " " (S.$.CD_Stop2) " " (S.$.CD_Stop3) " " (S.$.CD_Stop4) {endif} " " (L.$.Matrix_Nr) $+ " " $+ (L.L.IBIS_TerminusIndex) 5 (M.V.GetTerminusString) $+ (S.$.CD_LineTerminus) {else} (L.L.Infotainment_Boot) 14 > (L.L.Infotainment_Boot) 15 < && {if} "A5-V78.4 - F1" (S.$.CD_LineTerminus) "A5-V78.4 - F2" (S.$.CD_StopCurrent) "A5-V78.4 - F3" (S.$.CD_Stop1) "A5-V78.4 - F4" (S.$.CD_Stop2) "A5-V78.4 - F5" (S.$.CD_Stop3) "A5-V78.4 - F6" (S.$.CD_Stop4) {else} "" (S.$.CD_LineTerminus) (S.$.CD_StopCurrent) (S.$.CD_Stop1) (S.$.CD_Stop2) (S.$.CD_Stop3) (S.$.CD_Stop4) {endif} {endif} (L.L.ticketprinter_an) {if} (L.L.Infotainment_Boot) (L.S.Timegap) + (S.L.Infotainment_Boot) (L.L.haltewunsch) {if} (L.L.HStop_timer) (L.S.Timegap) + 1 min (S.L.HStop_timer) 1 = {if} 0 (S.L.HStop_timer) {endif} {else} 0 (S.L.HStop_timer) {endif} (L.L.Infotainment_Boot) 12 > {if} (L.L.haltewunsch) ! {if} "cabindisplay_left_main.png" (S.$.CD_Display_Left) (L.L.Infotainment_Boot) 20 < {if} "cabindisplay_right_main.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 20 > (L.L.Infotainment_Boot) 30 < && {if} "cabindisplay_right_ad1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 30 > (L.L.Infotainment_Boot) 40 < && {if} "cabindisplay_right_ad2.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 40 > {if} "cabindisplay_right_ad3.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 50 > {if} 20 (S.L.Infotainment_Boot) {endif} {else} "cabindisplay_left_stop.png" (S.$.CD_Display_Left) (L.L.HStop_timer) 0.75 < {if} "cabindisplay_right_stop.png" (S.$.CD_Display_Right) {else} "cabindisplay_right_stop2.png" (S.$.CD_Display_Right) {endif} {endif} {endif} (L.L.Infotainment_Boot) 0 > (L.L.Infotainment_Boot) 1 < && {if} "cabindisplay_boot1.png" (S.$.CD_Display_Left) (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 1 > (L.L.Infotainment_Boot) 3 < && {if} "cabindisplay_boot3.png" (S.$.CD_Display_Left) "cabindisplay_boot1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 3 > (L.L.Infotainment_Boot) 4 < && {if} "cabindisplay_boot4.png" (S.$.CD_Display_Left) "cabindisplay_boot1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 4 > (L.L.Infotainment_Boot) 6 < && {if} "cabindisplay_boot5.png" (S.$.CD_Display_Left) "cabindisplay_boot1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 6 > (L.L.Infotainment_Boot) 9 < && {if} "cabindisplay_boot1.png" (S.$.CD_Display_Left) "cabindisplay_boot1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 9 > (L.L.Infotainment_Boot) 9.2 < && {if} "cabindisplay_boot2.png" (S.$.CD_Display_Left) "cabindisplay_boot2.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 9.2 > (L.L.Infotainment_Boot) 10 < && {if} "cabindisplay_boot1.png" (S.$.CD_Display_Left) "cabindisplay_boot1.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 10 > (L.L.Infotainment_Boot) 12 < && {if} "cabindisplay_boot2.png" (S.$.CD_Display_Left) "cabindisplay_boot2.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 12 > (L.L.Infotainment_Boot) 14 < && {if} "cabindisplay_left_boot.png" (S.$.CD_Display_Left) "cabindisplay_right_boot.png" (S.$.CD_Display_Right) {endif} (L.L.Infotainment_Boot) 14 > (L.L.Infotainment_Boot) 15 < && {if} "A5-V78.4 - F7" (S.$.CD_TimeDate) {endif} (L.L.Infotainment_Boot) 15 > {if} (L.S.Day) "02" $IntToStrEnh "." $+ (L.S.Month) "02" $IntToStrEnh $+ "." $+ (L.S.Year) $IntToStr $+ " " $+ (L.$.vdo_panel_time) $+ (S.$.CD_TimeDate) {endif} {else} "cabindisplay_off.png" (S.$.CD_Display_Left) (S.$.CD_Display_Right) 0 (S.L.Infotainment_Boot) " " (S.$.CD_TimeDate) {endif} {end} {macro:Faremaster_Boot} (L.L.Faremaster_Boot_Timer) (L.S.Timegap) + (S.L.Faremaster_Boot_Timer) s0 l0 2 (C.L.Faremaster_Boot_Time) * < {if} 1 (S.L.ticketprinter_an) "Faremaster\SU_II_Dummy.dds" (S.$.Faremaster_Maintexture) {endif} l0 2 (C.L.Faremaster_Boot_Time) * > l0 4 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\Boot1.dds" (S.$.Faremaster_Maintexture) {endif} l0 4 (C.L.Faremaster_Boot_Time) * > l0 5 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\Boot2.dds" (S.$.Faremaster_Maintexture) {endif} l0 5 (C.L.Faremaster_Boot_Time) * > l0 7 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\Boot3.dds" (S.$.Faremaster_Maintexture) {endif} l0 7 (C.L.Faremaster_Boot_Time) * > l0 10 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\Boot4.dds" (S.$.Faremaster_Maintexture) {endif} l0 10 (C.L.Faremaster_Boot_Time) * > l0 15 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\Boot5.dds" (S.$.Faremaster_Maintexture) {endif} l0 15 (C.L.Faremaster_Boot_Time) * > l0 20 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\WCE.dds" (S.$.Faremaster_Maintexture) {endif} l0 20 (C.L.Faremaster_Boot_Time) * > l0 25 (C.L.Faremaster_Boot_Time) * < && {if} "Faremaster\SB.dds" (S.$.Faremaster_Maintexture) {endif} l0 25 (C.L.Faremaster_Boot_Time) * > {if} 1 (S.L.Faremaster_Mode) {endif} {end} {macro:Faremaster_Keypad} s0 l0 90 = {if} 1 (L.$.Faremaster_Keypad) $cutEnd (S.$.Faremaster_Keypad) {endif} l0 80 = {if} (L.L.Faremaster_Mainmenu_select) 1 >= (L.L.Faremaster_Mainmenu_select) 3 <= && {if} (L.L.Faremaster_Mode) 3 = (L.$.Faremaster_Keypad) $length 4 >= && {if} (L.$.Faremaster_Keypad) $StrToFloat s0 (S.L.IBIS_Linie_Complex) l0 100 / trunc s1 (S.L.IBIS_LinieKurs) l0 100 % 0 max s2 (S.L.IBIS_Route) l1 100 * l2 + (M.V.GetRouteIndex) (S.L.Faremaster_RouteIndex) 0 < {if} 900 (S.L.Faremaster_Mode) 0 (S.L.Faremaster_ShowInfo) {else} 1 (S.L.Faremaster_RouteDir) (S.L.Faremaster_DestMode) (M.L.Faremaster_SetRoute) 4 (S.L.Faremaster_Mode) {endif} {endif} {endif} (L.L.Faremaster_Mainmenu_select) 4 >= (L.L.Faremaster_Mainmenu_select) 6 <= && {if} (L.$.Faremaster_Keypad) $StrToFloat (S.L.IBIS_TerminusCode) (M.V.GetTerminusIndex) s0 0 < {if} 900 (S.L.Faremaster_Mode) 0 (S.L.Faremaster_ShowInfo) {else} l0 (S.L.IBIS_TerminusIndex) 2 (S.L.Faremaster_DestMode) (M.L.Faremaster_SetRoute) {endif} {endif} (L.L.Faremaster_Mode) 2 = (L.$.Faremaster_Keypad) $StrToFloat 10 >= && {if} (L.$.Faremaster_Keypad) (S.$.Faremaster_Login) "" (S.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) 3 (S.L.Faremaster_Mode) {endif} {endif} (L.L.Faremaster_Mainmenu_select) 1 >= (L.L.Faremaster_Mainmenu_select) 3 <= && (L.L.Faremaster_Mode) 2 = || {if} l0 10 < (L.$.Faremaster_Keypad) $length 4 <= && {if} (L.$.Faremaster_Keypad) l0 $IntToStr $+ (S.$.Faremaster_Keypad) {endif} {endif} (L.L.Faremaster_Mainmenu_select) 4 >= (L.L.Faremaster_Mainmenu_select) 6 <= && {if} l0 10 < (L.$.Faremaster_Keypad) $length 2 <= && {if} (L.$.Faremaster_Keypad) l0 $IntToStr $+ (S.$.Faremaster_Keypad) {endif} {endif} {end} {macro:Faremaster_Mainmenu} s0 (S.L.Faremaster_Mainmenu_select) (L.L.Faremaster_Mode) 2 = {if} l0 2 = {if} 1 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) {endif} {endif} {end} {macro:Faremaster_UMenu} s0 (S.L.Faremaster_Umenu_select) l0 1 = {if} 3 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) {endif} l0 2 = {if} 90 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) {endif} l0 4 = {if} 92 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) {endif} l0 5 = {if} 91 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) {endif} l0 6 = {if} 4 (S.L.Faremaster_Mode) {endif} {end} {macro:Faremaster_SMenu} s0 (S.L.Faremaster_Smenu_select) (L.L.Faremaster_Mode) 99 = (L.L.Faremaster_Smenu_select) 1 = && {if} 4 (S.L.Faremaster_Mode) {else} (L.L.Faremaster_Smenu_select) 1 = {if} 99 (S.L.Faremaster_Mode) "" (S.$.Faremaster_Keypad_V) (S.$.Faremaster_Stop2) (S.$.Faremaster_Stop1) (S.$.Faremaster_Stop3) (S.$.Faremaster_Stop4) (S.$.Faremaster_Stop5) {endif} {endif} (L.L.Faremaster_Smenu_select) 9 = (L.L.Faremaster_Smenu_select) 10 = || (L.L.Faremaster_Mode) 99 = && (L.L.Faremaster_Ticket) 0 >= && {if} 1 (S.L.faremaster_druckt) (T.L.ev_printer_printing) {endif} {end} {macro:Keypad_Frame} (L.L.Keypad_Timegap) (L.S.Timegap) + (S.L.Keypad_Timegap) s0 (L.L.Faremaster_Mode) 2 = {if} l0 0.75 < {if} (L.$.Faremaster_Keypad) "|" $+ (S.$.Faremaster_Keypad_V) {endif} l0 0.75 > l0 1.5 < && {if} (L.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) {endif} l0 1.5 > {if} 0 (S.L.Keypad_Timegap) {endif} {endif} (L.L.Faremaster_Mode) 3 = {if} (L.L.Faremaster_Mainmenu_select) 1 >= (L.L.Faremaster_Mainmenu_select) 3 <= && {if} l0 0.75 < {if} (L.$.Faremaster_Keypad) $length 3 > (L.$.Faremaster_Keypad) $length 5 < && {if} (L.$.Faremaster_Keypad) 3 $SetLengthL $RemoveSpaces (S.$.Faremaster_Buffer1) (L.$.Faremaster_Keypad) 1 $SetLengthR $RemoveSpaces (S.$.Faremaster_Buffer2) (L.$.Faremaster_Buffer1) " " $+ (L.$.Faremaster_Buffer2) $+ "|" $+ (S.$.Faremaster_Keypad_V) {endif} (L.$.Faremaster_Keypad) $length 5 = {if} (L.$.Faremaster_Keypad) 3 $SetLengthL $RemoveSpaces (S.$.Faremaster_Buffer1) (L.$.Faremaster_Keypad) 2 $SetLengthR $RemoveSpaces (S.$.Faremaster_Buffer2) (L.$.Faremaster_Buffer1) " " $+ (L.$.Faremaster_Buffer2) $+ "|" $+ (S.$.Faremaster_Keypad_V) {endif} (L.$.Faremaster_Keypad) $length 3 < {if} (L.$.Faremaster_Keypad) "|" $+ (S.$.Faremaster_Keypad_V) {endif} (L.$.Faremaster_Keypad) $length 3 = {if} (L.$.Faremaster_Keypad) " " $+ "|" $+ (S.$.Faremaster_Keypad_V) {endif} {endif} l0 0.75 > l0 1.5 < && {if} (L.$.Faremaster_Keypad) $length 3 > (L.$.Faremaster_Keypad) $length 5 < && {if} (L.$.Faremaster_Keypad) 3 $SetLengthL $RemoveSpaces (S.$.Faremaster_Buffer1) (L.$.Faremaster_Keypad) 1 $SetLengthR $RemoveSpaces (S.$.Faremaster_Buffer2) (L.$.Faremaster_Buffer1) " " $+ (L.$.Faremaster_Buffer2) $+ (S.$.Faremaster_Keypad_V) {endif} (L.$.Faremaster_Keypad) $length 5 = {if} (L.$.Faremaster_Keypad) 3 $SetLengthL $RemoveSpaces (S.$.Faremaster_Buffer1) (L.$.Faremaster_Keypad) 2 $SetLengthR $RemoveSpaces (S.$.Faremaster_Buffer2) (L.$.Faremaster_Buffer1) " " $+ (L.$.Faremaster_Buffer2) $+ (S.$.Faremaster_Keypad_V) {endif} (L.$.Faremaster_Keypad) $length 3 <= {if} (L.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) {endif} {endif} l0 1.5 > {if} 0 (S.L.Keypad_Timegap) {endif} {endif} (L.L.Faremaster_Mainmenu_select) 4 >= (L.L.Faremaster_Mainmenu_select) 6 <= && {if} l0 0.75 < {if} (L.$.Faremaster_Keypad) "|" $+ (S.$.Faremaster_Keypad_V) {endif} l0 0.75 > l0 1.5 < && {if} (L.$.Faremaster_Keypad) (S.$.Faremaster_Keypad_V) {endif} l0 1.5 > {if} 0 (S.L.Keypad_Timegap) {endif} {endif} {endif} {end} {macro:Faremaster_SetRoute} (L.L.Faremaster_DestMode) 1 = {if} (L.L.Faremaster_RouteDir) 1 = {if} (L.L.Faremaster_RouteIndex) (S.L.IBIS_RouteIndex) (M.V.GetRouteTerminusIndex) (S.L.IBIS_TerminusIndex) (M.V.GetTerminusCode) (S.L.IBIS_TerminusCode) (L.L.IBIS_TerminusIndex) 5 (M.V.GetTerminusString) (S.$.IBIS_terminus_name) (L.L.Faremaster_RouteIndex) (S.L.IBIS_RouteIndex) (M.V.GetBusstopCount) (S.L.Faremaster_BusStopCount) 0 (S.L.Faremaster_BusStop) {else} (L.L.Faremaster_RouteIndex) (S.L.IBIS_RouteIndex) (M.V.GetRouteTerminusIndex) (S.L.IBIS_TerminusIndex) (M.V.GetTerminusCode) (S.L.IBIS_TerminusCode) (L.L.IBIS_TerminusIndex) 5 (M.V.GetTerminusString) (S.$.IBIS_terminus_name) (L.L.Faremaster_RouteIndex) (S.L.IBIS_RouteIndex) (M.V.GetBusstopCount) (S.L.Faremaster_BusStopCount) 1 - (S.L.Faremaster_BusStop) {endif} (L.L.IBIS_LinieKurs) s4 100 / trunc s5 l5 5 = {if} l4 100 * 5 (M.V.GetDepotStringGlobal) $StrToFloat 0 max (S.L.IBIS_Linie_Suffix) + (S.L.IBIS_Linie_Complex) {endif} l5 8 = {if} l4 100 * 4 (M.V.GetDepotStringGlobal) $StrToFloat 0 max (S.L.IBIS_Linie_Suffix) + (S.L.IBIS_Linie_Complex) {endif} l5 9 = {if} l4 100 * 3 (M.V.GetDepotStringGlobal) $StrToFloat 0 max (S.L.IBIS_Linie_Suffix) + (S.L.IBIS_Linie_Complex) {endif} {endif} 1 (S.L.Faremaster_ShowInfo) (L.L.IBIS_TerminusIndex) 5 (M.V.GetTerminusString) (S.$.Faremaster_terminus_name) (T.L.ev_IBIS_entwerter) 1 (S.L.Faremaster_Route_active) {end} {macro:Faremaster_Header} (L.S.Time) 3600 / s0 trunc s1 "02" $IntToStrEnh (S.$.Faremaster_Stunde) (L.S.Time) 3600 / s0 trunc s1 l0 l1 - 60 * "02" $IntToStrEnh (S.$.Faremaster_Minute) (L.$.Faremaster_Stunde) $StrToFloat 60 * 60 * s2 (L.$.Faremaster_Minute) $StrToFloat 60 * s3 "" (L.S.Time) l2 l3 + - 10 < {if} 0 $IntToStr (L.S.Time) l2 l3 + - $IntToStr $+ (S.$.Faremaster_Sekunde) {else} (L.S.Time) l2 l3 + - $IntToStr $+ (S.$.Faremaster_Sekunde) {endif} (M.V.GetTTDelay) s1 60 / s0 l0 abs trunc " 2" $IntToStrEnh (S.$.Faremaster_Delay_min) l0 abs l0 abs trunc - 6 * $IntToStr $StrToFloat 10 * "02" $IntToStrEnh (S.$.Faremaster_Delay_sec) l1 abs 6 >= {if} l0 0 > {if} "+" (S.$.Faremaster_Delay_state) {else} "-" (S.$.Faremaster_Delay_state) {endif} {else} " " (S.$.Faremaster_Delay_state) {endif} (L.L.schedule_active) {if} (L.L.Faremaster_ShowInfo) ! {if} " " "--- --" $+ " " $+ (L.$.Faremaster_Stunde) $+ ":" $+ (L.$.Faremaster_Minute) $+ ":" $+ (L.$.Faremaster_Sekunde) $+ " " $+ (L.$.Faremaster_Delay_state) $+ (L.$.Faremaster_Delay_min) $+ ":" $+ (L.$.Faremaster_Delay_sec) $+ (S.$.Faremaster_Header) {else} " " (L.L.IBIS_LinieKurs) "03" $IntToStrEnh $+ " " $+ (L.L.IBIS_Route) "02" $IntToStrEnh $+ " " $+ (L.$.Faremaster_Stunde) $+ ":" $+ (L.$.Faremaster_Minute) $+ ":" $+ (L.$.Faremaster_Sekunde) $+ " " $+ (L.$.Faremaster_Delay_state) $+ (L.$.Faremaster_Delay_min) $+ ":" $+ (L.$.Faremaster_Delay_sec) $+ (S.$.Faremaster_Header) {endif} {else} (L.L.Faremaster_ShowInfo) ! {if} " " "--- --" $+ " " $+ (L.$.Faremaster_Stunde) $+ ":" $+ (L.$.Faremaster_Minute) $+ ":" $+ (L.$.Faremaster_Sekunde) $+ " " $+ " --:--" (S.$.Faremaster_Header) {else} " " (L.L.IBIS_LinieKurs) "03" $IntToStrEnh $+ " " $+ (L.L.IBIS_Route) "02" $IntToStrEnh $+ " " $+ (L.$.Faremaster_Stunde) $+ ":" $+ (L.$.Faremaster_Minute) $+ ":" $+ (L.$.Faremaster_Sekunde) $+ " " $+ " --:--" $+ (S.$.Faremaster_Header) {endif} {endif} {end} {macro:Faremaster_PlayAnnouncement} (L.L.IBIS_RouteIndex) (L.L.Faremaster_BusStop) (M.V.GetRouteBusstopIdent) (S.$.Fare_busstop) (L.L.Faremaster_BusStop) 0 > {if} 0 (M.V.GetDepotStringGlobal) "HamburgHafenCity" $= 0 (M.V.GetDepotStringGlobal) "HamburgTagUndNacht" $= || {if} "..\..\Announcements\" 0 (M.V.GetDepotStringGlobal) "\" $+ $+ (L.L.IBIS_LinieKurs) $IntToStr $+ "_" $+ (L.$.Fare_busstop) $+ $msg (L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.Faremaster_BusStop) <= {if} "_#terminus" $+ {endif} ".wav" $+ (T.F.ev_ansage) {else} "..\..\Announcements\" 0 (M.V.GetDepotStringGlobal) "\" $+ $+ (L.$.Fare_busstop) $+ $msg (L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.Faremaster_BusStop) <= {if} "_#terminus" $+ {endif} ".wav" $+ (T.F.ev_ansage) {endif} {endif} {end}