Package jmri.jmrix.loconet.uhlenbrock
Class LncvDevice
- java.lang.Object
-
- jmri.jmrix.loconet.uhlenbrock.LncvDevice
-
public class LncvDevice extends java.lang.Object
A class to hold LocoNet LNCV device identity information. See jmri.jmrix.loconet.lnsvf2.Sv2DiscoverPane
-
-
Constructor Summary
Constructors Constructor Description LncvDevice(int productID, int address, int lastCv, int lastVal, java.lang.String deviceName, java.lang.String rosterName, int swVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCvNum()
int
getCvValue()
DecoderFile
getDecoderFile()
int
getDestAddr()
java.lang.String
getDeviceName()
int
getProductID()
RosterEntry
getRosterEntry()
java.lang.String
getRosterName()
int
getSwVersion()
void
setCvNum(int num)
void
setCvValue(int val)
void
setDecoderFile(DecoderFile f)
void
setDestAddr(int destAddr)
Set the table view of the device's destination address.void
setDevName(java.lang.String s)
void
setRosterEntry(RosterEntry e)
void
setRosterName(java.lang.String s)
void
setSwVersion(int version)
-
-
-
Constructor Detail
-
LncvDevice
public LncvDevice(int productID, int address, int lastCv, int lastVal, java.lang.String deviceName, java.lang.String rosterName, int swVersion)
-
-
Method Detail
-
getProductID
public int getProductID()
-
getDestAddr
public int getDestAddr()
-
getDeviceName
public java.lang.String getDeviceName()
-
getRosterName
public java.lang.String getRosterName()
-
getSwVersion
public int getSwVersion()
-
setDestAddr
public void setDestAddr(int destAddr)
Set the table view of the device's destination address. This routine does _not_ program the device's destination address.- Parameters:
destAddr
- device destination address
-
setDevName
public void setDevName(java.lang.String s)
-
setRosterName
public void setRosterName(java.lang.String s)
-
setSwVersion
public void setSwVersion(int version)
-
getDecoderFile
public DecoderFile getDecoderFile()
-
setDecoderFile
public void setDecoderFile(DecoderFile f)
-
getRosterEntry
public RosterEntry getRosterEntry()
-
setRosterEntry
public void setRosterEntry(RosterEntry e)
-
getCvNum
public int getCvNum()
-
setCvNum
public void setCvNum(int num)
-
getCvValue
public int getCvValue()
-
setCvValue
public void setCvValue(int val)
-
-