Class NceConsistEditPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, AbstractMRListener, NceListener, NcePanelInterface

public class NceConsistEditPanel
extends NcePanel
implements NceListener
Pane for user edit of NCE Consists NCE Consists are stored in Command Station (CS) memory starting at address xF500 and ending xFAFF. NCE supports up to 127 consists, numbered 1 to 127. They track the lead loco, rear loco, and four mid locos in the consist file. NCE cabs start at consist 127 when building and reviewing consists, so we also start with 127. Consist lead locos are stored in memory locations xF500 through xF5FF. Consist rear locos are stored in memory locations xF600 through xF6FF. Mid consist locos (four max) are stored in memory locations xF700 through xFAFF. If a long address is in use, bits 6 and 7 of the high byte are set. Example: Long address 3 = 0xc0 0x03 Short address 3 = 0x00 0x03 NCE file format: :F500 (con 0 lead loco) (con 1 lead loco) ....... (con 7 lead loco) :F510 (con 8 lead loco) ........ (con 15 lead loco) . . :F5F0 (con 120 lead loco) ..... (con 127 lead loco) :F600 (con 0 rear loco) (con 1 rear loco) ....... (con 7 rear loco) . . :F6F0 (con 120 rear loco) ..... (con 127 rear loco) :F700 (con 0 mid loco1) (con 0 mid loco2) (con 0 mid loco3) (con 0 mid loco4) . . :FAF0 (con 126 mid loco1) .. (con 126 mid loco4)(con 127 mid loco1) .. (con 127 mid loco4) :0000
See Also:
Serialized Form