¿ªÔÆÌåÓý

Locked Re: New Decoder File / Tab "+ New Loco"


 

The files are processed in alpha order. If the mfg or mfg/family is the same as the previous one, then the new file is added as a leaf on the existing tree branch. If not, that change means a new branch will be created.

If you want your decoder to appear in an existing branch, have the name be alpha before or after the one you want to have as a neighbor.

Bob

On May 31, 2019, at 9:20 AM, Marco Kr?mer <mkraemer1@...> wrote:

Hello,
I have created a new, extended file based on the file "Lenz_Plus_2010.xml",
Saved under a new name, imported with "Import Decoder File" and then executed "Recreate Decoder Index".
After restarting "JMRI Decoder Pro" "Lenz" appears twice in the window of "+ New Loco".

Here is the modified header of the file:

<Decoder>
<family name = "KM1" mfg = "Lenz" highVersionID = "255" lowVersionID = "9" comment = "Lenz Gold + decoder, KM1 SUSI-Sound / SUSI-Steam module">
<model model = "KM1 DVI - Lenz +, KM1 Sound / Steam" numOuts = "5" numFns = "31" maxMotorCurrent = "1.0A" formFactor = "HO" maxTotalCurrent = "1.0A">
<versionCV highVersionID = "91" lowVersionID = "91" />
<output name = "1" label = "A" maxcurrent = "0.5A" />
<output name = "2" label = "B" maxcurrent = "0.5A" />
<output name = "3" label = "C" maxcurrent = "0.5A" />
<output name = "4" label = "D" maxcurrent = "0.5A" />
<output name = "5" label = "E" maxcurrent = "0.5A" />
</ Model>
</ Family>

Why ?

The new, additional branch looks like this:
Lenz
KM1
KM1 DVI - Lenz +, KM1 Sound / Steam


If you look at the window, you will notice that there are seemingly several sorting errors in the upper level ...
(Example: Electronicsript, Inc).

In the 2nd level... "LENZ" is "function decoder" in the middle of the list ....
Why ?
What is the sorting process?

If necessary, I can provide the entire file ...

JMRI 4.15.3

Kind regards
M.K.

Virenfrei. www.avast.com
--
Bob Jacobsen
rgj1927@...

Join [email protected] to automatically receive all group messages.