Пример #1
0
        public PlotModel GetModel()
        {
            EtkilesimDiyagramHazirlama diagram = new EtkilesimDiyagramHazirlama();

            diagram.ShowAllDiagram     = ShowAllDiagram;
            diagram.ShowRightDiagram   = ShowRightDiagram;
            diagram.ShowLeftDiagram    = ShowLeftDiagram;
            diagram.ShowNominalDiagram = ShowNominalDiagram;
            diagram.ShowGridLines      = ShowGridLines;
            diagram.ShowLoads          = ShowLoads;
            diagram.Code                    = Code;
            diagram.Title                   = Title;
            diagram.SubTitle                = SubTitle;
            diagram.ShowTitle               = ShowTitle;
            diagram.SectionGeometry         = MetrikKesitGeometri();
            diagram.StrengthReductionFactor = new StrengthReductionFactor(PhiA, PhiB, PhiC);
            diagram.Concrete                = Beton();
            diagram.Steel                   = DonatiCeligi();
            diagram.ReinforcingBars         = MetrikDonatiKatmanBilgi();
            diagram.Loads                   = (List <Load>)Loads.Clone();

            PlotModel model = diagram.CreateModel();

            Pmax       = diagram.Pmax;
            Pmin       = diagram.Pmin;
            ActualPmax = diagram.ActualPmax;

            return(model);
        }