Ejemplo n.º 1
0
def setPhaseDuration(tlsID, phaseDuration):
    trace._sendIntCmd(tc.CMD_SET_TL_VARIABLE, tc.TL_PHASE_DURATION, tlsID,
                      int(1000 * phaseDuration))
Ejemplo n.º 2
0
def setPhase(tlsID, index):
    trace._sendIntCmd(tc.CMD_SET_TL_VARIABLE, tc.TL_PHASE_INDEX, tlsID, index)
Ejemplo n.º 3
0
def setPhaseDuration(tlsID, phaseDuration):
    trace._sendIntCmd(tc.CMD_SET_TL_VARIABLE, tc.TL_PHASE_DURATION, tlsID, int(1000*phaseDuration))
Ejemplo n.º 4
0
def setPhase(tlsID, index):
    trace._sendIntCmd(tc.CMD_SET_TL_VARIABLE, tc.TL_PHASE_INDEX, tlsID, index)
Ejemplo n.º 5
0
def setSignals(vehID, signals):
    trace._sendIntCmd(tc.CMD_SET_VEHICLE_VARIABLE, tc.VAR_SIGNALS, vehID, signals)
Ejemplo n.º 6
0
def setSignals(vehID, signals):
    trace._sendIntCmd(tc.CMD_SET_VEHICLE_VARIABLE, tc.VAR_SIGNALS, vehID,
                      signals)