jmri.jmrix
Interface DccCommandStation

All Known Implementing Classes:
CbusCommandStation, HornbyEliteCommandStation, LenzCommandStation, Mx1CommandStation

public interface DccCommandStation

Defines standard operations for Dcc command stations.

Author:
Bob Jacobsen Copyright (C) 2001

Method Summary
 boolean getHasServiceMode()
          Does this command station have a "service mode", where it stops normal train operation while programming?
 boolean getInServiceMode()
          If this command station has a service mode, is the command station currently in that mode?
 String getVersionString()
          Provides an-implementation specific version string from the command station.
 

Method Detail

getHasServiceMode

boolean getHasServiceMode()
Does this command station have a "service mode", where it stops normal train operation while programming?


getInServiceMode

boolean getInServiceMode()
If this command station has a service mode, is the command station currently in that mode?


getVersionString

String getVersionString()
Provides an-implementation specific version string from the command station. In general, this should be as close as possible to what the command station replied when asked; it should not be reformatted



Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads