Package jmri.jmrit.logix
Class BlockSpeedInfo
- java.lang.Object
-
- jmri.jmrit.logix.BlockSpeedInfo
-
class BlockSpeedInfo extends java.lang.Object
This class holds speed data for a block of a warrant's route. The data is gathered when a warrant is about to be executed and uses speed information of the locomotive running the warrant.
-
-
Constructor Summary
Constructors Constructor Description BlockSpeedInfo(java.lang.String n, float ens, float exs, long t, float d, float c, int fi, int li)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getBlockDisplayName()
(package private) float
getCalcLen()
(package private) float
getEntranceSpeed()
(package private) float
getExitSpeed()
(package private) int
getFirstIndex()
(package private) int
getLastIndex()
(package private) float
getPathLen()
(package private) long
getTimeInBlock()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BlockSpeedInfo
BlockSpeedInfo(@Nonnull java.lang.String n, float ens, float exs, long t, float d, float c, int fi, int li)
-
-
Method Detail
-
getBlockDisplayName
java.lang.String getBlockDisplayName()
-
getEntranceSpeed
float getEntranceSpeed()
-
getExitSpeed
float getExitSpeed()
-
getTimeInBlock
long getTimeInBlock()
-
getPathLen
float getPathLen()
-
getCalcLen
float getCalcLen()
-
getFirstIndex
int getFirstIndex()
-
getLastIndex
int getLastIndex()
-
-