Exemplo n.º 1
0
 private void SetCharts(Project pnProject)
 {
     foreach (var VARIABLE in pnProject.Diff)
     {
         object chart = _aChart.ChartAdd(VARIABLE);
         _chartDic.Add(VARIABLE, chart);
     }
     foreach (var VARIABLE in pnProject.Tdr)
     {
         object chart = _aChart.ChartAdd(VARIABLE);
         _chartDic.Add(VARIABLE, chart);
     }
     foreach (var VARIABLE in pnProject.NextPair)
     {
         object chart = _aChart.ChartAdd(VARIABLE);
         _chartDic.Add(VARIABLE, chart);
     }
     foreach (var VARIABLE in pnProject.FextPair)
     {
         object chart = _aChart.ChartAdd(VARIABLE);
         _chartDic.Add(VARIABLE, chart);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 增加测试图形
        /// </summary>
        private void AddCharts()
        {
            _chartDic.Clear();

            _aChart = new VsAChart(this.tabControlChart);
            _aChart.ChartClear();
            foreach (var VARIABLE in _testConfigs)
            {
                foreach (var test in VARIABLE.AnalyzeItems)
                {
                    object chart = _aChart.ChartAdd(test);
                    _chartDic.Add(test, chart);
                }
            }
        }