Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="train"></param>
        /// <returns></returns>
        public Double GetBaseResistance(BaseTrain train)
        {
            var massRepository = MassRepository.GetInstance();
            var byMass         = massRepository.GetByMass(train.Mass);
            var modeControl    = Break1Rusi4.GetInstance(byMass);

            return(modeControl.GetBaseResistance(train));
        }
Example #2
0
 public override IModeControl Low(MassMass mass)
 {
     return(Break1Rusi4.GetInstance(mass));
 }