Пример #1
0
        public void TestgetETrendingChartType01()
        {
            string             displayName        = string.Empty;
            ETrendingChartType eTrendingChartType = TrendViewer.View.TrendViewerHelper.getETrendingChartType(displayName);

            TrendViewerHelper helper           = new TrendViewerHelper();
            Accessor          trendingHelperAc = ReflectionAccessor.Wrap(helper);

            displayName = (string)trendingHelperAc.GetField("FORMULA_PRE");

            eTrendingChartType = TrendViewerHelper.getETrendingChartType(displayName);

            displayName        = (string)trendingHelperAc.GetField("HIST_PRE");
            eTrendingChartType = TrendViewerHelper.getETrendingChartType(displayName);
        }