public static INTRADAY_PEAK_PLANT_CAP[] List()
        {
            INTRADAY_PEAK_PLANT_CAP intraday_peak_plant_cap;

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

            INTRADAY_PEAK_PLANT_CAP[] intraday_peak_plant_capArray;
            INTRADAY_PEAK_PLANT_CAP[] intraday_peak_plant_capArray2;
            intraday_peak_plant_cap       = new INTRADAY_PEAK_PLANT_CAP();
            intraday_peak_plant_capArray  = (INTRADAY_PEAK_PLANT_CAP[])CommonClassDB.Instance(intraday_peak_plant_cap).load(intraday_peak_plant_cap, __nPageIndex, __nPageSize, __strFilter, __strSort);
            intraday_peak_plant_capArray2 = intraday_peak_plant_capArray;
Label_0021:
            return(intraday_peak_plant_capArray2);
        }
        public static void DelTrue(int __nID)
        {
            INTRADAY_PEAK_PLANT_CAP intraday_peak_plant_cap;
            bool flag;

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

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