jmri.jmrix.bachrus
Class DccSpeedProfile
java.lang.Object
jmri.jmrix.bachrus.DccSpeedProfile
public class DccSpeedProfile
- extends Object
Class to represent a dimensionless speed profile of a DCC decoder.
- Author:
- Andrew Crosland Copyright (C) 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_length
protected int _length
_dataPoints
protected float[] _dataPoints
_max
protected float _max
_lastPoint
protected int _lastPoint
DccSpeedProfile
public DccSpeedProfile(int len)
setPoint
public boolean setPoint(int idx,
float val)
clear
public void clear()
getPoint
public float getPoint(int idx)
getLength
public int getLength()
setMax
public void setMax(float m)
getMax
public float getMax()
getLast
public int getLast()
printHeading
public static void printHeading(PrintWriter p,
int address)
export
public static void export(DccSpeedProfile sp,
int address,
String dirString,
int units)
export
public static void export(DccSpeedProfile[] sp,
int address,
int units)
Copyright © 1997 - 2011 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: