コード例 #1
0
            public InstallationSlotsRow AddInstallationSlotsRow(
                long SITE_ID,
                string TIME_SLOT,
                System.DateTime SCHEDULE_DATE,
                System.Decimal SUN_START_TIME,
                System.Decimal SUN_END_TIME,
                System.Decimal MON_START_TIME,
                System.Decimal MON_END_TIME,
                System.Decimal TUE_START_TIME,
                System.Decimal TUE_END_TIME,
                System.Decimal WED_START_TIME,
                System.Decimal WED_END_TIME,
                System.Decimal THU_START_TIME,
                System.Decimal THU_END_TIME,
                System.Decimal FRI_START_TIME,
                System.Decimal FRI_END_TIME,
                System.Decimal SAT_START_TIME,
                System.Decimal SAT_END_TIME)
            {
                InstallationSlotsRow rowInstallationSlotsRow = ((InstallationSlotsRow)(this.NewRow()));

                rowInstallationSlotsRow.ItemArray = new object[] {
                    SITE_ID,
                    TIME_SLOT,
                    SCHEDULE_DATE,
                    SUN_START_TIME,
                    SUN_END_TIME,
                    MON_START_TIME,
                    MON_END_TIME,
                    TUE_START_TIME,
                    TUE_END_TIME,
                    WED_START_TIME,
                    WED_END_TIME,
                    THU_START_TIME,
                    THU_END_TIME,
                    FRI_START_TIME,
                    FRI_END_TIME,
                    SAT_START_TIME,
                    SAT_END_TIME
                };
                this.Rows.Add(rowInstallationSlotsRow);
                return(rowInstallationSlotsRow);
            }
コード例 #2
0
 public InstallationSlotsRowChangeEvent(InstallationSlotsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #3
0
 public void RemoveInstallationSlotsRow(InstallationSlotsRow row)
 {
     this.Rows.Remove(row);
 }
コード例 #4
0
 public void AddInstallationSlotsRow(InstallationSlotsRow row)
 {
     this.Rows.Add(row);
 }