|
|
| IMPLEMENTATION Controleur_francais |
| REFINES Controleur2 |
| INCLUDES Route |
| IMPORTS Etat_feu, A.Couleur_feu,B.Couleur_feu |
| VALUES |
| convention={cross|® s1,cross_end|® s2,
stop|® s3, stop_end|® s4, off|® s0}; |
| feu_suivant = { s1|® s2, s2 |® s3, s3 |® s4,
s4|® s1, s0|® s0}; |
| color={ s1|® vert, s2 |® orange, s3 |® rouge,
s4|® rouge, s0|® orange_clignotant} |
| INVARIANT ... |
| INITIALISATION ... |
| ... |
| END |
|