develop:cs-protocol-fr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
develop:cs-protocol-fr [2025/05/28 11:48] – [Client requests] phil45 | develop:cs-protocol-fr [2025/05/28 11:56] (current) – [Auto event] phil45 | ||
---|---|---|---|
Line 43: | Line 43: | ||
Commandes du modèle: https:// | Commandes du modèle: https:// | ||
\\ | \\ | ||
- | ==== Get the complete | + | ==== Obtenir le plan complet |
<code xml> | <code xml> | ||
<model cmd=" | <model cmd=" | ||
</ | </ | ||
- | ==== Get a list ==== | + | ==== Obtenir une liste ==== |
- | The locomotives: | + | Les locomotives: |
<code xml> | <code xml> | ||
<model cmd=" | <model cmd=" | ||
</ | </ | ||
- | The switches: | + | Les aiguillages: |
<code xml> | <code xml> | ||
<model cmd=" | <model cmd=" | ||
</ | </ | ||
- | ==== Get an object | + | ==== Obtenir un objet ==== |
Locomotive: | Locomotive: | ||
<code xml> | <code xml> | ||
Line 64: | Line 64: | ||
\\ | \\ | ||
- | ==== Complete loco example | + | ==== Exemple de locomotive complet |
<code xml> | <code xml> | ||
< | < | ||
Line 70: | Line 70: | ||
\\ | \\ | ||
- | ===== Server responses | + | ===== Réponses du serveur |
- | For every client | + | Pour chaque demande du client |
\\ | \\ | ||
- | ==== Plan response | + | ==== Réponse du plan ==== |
<code xml> | <code xml> | ||
< | < | ||
Line 79: | Line 79: | ||
\\ | \\ | ||
- | ===== Server events | + | ===== Évènement du serveur |
- | Many events are broadcasted to all clients | + | De nombreux événements sont diffusés à tous les clients, y compris les modifications |
- | Just a few example events. | + | Quelques exemples d' |
- | ==== Power event ==== | + | ==== Évènement alimentation |
- | Track power became high: | + | L' |
<code xml> | <code xml> | ||
<state power=" | <state power=" | ||
</ | </ | ||
- | ==== Auto event ==== | + | ==== 2vènement automatique |
- | Automode is switched on: | + | Le mode automatique est activé: |
<code xml> | <code xml> | ||
<auto cmd=" | <auto cmd=" |
develop/cs-protocol-fr.1748425734.txt.gz · Last modified: 2025/05/28 11:48 by phil45