示例#1
0
        private void Refresh_ULS_VN_Graph()
        {
            PlotView_ULS_VN.Model = null;

            diagram_ULS_VN = new MainPlotView();

            if (tabVRdc1 != null)
            {
                diagram_ULS_VN.RemoveSerie("Section 1 - VRd.c");
                diagram_ULS_VN.AddLineSerie(tabVRdc1, "Section 1 - VRd.c", ustawienia.ULSVN_VrdcLineColor.GetMedia(), ustawienia.ULSVN_VrdcLineWeight);
            }

            if (tabVRd1 != null)
            {
                diagram_ULS_VN.RemoveSerie("Section 1 - VRd.s");
                diagram_ULS_VN.AddLineSerie(tabVRd1, "Section 1 - VRd.s", ustawienia.ULSVN_VrdLineColor.GetMedia(), ustawienia.ULSVN_VrdLineWeight);
            }

            if (points_VN != null)
            {
                diagram_ULS_VN.RemoveSerie("ULS Case");
                diagram_ULS_VN.AddPointSerie(points_VN, "ULS Case", ustawienia.ULSVN_DataPointColor.GetMedia(), ustawienia.ULSVN_DataPointWeight);
            }
            PlotView_ULS_VN.Model = diagram_ULS_VN.wykres;
        }
示例#2
0
        private void Refresh_SLS_Crack_Graph()
        {
            PlotView_SLS_Crack.Model = null;

            diagram_SLS_Crack = new MainPlotView();

            if (tabSLS_NonCrack != null)
            {
                diagram_SLS_Crack.RemoveSerie("Section 1 - non-cracked");
                diagram_SLS_Crack.AddLineSerie(tabSLS_NonCrack, "Section 1 - non-cracked", ustawienia.SLS_Crack_NonCracked_LineColor.GetMedia(), ustawienia.SLS_Crack_NonCracked_LineWeight);
            }

            if (tabSLS_Crack != null)
            {
                diagram_SLS_Crack.RemoveSerie("Section 1 - w.max = " + wspolczynniki.Crack_wklim + " mm");
                diagram_SLS_Crack.AddLineSerie(tabSLS_Crack, "Section 1 - w.max = " + wspolczynniki.Crack_wklim + " mm", ustawienia.SLS_Crack_Cracked_LineColor.GetMedia(), ustawienia.SLS_Crack_Cracked_LineWeight);
            }

            if (points_SLS_QPR != null)
            {
                diagram_SLS_Crack.RemoveSerie("SLS QPR Case");
                diagram_SLS_Crack.AddPointSerie(points_SLS_QPR, "SLS QPR Case", ustawienia.SLS_Crack_DataPointColor.GetMedia(), ustawienia.SLS_Crack_DataPointWeight);
            }
            PlotView_SLS_Crack.Model = diagram_SLS_Crack.wykres;
        }
示例#3
0
        private void Refresh_ULS_MN_Graph()
        {
            PlotView_ULS_MN.Model = null;

            diagram_ULS_MN = new MainPlotView();

            if (tab1_ULS != null)
            {
                diagram_ULS_MN.RemoveSerie("Section 1");
                diagram_ULS_MN.AddLineSerie(tab1_ULS, "Section 1", ustawienia.ULSMN_Section1LineColor.GetMedia(), ustawienia.ULSMN_Section1LineWeight);
            }

            if (tab2_ULS != null)
            {
                diagram_ULS_MN.RemoveSerie("Section 2");
                diagram_ULS_MN.AddLineSerie(tab2_ULS, "Section 2", ustawienia.ULSMN_Section2LineColor.GetMedia(), ustawienia.ULSMN_Section2LineWeight);
            }

            if (points_MN != null)
            {
                diagram_ULS_MN.RemoveSerie("ULS Case");
                diagram_ULS_MN.AddPointSerie(points_MN, "ULS Case", ustawienia.ULSMN_DataPointColor.GetMedia(), ustawienia.ULSMN_DataPointWeight);
            }
            PlotView_ULS_MN.Model = diagram_ULS_MN.wykres;
        }
示例#4
0
        private void Refresh_SLS_Stresses_Graph()
        {
            PlotView_SLS_Stresess.Model = null;

            diagram_SLS_Stressess = new MainPlotView();

            if (tabSLS_ConcreteStress != null)
            {
                diagram_SLS_Stressess.RemoveSerie("Section 1 - Concrete stress");
                diagram_SLS_Stressess.AddLineSerie(tabSLS_ConcreteStress, "Section 1 - Concrete stress", ustawienia.SLS_ConcreteStress_LineColor.GetMedia(), ustawienia.SLS_ConcreteStress_LineWeight);
            }

            if (tabSLS_SteelStress != null)
            {
                diagram_SLS_Stressess.RemoveSerie("Section 1 - Steel stress");
                diagram_SLS_Stressess.AddLineSerie(tabSLS_SteelStress, "Section 1 - Steel stress", ustawienia.SLS_SteelStress_LineColor.GetMedia(), ustawienia.SLS_SteelStress_LineWeight);
            }
            if (points_SLS_CHR != null)
            {
                diagram_SLS_Stressess.RemoveSerie("SLS CHR Case");
                diagram_SLS_Stressess.AddPointSerie(points_SLS_CHR, "SLS CHR Case", ustawienia.SLS_Stress_DataPointColor.GetMedia(), ustawienia.SLS_Stress_DataPointWeight);
            }
            PlotView_SLS_Stresess.Model = diagram_SLS_Stressess.wykres;
        }