8.2 Setup the model

import room.basic.service.timing.* from  
"../../org.eclipse.etrice.modellib/models/TimingService.room"

PIC The GuiAdapter represents the interface to the external code. It registers its ControlPort by the external code.

PIC Visit the initial transition to understand the registration. The actor handles the incoming messages as usual and controls the traffic lights as known from blinky.

PIC The Controller receives the start message and controls the timing of the lights. Note that the start message will be sent from the external code whenever the REQUEST button is pressed.

PIC