jmri.jmrix.can.adapters.gridconnect.canusb.serialdriver
Class SerialDriverAdapter
java.lang.Object
jmri.jmrix.AbstractPortController
jmri.jmrix.can.adapters.gridconnect.GcPortController
jmri.jmrix.can.adapters.gridconnect.GcSerialDriverAdapter
jmri.jmrix.can.adapters.gridconnect.canusb.serialdriver.SerialDriverAdapter
- All Implemented Interfaces:
- PortAdapter, SerialPortAdapter
public class SerialDriverAdapter
- extends GcSerialDriverAdapter
- implements SerialPortAdapter
Implements SerialPortAdapter for GridConnect adapters.
This connects a CAN-USB CAN adapter via a serial com port.
Normally controlled by the SerialDriverFrame class.
- Author:
- Andrew Crosland Copyright (C) 2008, Bob Jacobsen Copyright (C) 2009
| Methods inherited from class jmri.jmrix.AbstractPortController |
configureBaudRate, configureOption2, currentBaudNumber, getCurrentBaudRate, getCurrentOption2Setting, getCurrentPortName, getPortNames, handlePortBusy, handlePortNotFound, option2Name, reloadDriver, setPort, validBaudNumber, validOption2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.jmrix.SerialPortAdapter |
configure, configureBaudRate, configureOption1, configureOption2, getCurrentBaudRate, getCurrentOption1Setting, getCurrentOption2Setting, getCurrentPortName, getPortNames, handlePortBusy, openPort, option1Name, option2Name, setPort, status, validOption1, validOption2 |
validSpeeds
protected String[] validSpeeds
validSpeedValues
protected int[] validSpeedValues
SerialDriverAdapter
public SerialDriverAdapter()
validBaudRates
public String[] validBaudRates()
- Get an array of valid baud rates.
- Specified by:
validBaudRates in interface SerialPortAdapter- Overrides:
validBaudRates in class GcSerialDriverAdapter
validBaudValues
public int[] validBaudValues()
- And the corresponding values.
- Overrides:
validBaudValues in class GcSerialDriverAdapter
instance
public static SerialDriverAdapter instance()
Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: