public static INTRADAY_PLANT_SCHEDULE[] List()
        {
            INTRADAY_PLANT_SCHEDULE intraday_plant_schedule;

            INTRADAY_PLANT_SCHEDULE[] intraday_plant_scheduleArray;
            intraday_plant_schedule      = new INTRADAY_PLANT_SCHEDULE();
            intraday_plant_scheduleArray = (INTRADAY_PLANT_SCHEDULE[])CommonClassDB.Instance(intraday_plant_schedule).load(intraday_plant_schedule, "OrderId");
Label_0020:
            return(intraday_plant_scheduleArray);
        }
        public static INTRADAY_PLANT_SCHEDULE[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            INTRADAY_PLANT_SCHEDULE intraday_plant_schedule;

            INTRADAY_PLANT_SCHEDULE[] intraday_plant_scheduleArray;
            INTRADAY_PLANT_SCHEDULE[] intraday_plant_scheduleArray2;
            intraday_plant_schedule       = new INTRADAY_PLANT_SCHEDULE();
            intraday_plant_scheduleArray  = (INTRADAY_PLANT_SCHEDULE[])CommonClassDB.Instance(intraday_plant_schedule).load(intraday_plant_schedule, __nPageIndex, __nPageSize, __strFilter, __strSort);
            intraday_plant_scheduleArray2 = intraday_plant_scheduleArray;
Label_0021:
            return(intraday_plant_scheduleArray2);
        }
        public static void DelTrue(int __nID)
        {
            INTRADAY_PLANT_SCHEDULE intraday_plant_schedule;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            intraday_plant_schedule    = new INTRADAY_PLANT_SCHEDULE();
            intraday_plant_schedule.Id = __nID;
            CommonClassDB.Instance(intraday_plant_schedule).delte(intraday_plant_schedule);
Label_0028:
            return;
        }
        public static INTRADAY_PLANT_SCHEDULE Get(int __nID)
        {
            INTRADAY_PLANT_SCHEDULE intraday_plant_schedule;
            INTRADAY_PLANT_SCHEDULE intraday_plant_schedule2;
            bool flag;

            if (((__nID < 1) == 0) != null)
            {
                goto Label_0010;
            }
            intraday_plant_schedule2 = null;
            goto Label_0037;
Label_0010:
            intraday_plant_schedule    = new INTRADAY_PLANT_SCHEDULE();
            intraday_plant_schedule.Id = __nID;
            intraday_plant_schedule2   = (INTRADAY_PLANT_SCHEDULE)CommonClassDB.Instance(intraday_plant_schedule).get(intraday_plant_schedule, intraday_plant_schedule.Id);
Label_0037:
            return(intraday_plant_schedule2);
        }