Class CbusMax
- java.lang.Object
-
- jmri.jmrix.can.cbus.simulator.CbusSimulatedModuleProvider
-
- jmri.jmrix.can.cbus.simulator.moduletypes.CbusMax
-
- All Implemented Interfaces:
JmriServiceProviderInterface
public class CbusMax extends CbusSimulatedModuleProvider
CbusMax CBUS Simulation Module Provider. A simulation which has 255 NVs, 255 Events, and 255 EVs per Event.
-
-
Constructor Summary
Constructors Constructor Description CbusMax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureDummyNode(CbusNode node)
For a given CbusDummyNode, configure it to the Simulation.int
getManufacturerId()
Get the Manufacturer ID.int
getModuleId()
Get the Manufacturer Module ID.java.lang.String
getModuleType()
Descriptive String of Module Type.java.lang.String
getToolTipText()
Descriptive Tooltip for Module Simulation.-
Methods inherited from class jmri.jmrix.can.cbus.simulator.CbusSimulatedModuleProvider
createNewDummyNode, getInstancesCollection, getNewDummyNode, getProviderByName, matchesManuAndModuleId
-
-
-
-
Constructor Detail
-
CbusMax
public CbusMax()
-
-
Method Detail
-
getManufacturerId
public int getManufacturerId()
Description copied from class:CbusSimulatedModuleProvider
Get the Manufacturer ID.- Specified by:
getManufacturerId
in classCbusSimulatedModuleProvider
- Returns:
- manufacturer ID code.
-
getModuleId
public int getModuleId()
Description copied from class:CbusSimulatedModuleProvider
Get the Manufacturer Module ID.- Specified by:
getModuleId
in classCbusSimulatedModuleProvider
- Returns:
- manufacturer Module ID code.
-
configureDummyNode
public void configureDummyNode(@Nonnull CbusNode node)
Description copied from class:CbusSimulatedModuleProvider
For a given CbusDummyNode, configure it to the Simulation. This may include Node Parameters, Node Variables, events and event variables.- Specified by:
configureDummyNode
in classCbusSimulatedModuleProvider
- Parameters:
node
- the Node to set to.
-
getModuleType
public java.lang.String getModuleType()
Description copied from class:CbusSimulatedModuleProvider
Descriptive String of Module Type. For use in selection menus etc.- Overrides:
getModuleType
in classCbusSimulatedModuleProvider
- Returns:
- descriptive string of simulated module.
-
getToolTipText
public java.lang.String getToolTipText()
Description copied from class:CbusSimulatedModuleProvider
Descriptive Tooltip for Module Simulation. For use in selection menus etc.- Overrides:
getToolTipText
in classCbusSimulatedModuleProvider
- Returns:
- tooltip for the module.
-
-