Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public override IModeControl Low(MassMass mass)
 {
     return(Break1Rusi4.GetInstance(mass));
 }