Пример #1
0
        public virtual LoadBeam GetConcentratedCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "1":
                Load = new LoadConcentratedSpecial(d.P);
                break;

            case "2":
                Load = new LoadConcentratedGeneral(d.P, d.a_load);
                break;

            case "3":
                Load = new LoadConcentratedDoubleSymmetrical(d.P, d.a_load);
                break;

            case "4":
                Load = new LoadConcentratedDoubleUnsymmetrical(d.P1, d.P2, d.a_load, d.b_load);
                break;

            case "5":
                Load = new LoadConcentratedCenterWithEndMoments(d.P, d.M1, d.M2);
                break;

            default:
                Load = null;
                break;
            }
            return(Load);
        }
 public override LoadBeam GetConcentratedCase(string subCase)
 {
     LoadBeam Load = null;
     switch (subCase)
     {
         case "1":
             Load = new LoadConcentratedSpecial(d.P, LoadConcentratedSpecialCase.CantileverTip);
             break;
         default:
             Load = new LoadConcentratedGeneral(d.P, d.a_load);
             break;
     }
     return Load;
 }
Пример #3
0
        public override LoadBeam GetConcentratedCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "1":
                Load = new LoadConcentratedSpecial(d.P, LoadConcentratedSpecialCase.CantileverTip);
                break;

            default:
                Load = new LoadConcentratedGeneral(d.P, d.a_load);
                break;
            }
            return(Load);
        }
Пример #4
0
        public virtual LoadBeam GetConcentratedCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
                case "1":
                    Load = new LoadConcentratedSpecial(d.P);
                    break;
                case "2":
                    Load = new LoadConcentratedGeneral(d.P, d.a_load);
                    break;
                case "3":
                    Load = new LoadConcentratedDoubleSymmetrical(d.P, d.a_load);
                    break;
                case "4":
                    Load = new LoadConcentratedDoubleUnsymmetrical(d.P1, d.P2, d.a_load, d.b_load);
                    break;
                case "5":
                    Load = new LoadConcentratedCenterWithEndMoments(d.P, d.M1, d.M2);
                    break;
                default:
                    Load = null;
                    break;
            }
            return Load;
        }