Package jmri.jmrix.bachrus
Class DccSpeedProfile
java.lang.Object
jmri.jmrix.bachrus.DccSpeedProfile
Class to represent a dimensionless speed profile of a DCC decoder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float[]protected intprotected intprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static voidexport(DccSpeedProfile[] sp, int address, Speed.Unit unit) static voidexport(DccSpeedProfile sp, int address, String dirString, Speed.Unit unit) intgetLast()intfloatgetMax()floatgetPoint(int idx) intimportDccProfile(Speed.Unit unit) static voidprintHeading(CSVPrinter p, int address) voidsetMax(float m) booleansetPoint(int idx, float val)
-
Field Details
-
_length
-
_dataPoints
-
_max
-
_lastPoint
-
dccProfileData
-
-
Constructor Details
-
DccSpeedProfile
-
-
Method Details
-
setPoint
-
clear
-
getPoint
-
getLength
-
setMax
-
getMax
-
getLast
-
printHeading
- Throws:
IOException
-
export
-
export
-
importDccProfile
-