Package jmri.jmrix.loconet.lnsvf1
Class Lnsv1Device
java.lang.Object
jmri.jmrix.loconet.lnsvf1.Lnsv1Device
A class to hold LocoNet LNSVf1 (LocoIO) device identity information.
See jmri.jmrix.loconet.swing.lnsv1prog.Lnsv1ProgPane
-
Constructor Summary
ConstructorsConstructorDescriptionLnsv1Device(int addressL, int addressH, int lastCv, int lastVal, String deviceName, String rosterName, int swVersion) -
Method Summary
Modifier and TypeMethodDescriptionintgetCvNum()intintintintintvoidsetCvNum(int num) voidsetCvValue(int val) voidvoidsetDestAddrHigh(int destAddrH) voidsetDestAddrLow(int destAddrL) Set the table view of the device's low and high address.voidsetDevName(String s) voidvoidvoidsetSwVersion(int version)
-
Constructor Details
-
Lnsv1Device
public Lnsv1Device(int addressL, int addressH, int lastCv, int lastVal, String deviceName, String rosterName, int swVersion)
-
-
Method Details
-
getDestAddr
-
getDestAddrLow
-
getDestAddrHigh
-
getDeviceName
-
getRosterName
-
getSwVersion
-
setDestAddrLow
Set the table view of the device's low and high address. This routine does _not_ program the device's destination address.- Parameters:
destAddrL- device low address
-
setDestAddrHigh
-
setDevName
-
setRosterName
-
setSwVersion
-
getDecoderFile
-
setDecoderFile
-
getRosterEntry
-
setRosterEntry
-
getCvNum
-
setCvNum
-
getCvValue
-
setCvValue
-