コード例 #1
0
        private TrainPathKeyTimetableVersion GetTimetableVersionKey()
        {
            var result = new TrainPathKeyTimetableVersion
            {
                @ref = timetableVersion.id,
            };

            return(result);
        }
コード例 #2
0
        public TrainRun2ImportPaths(DateTime sessionDate, string sessionKey, string infrastructureManager,
                                    string orderingTransportationCompany, string stoppingReasonStop, string stoppingReasonPass,
                                    string trainPathStateRun, string trainPathStateCancelled, string importProfile,
                                    IEnumerable <string> locationShortnames)
        {
            this.sessionDate                   = sessionDate;
            this.sessionKey                    = sessionKey;
            this.infrastructureManager         = infrastructureManager;
            this.orderingTransportationCompany = orderingTransportationCompany;
            this.stoppingReasonStop            = stoppingReasonStop;
            this.stoppingReasonPass            = stoppingReasonPass;
            this.trainPathStateRun             = trainPathStateRun;
            this.trainPathStateCancelled       = trainPathStateCancelled;
            this.importProfile                 = importProfile;
            this.locationShortnames            = locationShortnames;

            timetableVersion    = GetTimetableVersion();
            timetableVersionKey = GetTimetableVersionKey();
        }