public W30770(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            this.Text = _ProgramID + "─" + _ProgramName;

            dao30770 = new D30770();
        }
            public Report30770(D30770 dao, string reportId, string startMonth, string endMonth, string startDate, string endDate, string oswGrp, string oswGrpText)
            {
                Dao      = dao;
                ReportId = reportId;

                OswGrp     = oswGrp;
                OswGrpText = oswGrpText;
            }
            public OptionMonth(D30770 dao, string reportId, string startMonth, string endMonth, string startDate, string endDate, string oswGrp, string oswGrpText)
                : base(dao, reportId, startMonth, endMonth, startDate, endDate, oswGrp, oswGrpText)
            {
                //初始化設定,先讓父類別把共用參數設定好,再設定自己特定的參數
                ReportName = "延長交易時間商品13:45後交易量比重-月統計";

                ProdType   = "O%";
                SumType    = "M";
                SheetIndex = SheetType.OptionSum;

                StartDate = startMonth;
                EndDate   = endMonth;
            }
            public FutureDay(D30770 dao, string reportId, string startMonth, string endMonth, string startDate, string endDate, string oswGrp, string oswGrpText)
                : base(dao, reportId, startMonth, endMonth, startDate, endDate, oswGrp, oswGrpText)
            {
                //初始化設定,先讓父類別把共用參數設定好,再設定自己特定的參數
                ReportName = "延長交易時間商品13:45後交易量比重-日明細";

                ProdType   = "F%";
                SumType    = "D";
                SheetIndex = SheetType.FutureDetail;

                StartDate = startDate;
                EndDate   = endDate;
            }