Exemplo n.º 1
0
        static public double GetATCCurrentSpeed()
        {
            double retValue;

            retValue = FacileATC.GetControlSpeedValue(GetCurrentTime(), GetNextStationArrialTime(),
                                                      GetCurrentSectionSpeedLimit() / 3.6, GetCurrentTrainSpeedDouble() / 3.6, GetNextStationDistance());
            return(retValue);
        }
Exemplo n.º 2
0
 static public double GetATCCurrentSpeed()
 {
     return(FacileATC.GetControlSpeedValue(GetCurrentTime(), GetNextStationArrialTime(),
                                           GetSpeedLimit() / 3.6, GetSpeedDouble() / 3.6, GetNextStationDis()));
 }