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 intgetCvNum()intgetCvValue()DecoderFilegetDecoderFile()intgetDestAddr()java.lang.StringgetDeviceName()intgetProductID()RosterEntrygetRosterEntry()java.lang.StringgetRosterName()intgetSwVersion()voidsetCvNum(int num)voidsetCvValue(int val)voidsetDecoderFile(DecoderFile f)voidsetDestAddr(int destAddr)Set the table view of the device's destination address.voidsetDevName(java.lang.String s)voidsetRosterEntry(RosterEntry e)voidsetRosterName(java.lang.String s)voidsetSwVersion(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)
-
-