Package jmri.jmrix.anyma
Class AnymaDMX_TrafficController
- java.lang.Object
- 
- jmri.jmrix.anyma.AnymaDMX_TrafficController
 
- 
 public class AnymaDMX_TrafficController extends java.lang.Object Traffic controller for Anyma DMX.- Since:
- 4.9.6
 
- 
- 
Constructor SummaryConstructors Constructor Description AnymaDMX_TrafficController()Create a new AnymaTrafficController instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnectPort(AnymaDMX_UsbPortAdapter p)Make connection to existing PortController (adapter) object.voiddispose()Clean up threads and local storage.voidsetChannelRangeValues(int from, int to, byte[] buf)set the values for a range of channelsvoidsetChannelValue(int channel, byte value)set a channel's value
 
- 
- 
- 
Constructor Detail- 
AnymaDMX_TrafficControllerpublic AnymaDMX_TrafficController() Create a new AnymaTrafficController instance.
 
- 
 - 
Method Detail- 
connectPortpublic void connectPort(AnymaDMX_UsbPortAdapter p) Make connection to existing PortController (adapter) object.- Parameters:
- p- the AnymaDMX_UsbPortAdapter we're connecting to
 
 - 
setChannelValuepublic void setChannelValue(int channel, byte value) set a channel's value- Parameters:
- channel- the channel (1 - 512 inclusive)
- value- the value
 
 - 
setChannelRangeValuespublic void setChannelRangeValues(int from, int to, byte[] buf) set the values for a range of channels- Parameters:
- from- the beginning index (inclusive)
- to- the ending index (inclusive)
- buf- the data to send note: the from/to indexes are 1-512 (inclusive)
 
 - 
disposepublic void dispose() Clean up threads and local storage.
 
- 
 
-