src/server/server.py
def on_simulate_lap(data):
    '''Simulates a lap (for debug testing).'''
    node_index = data['node']
    logger.info('Simulated lap: Node {0}'.format(node_index+1))
    Events.trigger(Evt.CROSSING_EXIT, {
        'nodeIndex': node_index,
        'color': hexToColor(Options.get('colorNode_' + str(node_index), '#ffffff'))
        })
    INTERFACE.intf_simulate_lap(node_index, 0)
Simulates a lap (for debug testing).
Simulates a lap (for debug testing).
Simulates a lap ( for debug testing ) .
def on_simulate_lap(data):
    node_index = data['node']
    logger.info('Simulated lap: Node {0}'.format(node_index+1))
    Events.trigger(Evt.CROSSING_EXIT, {
        'nodeIndex': node_index,
        'color': hexToColor(Options.get('colorNode_' + str(node_index), '#ffffff'))
        })
    INTERFACE.intf_simulate_lap(node_index, 0)
def on_simulate_lap ( data ) : node_index = data [ 'node' ] logger . info ( 'Simulated lap: Node {0}' . format ( node_index + 1 ) ) Events . trigger ( Evt . CROSSING_EXIT , { 'nodeIndex' : node_index , 'color' : hexToColor ( Options . get ( 'colorNode_' + str ( node_index ) , '#ffffff' ) ) } ) INTERFACE . intf_simulate_lap ( node_index , 0 )
Simulates a lap (for debug testing).
Simulates a lap ( for debug testing ) .
'''Simulates a lap (for debug testing).'''
data