User Tools

Site Tools


locodb:locodb-fr

This is an old revision of the document!


Banque de données mobile

Description

L'idée derrière LocoDB/CarDB/TrainDB c'est de pouvoir accéder à toutes les locomotives/voitures/trains sur tous les ordinateurs avec accès au même stockage NAS/Cloud.
Même avec un Rocview hors ligne, il sera possible d'accéder aux locomotives et de vérifier leurs propriétés.

Accès R/W

Sans accès de lecture et écriture à RocrailDB ce concept ne fonctionnera pas.


Structure

Le chemin de la base de données pointe vers un répertoire qui peut être lu et écrit par tous les utilisateurs exécutant Rocrail.
Chaque locomotive a son propre répertoire nommé par ses identifiants. Les espaces blancs sont remplacés par des symboles soulignés; Des espaces blancs dans les identifiants sont découragés et non soutenus.

Arborescence

RocrailDB
├── CarDB
│   ├── EssoTank
│   │   ├── backup
│   │   │   └── 20251017162241462-EssoTank.xml
│   │   ├── EssoTank.xml
│   │   └── M4524.png
│   ├── Frico
│   │   ├── backup
│   │   ├── Frico.xml
│   │   └── M4524.png
│   .
│   .
│
└── LocoDB
    ├── BR01097
    │   ├── backup
    │   │   ├── 20251016161334845-BR01097.xml
    │   │   ├── 20251016161340115-BR01097.xml
    │   │   └── 20251017075932411-BR01097.xml
    │   ├── BR01097.png
    │   ├── BR01097.xml
    │   └── DB01.png
    ├── BR120119-3
    │   ├── BR120119-3.xml
    │   └── m33535.png
    .
    .
    .
    └── V1002215
        ├── DB100.png
        ├── m3072.png
        └── V1002215.xml


Rocview

Configuration du chemin



Sélection

Sélection d'un répertoire pour ouvrir une seule locomotive.

Tout

Ouvre toutes les locomotives dans LocoDB.


Rocrail

Configuration du chemin


Le champ groupe peut être utilisé comme un filtre.


Plan properties

The "Workspace" and "Scale name" is used as selection in the LocoDB in case of automatically loading.


Locomotive

For selecting a locomotive from the LocoDB the "Workspace" and/or "Scale" field should contain a value which match the Plan properties.

Workspace

The Workspace field accepts a CSV list of multiple names.
The group field can be used as extra filter.
Example:

"layoutA,layoutB,layoutC"



Export

With the "Locomotive database" option the export of the selected locomotives will be in the LocoDB.
The export will overwrite existing files.


Automatic loading

Locomotives will be automatically loaded from the LocoDB if following is all true:

  1. No local locomotives are defined.
  2. The Locomotives database path exists and is accessible.
  3. The Plan properties contains a selection by Workspace and/or Scale-Name.
  4. Locomotives in the LocoDB matches the Plan properties criterium.
locodb/locodb-fr.1761031646.txt.gz · Last modified: 2025/10/21 09:27 by phil45