jmri.jmrix.ecos
Class EcosLocoAddress

java.lang.Object
  extended by jmri.jmrix.ecos.EcosLocoAddress

public class EcosLocoAddress
extends Object

Stores all the loco information from the Ecos into JMRI

Author:
Kevin Dickerson

Constructor Summary
EcosLocoAddress(int dCCAddress)
           
EcosLocoAddress(String ecosObject, String rosterAtt)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 boolean addToRoster()
           
 void dispose()
           
 void doNotAddToRoster()
           
protected  void firePropertyChange(String p, Object old, Object n)
           
 String getCV7()
           
 String getCV8()
           
 boolean getDirection()
           
 String getDirectionAsString()
           
 String getEcosDescription()
           
 int getEcosLocoAddress()
           
 String getEcosObject()
           
 boolean getEcosTempEntry()
           
 int getNumPropertyChangeListeners()
           
 String getProtocol()
           
 String getRosterId()
           
 int getSpeed()
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void reply(EcosReply m)
           
 void setCV7(String cv7)
           
 void setCV8(String cv8)
           
 void setEcosDescription(String description)
           
 void setEcosLocoAddress(int dCCAddress)
           
 void setEcosObject(String ecosObject)
           
 void setEcosTempEntry(boolean boo)
           
 void setProtocol(String protocol)
           
 void setRosterId(String roster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcosLocoAddress

public EcosLocoAddress(int dCCAddress)

EcosLocoAddress

public EcosLocoAddress(String ecosObject,
                       String rosterAtt)
Method Detail

setCV8

public void setCV8(String cv8)

getCV8

public String getCV8()

setCV7

public void setCV7(String cv7)

getCV7

public String getCV7()

setEcosLocoAddress

public void setEcosLocoAddress(int dCCAddress)

getEcosLocoAddress

public int getEcosLocoAddress()

getEcosObject

public String getEcosObject()

doNotAddToRoster

public void doNotAddToRoster()

addToRoster

public boolean addToRoster()

getSpeed

public int getSpeed()

getDirection

public boolean getDirection()

getDirectionAsString

public String getDirectionAsString()

setEcosObject

public void setEcosObject(String ecosObject)

getEcosDescription

public String getEcosDescription()

setEcosDescription

public void setEcosDescription(String description)

getRosterId

public String getRosterId()

setRosterId

public void setRosterId(String roster)

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

setEcosTempEntry

public void setEcosTempEntry(boolean boo)

getEcosTempEntry

public boolean getEcosTempEntry()

reply

public void reply(EcosReply m)

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

getNumPropertyChangeListeners

public int getNumPropertyChangeListeners()

firePropertyChange

protected void firePropertyChange(String p,
                                  Object old,
                                  Object n)

dispose

public void dispose()


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