Class TrafficLightSetProgram

    • Constructor Detail

      • TrafficLightSetProgram

        public TrafficLightSetProgram()
    • Method Detail

      • execute

        public void execute​(Bridge bridge,
                            String tlId,
                            String programId)
        Description copied from interface: TrafficLightSetProgram
        This method executes the command with the given arguments in order to set the traffic light program.
        Specified by:
        execute in interface TrafficLightSetProgram
        Parameters:
        bridge - Connection to SUMO.
        tlId - Id of the traffic light.
        programId - Id of the traffic light program.