Пример #1
0
        public override void Parse(string lowercasetoken, STFReader stf)
        {
            switch (lowercasetoken)
            {
            case "engine(ortstractioncutoffrelay":
            case "engine(ortstractioncutoffrelayclosingdelay":
                TractionCutOffRelay.Parse(lowercasetoken, stf);
                break;

            default:
                base.Parse(lowercasetoken, stf);
                break;
            }
        }
Пример #2
0
        public override void Parse(string lowercasetoken, STFReader stf)
        {
            switch (lowercasetoken)
            {
            case "engine(ortstractioncutoffrelay":
            case "engine(ortstractioncutoffrelayclosingdelay":
                TractionCutOffRelay.Parse(lowercasetoken, stf);
                break;

            case "engine(ortselectrictrainsupply(dieselengineminrpm":
                DieselEngineMinRpmForElectricTrainSupply = stf.ReadFloatBlock(STFReader.Units.None, 0f);
                break;

            default:
                base.Parse(lowercasetoken, stf);
                break;
            }
        }