Ejemplo n.º 1
0
        /// <summary>
        /// Initializations this instance.
        /// </summary>
        public void InitializationSumGridColumn()
        {
            var operations = OperationType.Split(',');

            //SummaryGridColumns.Add(new Column { ColumnHeaderCN = "种类", ColumnHeaderEN = "Category", ColumnName = "Category", ColumnIndex = 0, IsDetailedColumn = false });
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "开始日期", ColumnHeaderEN = "Start Date", ColumnName = "CategoryStartDate", ColumnIndex = 1, IsDetailedColumn = false, ColumnFormat = "Date"
            });
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "结束日期", ColumnHeaderEN = "End Date", ColumnName = "CategoryEndDate", ColumnIndex = 2, IsDetailedColumn = false, ColumnFormat = "Date"
            });
            if (OperationType == "ALL" || operations.Contains("RP"))
            {
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "正回购发行量", ColumnHeaderEN = "Repo Injection", ColumnName = "RepoInjection", ColumnIndex = 3, IsDetailedColumn = false, ColumnFormat = "MinusValue"
                });
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "正回购到期量", ColumnHeaderEN = "Repo Withdrawal", ColumnName = "RepoWithdrawal", ColumnIndex = 4, IsDetailedColumn = false
                });
            }
            if (OperationType == "ALL" || operations.Contains("RRP"))
            {
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "逆回购发行量", ColumnHeaderEN = "Reverse Repo Injection", ColumnName = "ReverseRepoInjection", ColumnIndex = 5, IsDetailedColumn = false
                });
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "逆回购到期量", ColumnHeaderEN = "Reverse Repo Withdrawal", ColumnName = "ReverseRepoWithdrawal", ColumnIndex = 6, IsDetailedColumn = false, ColumnFormat = "MinusValue"
                });
            }
            if (OperationType == "ALL" || operations.Contains("CBB"))
            {
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "央行票据发行量", ColumnHeaderEN = "Central Bank Bill Injection", ColumnName = "CbbInjection", ColumnIndex = 7, IsDetailedColumn = false, ColumnFormat = "MinusValue"
                });
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "央行票据到期量", ColumnHeaderEN = "Central Bank Bill Withdrawal", ColumnName = "CbbWithdrawal", ColumnIndex = 8, IsDetailedColumn = false
                });
            }
            if (OperationType == "ALL" || operations.Contains("MLF"))
            {
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "中期借贷便利发行量", ColumnHeaderEN = "Medium-term Lending Facility Injection", ColumnName = "MlfInjection", ColumnIndex = 8, IsDetailedColumn = false, ColumnFormat = "MinusValue"
                });
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "中期借贷便利到期量", ColumnHeaderEN = "Medium-term Lending Facility Withdrawal", ColumnName = "MlfWithdrawal", ColumnIndex = 9, IsDetailedColumn = false
                });
            }
            if (OperationType == "ALL" || operations.Contains("FMD"))
            {
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "中央国库现金管理发行量", ColumnHeaderEN = "Central treasury cash management Injection", ColumnName = "FmdInjection", ColumnIndex = 9, IsDetailedColumn = false
                });
                SummaryGridColumns.Add(new Column {
                    ColumnHeaderCN = "中央国库现金管理到期量", ColumnHeaderEN = "Central treasury cash management Withdrawal", ColumnName = "FmdWithdrawal", ColumnIndex = 10, IsDetailedColumn = false, ColumnFormat = "MinusValue"
                });
            }
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "投放量(+)", ColumnHeaderEN = "Injection(+)", ColumnName = "NetInjection", ColumnIndex = 11, IsDetailedColumn = true
            });
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "回笼量(-)", ColumnHeaderEN = "Withdrawal(-)", ColumnName = "NetWithdrawal", ColumnIndex = 12, IsDetailedColumn = true
            });
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "净投放量(+)/净回笼量(-)", ColumnHeaderEN = "Net Injection(+)/Net Withdrawal(-)", ColumnName = "NetInjectionWithdrawal", ColumnIndex = 13, IsDetailedColumn = true
            });
            SummaryGridColumns.Add(new Column {
                ColumnHeaderCN = "总投放量(+)/总回笼量(-)", ColumnHeaderEN = "Sum Injection(+)/Sum Withdrawal(-)", ColumnName = "SumInjectionWithdrawal", ColumnIndex = 14, IsDetailedColumn = true
            });

            IsStatisticalReport = true;
        }