コード例 #1
0
        static public double GetATCCurrentSpeed()
        {
            double retValue;

            retValue = FacileATC.GetControlSpeedValue(GetCurrentTime(), GetNextStationArrialTime(),
                                                      GetCurrentSectionSpeedLimit() / 3.6, GetCurrentTrainSpeedDouble() / 3.6, GetNextStationDistance());
            return(retValue);
        }
コード例 #2
0
ファイル: TrainMethods.cs プロジェクト: tsdworks/RAGLINK
 static public double GetATCCurrentSpeed()
 {
     return(FacileATC.GetControlSpeedValue(GetCurrentTime(), GetNextStationArrialTime(),
                                           GetSpeedLimit() / 3.6, GetSpeedDouble() / 3.6, GetNextStationDis()));
 }