public CalculateGroupObject(CalculateGroupDimension gridcolumnexpression)
     : base(gridcolumnexpression)
 {
     _expression    = gridcolumnexpression.Expression;
     _sortoption    = gridcolumnexpression.SortOption;
     _informationid = gridcolumnexpression.InformationID;
 }
Esempio n. 2
0
        private Cell IndicatorControl(string type)
        {
            Cell cell = null;

            switch (type.ToLower())
            {
            case "commonlabel":
                cell = new CommonLabel();
                break;

            case "image":
                cell = new Image();
                break;

            case "expression":
                cell = new Expression();
                break;

            case "groupdimension":
                cell = new GroupDimension();
                break;

            case "calculategroupdimension":
                cell = new CalculateGroupDimension();
                break;

            case "crossdimension":
                cell = new CrossDimension();
                break;

            case "calculatecrossdimension":
                cell = new CalculateCrossDimension();
                break;

            case "indicator":
                cell = new Indicator();
                break;

            case "calculateindicator":
                cell = new CalculateIndicator();
                break;

            case "chart":
                cell = new Chart();
                break;

            case "gauge":
                cell = new Gauge();
                break;

            case "indicatormetrix":
                cell = new IndicatorMetrix();
                break;

            case "dbtext":
                cell = new DBText();
                break;

            case "calculatorindicator":
                cell = new CalculatorIndicator();
                break;

            case "gridproportiondecimalindicator":
                cell = new GridProportionDecimalIndicator();
                break;
            }
            return(cell);
        }