Class DmiPanelG

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class DmiPanelG extends JPanel
Class to demonstrate features of ERTMS DMI Panel G, Automatic Train Operation and clock.
See Also:
  • Constructor Details

  • Method Details

    • setAtoMode

      protected void setAtoMode(int mode)
      Set Automatic Train Operation Mode.
      Parameters:
      mode - the new ATO Mode. 0: No ATO 1: ATO selected 2: ATO Ready for Engagement 3: ATO Engaged 4: ATO Disengaging 5: ATO failure
    • setStoppingAccuracy

      protected void setStoppingAccuracy(int acc)
      Set Stopping accuracy symbol visible. Only valid in ATO Mode.
      Parameters:
      acc - -2: Hidden, -1: Undershot 0: Accurate 1: Overshot
    • setStoppingPointLabel

      protected void setStoppingPointLabel(String station, String eta)
    • setDwellTime

      protected void setDwellTime(int mins, int secs)
    • setDoorIcon

      protected void setDoorIcon(int mode)
    • setSkipStoppingPoint

      protected void setSkipStoppingPoint(int mode)
    • dispose

      public void dispose()