Cet écran sert à déterminer l'effet d'une fonction sur le comportement du moteur de la locomotive.
Pour chaque fonction, nous pourrions configurer:
- Accel: La locomotive suit-elle la configuration de l'accélération ou non
- Shunt: Vitesse divisée par 2;
- Sound: Son ou sans son (véronique)
- Shift: Les sons alternatifs sont joués à la place des sont de bases.
- Blower: Ventilateur on / off (si défini comme son)
- Doppler: Activation de l'effet doppler sur le son
- Mute: Mute ou volume (double click de la fonction nécessaire)
- Dynamic: Division par deux de la décélération ou de l'accélération
Code de configuration
- Code: Tout sélectionner
<variable label="F0 Forward Button" CV="142" mask="XXXXXXXV" item="F0 forward1">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XXXXXXVX" item="F0 (f)2">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XXXXXVXX" item="F0 (f)3">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XXXXVXXX" item="F0 (f)4">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XXXVXXXX" item="F0 (f)5">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XXVXXXXX" item="F0 (f)6">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="XVXXXXXX" item="F0 (f)7">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
<variable label="F0 Forward Button" CV="142" mask="VXXXXXXX" item="F0 (f)8">
<enumVal>
<enumChoice choice="OFF/ON"/>
<enumChoice choice="Acceleration on/off"/>
<enumChoice choice="Shunting Mode on/off"/>
<enumChoice choice="Sound on/off" />
<enumChoice choice="Shift Mode" />
<enumChoice choice="Blower Sound" />
<enumChoice choice="Doppler on Slot 1" />
<enumChoice choice="Mute/Volume Control" />
<enumChoice choice="Dynamic Brake" />
</enumVal>
</variable>
...
Je n'ai repris le code que de la touche F0 sens avant. Ce même code est reproduit pour chaque touche de fonction (F0 à F15 + senseurs (2*2sens) + arrêt ou démarrage de la locomotive). Rien de compliqué, mais très long!
Code de présentation
- Code: Tout sélectionner
<pane name="Button Behavior">
<column>
<label label="Button Accel" />
<display item="F0 forward1" format="checkbox" layout="left" label="F0 Forward"/>
<display item="F0 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F1 forward1" format="checkbox" layout="left" label="F1 Forward"/>
<display item="F1 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F2 forward1" format="checkbox" layout="left" label="F2 Forward"/>
<display item="F2 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F3 forward1" format="checkbox" layout="left" label="F3 Forward"/>
<display item="F3 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F4 forward1" format="checkbox" layout="left" label="F4 Forward"/>
<display item="F4 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F5 forward1" format="checkbox" layout="left" label="F5 Forward"/>
<display item="F5 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F6 forward1" format="checkbox" layout="left" label="F6 Forward"/>
<display item="F6 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F7 forward1" format="checkbox" layout="left" label="F7 Forward"/>
<display item="F7 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F8 forward1" format="checkbox" layout="left" label="F8 Forward"/>
<display item="F8 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F9 forward1" format="checkbox" layout="left" label="F9 Forward"/>
<display item="F9 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F10 forward1" format="checkbox" layout="left" label="F10 Forward"/>
<display item="F10 (r)1" format="checkbox" layout="left" label="Reverse"/>
</column>
<column>
<label label="Shunt" />
*** </column>
<column>
<label label="Sound" />
*** </column>
<column>
<label label="Shift" />
*** </column>
<column>
<label label="Blower"/>
*** </column>
<column>
<label label="Doppler" />
*** </column>
<column>
<label label="Mute" />
*** </column>
<column>
<label label="Dynamic" />
*** </column>
<column>
<label label="Button Accel" />
<display item="F11 forward1" format="checkbox" layout="left" label="F11 Forward"/>
<display item="F11 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F12 forward1" format="checkbox" layout="left" label="F12 Forward"/>
<display item="F12 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F13 forward1" format="checkbox" layout="left" label="F13 Forward"/>
<display item="F13 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F14 forward1" format="checkbox" layout="left" label="F14 Forward"/>
<display item="F14 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="F15 forward1" format="checkbox" layout="left" label="F15 Forward"/>
<display item="F15 (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="Stop forward1" format="checkbox" layout="left" label="Stop Forward"/>
<display item="Stop (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="Running forward1" format="checkbox" layout="left" label="Running Forward"/>
<display item="Running (r)1" format="checkbox" layout="left" label="Reverse"/>
<display item="Sensor1 fwd1" format="checkbox" layout="left" label="Sensor 1 Forward"/>
<display item="Sensor1 rev1" format="checkbox" layout="left" label="Reverse"/>
<display item="Sensor2 fwd1" format="checkbox" layout="left" label="Sensor 2 Forward"/>
<display item="Sensor2 rev1" format="checkbox" layout="left" label="Reverse"/>
</column>
<column>
<label label="Shunt" />
*** </column>
<column>
<label label="Sound" />
*** </column>
<column>
<label label="Shift" />
*** </column>
<column>
<label label="Blower" />
*** </column>
<column>
<label label="Doppler" />
*** </column>
<column>
<label label="Mute" />
*** </column>
<column>
<label label="Dynamic" />
*** </column>
</pane>
NB: Vu la longueur du code, conséquente, je n'ai reproduit que la première colonne de chaque demi tableau (fonctions de 0 à 10 et de 11 à 15 + senseurs et mouvement de la loco)
C'est long, donc difficile à appréhender, mais ce n'est que la description de chaque élément d'un long tableau.