Exemplo n.º 1
0
        /// <summary>
        /// Initializes the plugin.
        /// </summary>
        public override void Initialize()
        {
            m_env.JobManager.AnalysisDic[ParameterEstimation.s_analysisName] = new ParameterEstimation(this);
            m_env.JobManager.AnalysisDic[BifurcationAnalysis.s_analysisName] = new BifurcationAnalysis(this);
            m_env.JobManager.AnalysisDic[SensitivityAnalysis.s_analysisName] = new SensitivityAnalysis(this);
            m_env.JobManager.AnalysisDic[RobustAnalysis.s_analysisName] = new RobustAnalysis(this);

            m_bifurcateParameter = new BifurcationAnalysisParameter();
            m_estimationParameter = new ParameterEstimationParameter();
            m_sensitivityParameter = new SensitivityAnalysisParameter();
            m_robustParameter = new RobustAnalysisParameter();

            m_rWin = new AnalysisResultWindow(this);
            m_bifurcationDialog = new BifurcationSettingDialog(this);
            m_bifurcationDialog.SetParameter(m_bifurcateParameter);
            m_bifurcationDialog.ContentType = DockContentType.ANALYSIS;

            m_robustDialog = new RobustAnalysisSettingDialog(this);
            m_robustDialog.SetParameter(m_robustParameter);
            m_robustDialog.ContentType = DockContentType.ANALYSIS;

            m_sensitivityDialog = new SensitivityAnalysisSettingDialog(this);
            m_sensitivityDialog.SetParameter(m_sensitivityParameter);
            m_sensitivityDialog.ContentType = DockContentType.ANALYSIS;

            m_estimationDialog = new ParameterEstimationSettingDialog(this);
            m_estimationDialog.SetParameter(m_estimationParameter);
            m_estimationDialog.ContentType = DockContentType.ANALYSIS;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructors
        /// </summary>
        public GraphResultWindow(Analysis owner, AnalysisResultWindow win)
        {
            InitializeComponent();

            m_zCnt.GraphPane.Title.Text = "";
            m_zCnt.GraphPane.XAxis.Title.Text = "X";
            m_zCnt.GraphPane.YAxis.Title.Text = "Y";
            m_zCnt.GraphPane.Legend.IsVisible = false;
            m_zCnt.GraphPane.XAxis.Scale.Max = 100;
            m_zCnt.GraphPane.XAxis.Scale.Min = 0;
            m_zCnt.GraphPane.YAxis.Scale.Max = 100;
            m_zCnt.GraphPane.YAxis.Scale.Min = 0;
            m_zCnt.GraphPane.XAxis.MinorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.XAxis.MajorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MinorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MajorTic.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.Chart.Border.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.YAxis.MajorGrid.Color = Color.FromArgb(200, 200, 200);
            m_zCnt.GraphPane.Fill = new Fill(Color.White, Color.LightGray, 90.0f);

            m_zCnt.ContextMenuBuilder += new ZedGraphControl.ContextMenuBuilderEventHandler(ZedControlContextMenuBuilder);
            m_zCnt.AxisChange();
            m_zCnt.Refresh();

            m_owner = owner;
            m_win = win;
        }
Exemplo n.º 3
0
 /// <summary>
 /// Close the analysis result window.
 /// </summary>
 public void CloseAnalysisResultWindow()
 {
     m_rWin = null;
 }