Beispiel #1
0
 public A5Controller()
 {
     this.A5Repository = new A5Repository();
     searchOption      = new List <SelectOption>();
     searchOption.AddRange(EnumUtil.GetValues <A59_SelectType>()
                           .Select(x => new SelectOption()
     {
         Text  = x.GetDescription(),
         Value = x.ToString()
     }));
     sType = new List <SelectOption>()
     {
         new SelectOption()
         {
             Text = Rating_Type.A.GetDescription(), Value = Rating_Type.A.GetDescription()
         },
         new SelectOption()
         {
             Text = Rating_Type.B.GetDescription(), Value = Rating_Type.B.GetDescription()
         }
     };
     actions = new List <SelectOption>()
     {
         new SelectOption()
         {
             Text = "查詢&下載", Value = "downLoad"
         },
         new SelectOption()
         {
             Text = "上傳&存檔", Value = "upLoad"
         }
     };
 }
Beispiel #2
0
        public D7Controller()
        {
            this.A5Repository = new A5Repository();
            this.D6Repository = new D6Repository();
            this.D7Repository = new D7Repository();

            selectOptionYN = new List <SelectOption>()
            {
                new SelectOption()
                {
                    Text = "", Value = ""
                },
                new SelectOption()
                {
                    Text = "Y:是", Value = "Y"
                },
                new SelectOption()
                {
                    Text = "N:否", Value = "N"
                }
            };

            selectOptionRange = new List <SelectOption>()
            {
                new SelectOption()
                {
                    Text = "", Value = ""
                },
                new SelectOption()
                {
                    Text = "1:以上", Value = "1"
                },
                new SelectOption()
                {
                    Text = "0:以下", Value = "0"
                }
            };

            ProcessStatusList psl = new ProcessStatusList();

            selectOptionStatus = psl.statusOption;
            selectOptionStatus.Insert(0, new SelectOption()
            {
                Text = "", Value = ""
            });
        }
Beispiel #3
0
        public A5Controller()
        {
            this.A5Repository   = new A5Repository();
            this.CommonFunction = new Common();
            this.Cache          = new DefaultCacheProvider();
            searchOption        = new List <SelectOption>();
            searchOption.AddRange(EnumUtil.GetValues <A59_SelectType>()
                                  .Select(x => new SelectOption()
            {
                text  = x.GetDescription(),
                value = x.ToString()
            }));
            sType = new List <SelectOption>()
            {
                new SelectOption()
                {
                    text = Rating_Type.A.GetDescription(), value = "1"
                },
                new SelectOption()
                {
                    text = Rating_Type.B.GetDescription(), value = "2"
                }
            };
            actions = new List <SelectOption>()
            {
                new SelectOption()
                {
                    text = "查詢&下載", value = "downLoad"
                },
                new SelectOption()
                {
                    text = "上傳&存檔", value = "upLoad"
                }
            };

            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Reference_Nbr", NewTitle = "帳戶編號"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Report_Date", NewTitle = "報導日"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Version", NewTitle = "資料版本"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Bond_Number", NewTitle = "債券編號"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Origination_Date", NewTitle = "債券購入(認列)日期"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "Portfolio_Name", NewTitle = "Portfolio英文"
            });
            A59titles.Add(new FormateTitle()
            {
                OldTitle = "SMF", NewTitle = "債券產品別(揭露使用)"
            });
        }