public GridProportionDecimalIndicator(GridProportionDecimalIndicator GridProportionDecimal)
     : base(GridProportionDecimal)
 {
     _bsummary        = GridProportionDecimal.bSummary;
     _bcolumnsummary  = GridProportionDecimal.bColumnSummary;
     _bclue           = GridProportionDecimal.bClue;
     _operator        = GridProportionDecimal.Operator;
     _unit            = GridProportionDecimal.Unit;
     _calculateindex  = GridProportionDecimal.CalculateIndex;
     _eventtype       = GridProportionDecimal.EventType;
     _bshowatreal     = GridProportionDecimal.bShowAtReal;
     _bcalcaftercross = GridProportionDecimal.bCalcAfterCross;
     _bMergeCell      = GridProportionDecimal.bMergeCell;
 }
Exemplo 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);
        }