001package jmri.jmrix.ecos;
002
003
004/**
005 * Encodes a message to an Ecos command station.
006 * <p>
007 * The {@link EcosReply} class handles the response from the command station.
008 *
009 * @author Bob Jacobsen Copyright (C) 2001, 2008
010 * @author Daniel Boudreau Copyright (C) 2007
011 */
012public class EcosMessage extends jmri.jmrix.AbstractMRMessage {
013
014    public EcosMessage() {
015        super();
016    }
017
018    // create a new one
019    public EcosMessage(int i) {
020        super(i);
021    }
022
023    // copy one
024    public EcosMessage(EcosMessage m) {
025        super(m);
026    }
027
028    // from String
029    public EcosMessage(String m) {
030        super(m);
031    }
032
033    static public EcosMessage getProgMode() {
034        EcosMessage m = new EcosMessage();
035        return m;
036    }
037
038    static public EcosMessage getExitProgMode() {
039        EcosMessage m = new EcosMessage();
040        return m;
041    }
042
043}