private unsafe void __InitLeftMenu()
        {
            FuncTree[]    treeArray;
            Hashtable     hashtable;
            StringBuilder builder;
            int           num;
            FuncTree      tree;
            bool          flag;
            int           num2;

            this.navTree.Visible = 0;
            treeArray            = FuncTree.GetAllFuncs(-1);
            if (((treeArray == null) ? 0 : ((((int)treeArray.Length) < 1) == 0)) != null)
            {
                goto Label_0030;
            }
            goto Label_0158;
Label_0030:
            hashtable = FuncTree.GetAllFuncsHash(this.Page);
            builder   = new StringBuilder();
            builder.Append("<ul id=\"menu_tree\">");
            num = 0;
            goto Label_011E;
Label_0055:
            tree = treeArray[num];
            num2 = 1;
            if (((tree.Overdue == &num2.ToString()) == 0) != null)
            {
                goto Label_007F;
            }
            goto Label_011A;
Label_007F:
            if ((((tree.Name == "平台管理") == null) ? 1 : FunUtil.IsHost()) == null)
            {
                goto Label_011A;
            }
            if (FunUtil.CanExecFunc(this.nUserId, tree.Id) == null)
            {
                goto Label_011A;
            }
            this.__OutputFuncInfo(tree);
            builder.Append("<li>");
            builder.Append(string.Format("<label><a href=\"javascript:;\" funcid=\"{0}\" onclick=\"navigate('{0}');return false;\" hidefocus=\"hidefocus\" style=\"background:url(../../../img/{1}.png) no-repeat left center;font-size:14px\" align=\"absmiddle\" border=\"0\" />&nbsp;{2}</a></label>", (int)tree.Id, tree.Icon, tree.LocalName));
            builder.Append(this.__AppendChildFuncs(hashtable, tree));
            builder.Append("</li>");
Label_011A:
            num += 1;
Label_011E:
            if ((num < ((int)treeArray.Length)) != null)
            {
                goto Label_0055;
            }
            builder.Append("</ul>");
            this.ltlNavTreeFunctions.Text = builder.ToString();
            this.navTree.Visible          = 1;
Label_0158:
            return;
        }
Beispiel #2
0
        protected unsafe void Page_Load(object sender, EventArgs e)
        {
            string   str;
            UserInfo info;
            int      num;
            bool     flag;

            this.nUserId = FunUtil.GetCurrentUserID(this.Page);
            this.nId     = Util.GetInt(base.Request, "id", -1);
            this.nSelId  = Util.GetInt(base.Request, "sel", -1);
            SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css");
            if ((base.IsPostBack == 0) != null)
            {
                goto Label_0063;
            }
            goto Label_01A0;
Label_0063:
            this.__BindRole(this.sel_Role);
            this.btnCancel.Visible = 0;
            if (((this.nId > 0) == 0) != null)
            {
                goto Label_0136;
            }
            str = Util.GetString(base.Request, "act", "");
            if ((("del" == str) == 0) != null)
            {
                goto Label_00D0;
            }
            UserInfo.Del(this.nId);
            this.nId = -1;
            goto Label_0135;
Label_00D0:
            if ((("mdy" == str) == 0) != null)
            {
                goto Label_0135;
            }
            info = UserInfo.Get(this.nId);
            PageUtil.CommonFillEdit(this, info);
            num = UserRoles.GetUserFirstRoleId(info.Id);
            PageUtil.SetSel(this.sel_Role, &num.ToString());
            this.btnAdd.Value      = "更新";
            this.btnCancel.Visible = 1;
            Label_0135 :;
            Label_0136 :
            this.PaginationBar1.RecordCount = 0x2710;
            this.PaginationBar1.PageIndex   = Util.GetInt(base.Request, "pi", 0) + 1;
            this.PaginationBar1.PageSize    = Util.GetInt(base.Request, "ps", this.PaginationBar1.DefaultPageSize);
            PageUtil.RestoreSearchConditionFromSession(this.Page);
            this.__BindData();
Label_01A0:
            return;
        }
        protected unsafe void btnLogout_Click(object sender, EventArgs e)
        {
            string str;
            bool   flag;

            str  = PageUtil.GetIndexPage(this.Page);
            flag = 0;
            PageUtil.SetCookie(this.Page, "GWZKJLMM", &flag.ToString(), 360);
            PageUtil.SetCookie(this.Page, "GWZKUserInfo", "", 360);
            FunUtil.Logout(this.Page);
            PageUtil.WriteAlertAndRet(this.Page, "", str, "");
            return;
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            UserInfo      info;
            HB_ShiCZTItem item;
            string        str;
            bool          flag;

            this.nUserId = FunUtil.GetCurrentUserID(this.Page);
            this.m_htCommonFill["m_strEditUrl"]   = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTZC", "");
            this.m_htCommonFill["m_strSubmitUrl"] = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTSubmit", "");
            SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css");
            SkinUtil.AdhereEntryStyleSheet(this.Page, "fileinput.css");
            info = UserInfo.Get(this.nUserId);
            if (((info == null) == 0) != null)
            {
                goto Label_009C;
            }
            goto Label_01BA;
Label_009C:
            PageUtil.CommonFillHash(this.m_htCommonFill, 0, info, "_User", 0, 0, null);
            item = HB_ShiCZTItem.GetByUserId(this.nUserId);
            if ((item == null) != null)
            {
                goto Label_01BA;
            }
            PageUtil.CommonFillHash(this.m_htCommonFill, 0, item, "", 0, 0, null);
            str = this.ltTemplate.Text;
            if (string.IsNullOrEmpty(item.YingYZZ) != null)
            {
                goto Label_0137;
            }
            this.m_htCommonFill["lblimg_YingYZZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 11));
Label_0137:
            if (string.IsNullOrEmpty(item.DianLYWXKZ) != null)
            {
                goto Label_0182;
            }
            this.m_htCommonFill["lblimg_DianLYWXKZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 11));
Label_0182:
            if ((item.RecordStatus == 1) != null)
            {
                goto Label_01B9;
            }
            this.btnSumibt.Disabled            = 1;
            this.btnSumibt.Attributes["title"] = "仅录入中记录需要提交审核,请先“修改主体信息”";
            Label_01B9 :;
            Label_01BA :
            return;
        }
Beispiel #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int           num;
            string        str;
            HB_ShiCZTItem item;
            bool          flag;

            this.nUserId = FunUtil.GetCurrentUserID(this.Page);
            if (((PersistenceManager.GlobalPortalId == 3) == 0) != null)
            {
                goto Label_00E7;
            }
            if ((UserRoles.IsUserInRoleName(this.nUserId, "注册用户") == 0) != null)
            {
                goto Label_00DB;
            }
            str  = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTZC", "");
            item = HB_ShiCZTItem.GetByUserId(this.nUserId);
            if (((item == null) == 0) != null)
            {
                goto Label_0088;
            }
            PageUtil.WriteAlertAndRet(this.Page, "请先完成主体注册信息填写工作", str, "");
            goto Label_00D8;
Label_0088:
            if (((item.RecordStatus == 1) == 0) != null)
            {
                goto Label_00B1;
            }
            PageUtil.WriteAlertAndRet(this.Page, "请先提交主体注册信息", str, "");
            goto Label_00D8;
Label_00B1:
            if (((item.RecordStatus == 2) == 0) != null)
            {
                goto Label_00D8;
            }
            PageUtil.WriteAlertAndRet(this.Page, "请耐心等待交易中心审核主体注册信息", str, "");
Label_00D8:
            goto Label_00E4;
Label_00DB:
            this.__BindData();
Label_00E4:
            goto Label_0116;
Label_00E7:
            str = PageUtil.GetDoFormActionUrl(base.Request, "DianWang_Home", "");
            PageUtil.WriteAlertAndRet(this.Page, "", str, "");
Label_0116:
            return;
        }
Beispiel #6
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string    str;
            SiteRoles roles;
            bool      flag;

            this.nUserId = FunUtil.GetCurrentUserID(this.Page);
            this.nId     = Util.GetInt(base.Request, "id", -1);
            this.nSelId  = Util.GetInt(base.Request, "sel", -1);
            SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css");
            if ((base.IsPostBack == 0) != null)
            {
                goto Label_0063;
            }
            goto Label_0174;
Label_0063:
            this.btnCancel.Visible = 0;
            if (((this.nId > 0) == 0) != null)
            {
                goto Label_010A;
            }
            str = Util.GetString(base.Request, "act", "");
            if ((("del" == str) == 0) != null)
            {
                goto Label_00C3;
            }
            SiteRoles.Del(this.nId);
            this.nId = -1;
            goto Label_0109;
Label_00C3:
            if ((("mdy" == str) == 0) != null)
            {
                goto Label_0109;
            }
            roles = SiteRoles.Get(this.nId);
            PageUtil.CommonFillEdit(this, roles);
            this.btnAdd.Value      = "更新";
            this.btnCancel.Visible = 1;
            Label_0109 :;
            Label_010A :
            this.PaginationBar1.RecordCount = 0x2710;
            this.PaginationBar1.PageIndex   = Util.GetInt(base.Request, "pi", 0) + 1;
            this.PaginationBar1.PageSize    = Util.GetInt(base.Request, "ps", this.PaginationBar1.DefaultPageSize);
            PageUtil.RestoreSearchConditionFromSession(this.Page);
            this.__BindData();
Label_0174:
            return;
        }
Beispiel #7
0
        protected unsafe void Page_Load(object sender, EventArgs e)
        {
            string str;

            SitePortal[] portalArray;
            int          num;
            SitePortal   portal;
            bool         flag;

            this.Session["global_pid"] = (int)0;
            this.nUserId = FunUtil.GetCurrentUserID();
            SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css");
            this.applicationpath.Value = Globals.get_ApplicationPath();
            str = ConfigurationManager.AppSettings["dbdefaultportal"];
            if ((base.IsPostBack == 0) != null)
            {
                goto Label_0069;
            }
            goto Label_012A;
Label_0069:
            this.lblPortalName.Text = PortalSettings.get_PortalName();
            portalArray             = SitePortal.GetAllPortal();
            if (((portalArray == null) ? 0 : ((((int)portalArray.Length) < 2) == 0)) != null)
            {
                goto Label_00AA;
            }
            this.trPortal.Visible = 0;
            goto Label_012A;
Label_00AA:
            this.trPortal.Visible = 1;
            this.selPortal.Items.Clear();
            num = 1;
            goto Label_00FE;
Label_00CD:
            portal = portalArray[num];
            this.selPortal.Items.Add(new ListItem(portal.Title, &portal.id.ToString()));
            num += 1;
Label_00FE:
            if ((num < ((int)portalArray.Length)) != null)
            {
                goto Label_00CD;
            }
            PageUtil.SetSel(this.selPortal, str);
            this.Session["global_allportal"] = portalArray;
Label_012A:
            return;
        }
Beispiel #8
0
        public static unsafe void Del(int __nID)
        {
            INTRADAY_PEAK_TOTAL_CAP intraday_peak_total_cap;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            intraday_peak_total_cap            = Get(__nID);
            intraday_peak_total_cap.IsDelete   = 1;
            intraday_peak_total_cap.Deleter    = FunUtil.GetCurrentUserID();
            intraday_peak_total_cap.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(intraday_peak_total_cap).set(intraday_peak_total_cap);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_PEAK_REQ dayahead_peak_req;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_peak_req            = Get(__nID);
            dayahead_peak_req.IsDelete   = 1;
            dayahead_peak_req.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_peak_req.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_peak_req).set(dayahead_peak_req);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_RESERVE_POWER_PLANT dayahead_reserve_power_plant;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_reserve_power_plant            = Get(__nID);
            dayahead_reserve_power_plant.IsDelete   = 1;
            dayahead_reserve_power_plant.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_reserve_power_plant.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_reserve_power_plant).set(dayahead_reserve_power_plant);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_PEK_DEVIATION_REASON dayahead_pek_deviation_reason;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_pek_deviation_reason            = Get(__nID);
            dayahead_pek_deviation_reason.IsDelete   = 1;
            dayahead_pek_deviation_reason.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_pek_deviation_reason.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_pek_deviation_reason).set(dayahead_pek_deviation_reason);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            HUAZHONG_PEK_INTRADAY_REASON huazhong_pek_intraday_reason;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            huazhong_pek_intraday_reason            = Get(__nID);
            huazhong_pek_intraday_reason.IsDelete   = 1;
            huazhong_pek_intraday_reason.Deleter    = FunUtil.GetCurrentUserID();
            huazhong_pek_intraday_reason.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(huazhong_pek_intraday_reason).set(huazhong_pek_intraday_reason);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            INTRADAY_REVERSE_TRANS_LIMIT intraday_reverse_trans_limit;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            intraday_reverse_trans_limit            = Get(__nID);
            intraday_reverse_trans_limit.IsDelete   = 1;
            intraday_reverse_trans_limit.Deleter    = FunUtil.GetCurrentUserID();
            intraday_reverse_trans_limit.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(intraday_reverse_trans_limit).set(intraday_reverse_trans_limit);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            HUAZHONG_INTRADAY_PEAK_PRICE huazhong_intraday_peak_price;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            huazhong_intraday_peak_price            = Get(__nID);
            huazhong_intraday_peak_price.IsDelete   = 1;
            huazhong_intraday_peak_price.Deleter    = FunUtil.GetCurrentUserID();
            huazhong_intraday_peak_price.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(huazhong_intraday_peak_price).set(huazhong_intraday_peak_price);
Label_0047:
            return;
        }
Beispiel #15
0
        public static unsafe void Del(int __nID)
        {
            HUAZHONG_RESERVE_RESULT huazhong_reserve_result;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            huazhong_reserve_result            = Get(__nID);
            huazhong_reserve_result.IsDelete   = 1;
            huazhong_reserve_result.Deleter    = FunUtil.GetCurrentUserID();
            huazhong_reserve_result.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(huazhong_reserve_result).set(huazhong_reserve_result);
Label_0047:
            return;
        }
Beispiel #16
0
        public static unsafe void Del(int __nID)
        {
            RESERVE_DEVIATION_REASON reserve_deviation_reason;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            reserve_deviation_reason            = Get(__nID);
            reserve_deviation_reason.IsDelete   = 1;
            reserve_deviation_reason.Deleter    = FunUtil.GetCurrentUserID();
            reserve_deviation_reason.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(reserve_deviation_reason).set(reserve_deviation_reason);
Label_0047:
            return;
        }
Beispiel #17
0
        public static unsafe void Del(int __nID)
        {
            HB_PARTICIPANT hb_participant;
            bool           flag;
            DateTime       time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            hb_participant            = Get(__nID);
            hb_participant.IsDelete   = 1;
            hb_participant.Deleter    = FunUtil.GetCurrentUserID();
            hb_participant.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(hb_participant).set(hb_participant);
Label_0047:
            return;
        }
Beispiel #18
0
        public static unsafe void Del(int __nID)
        {
            PEAK_BID peak_bid;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            peak_bid            = Get(__nID);
            peak_bid.IsDelete   = 1;
            peak_bid.Deleter    = FunUtil.GetCurrentUserID();
            peak_bid.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(peak_bid).set(peak_bid);
Label_0047:
            return;
        }
Beispiel #19
0
        public static unsafe void Del(int __nID)
        {
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            intraday_plant_preschedule            = Get(__nID);
            intraday_plant_preschedule.IsDelete   = 1;
            intraday_plant_preschedule.Deleter    = FunUtil.GetCurrentUserID();
            intraday_plant_preschedule.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(intraday_plant_preschedule).set(intraday_plant_preschedule);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_PLANT_SCHEDULE dayahead_plant_schedule;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_plant_schedule            = Get(__nID);
            dayahead_plant_schedule.IsDelete   = 1;
            dayahead_plant_schedule.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_plant_schedule.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_plant_schedule).set(dayahead_plant_schedule);
Label_0047:
            return;
        }
Beispiel #21
0
        public static unsafe void Del(int __nID)
        {
            HB_ShiCZTItem item;
            bool          flag;
            DateTime      time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            item            = Get(__nID);
            item.IsDelete   = 1;
            item.Deleter    = FunUtil.GetCurrentUserID();
            item.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(item).set(item);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            RESERVE_COST reserve_cost;
            bool         flag;
            DateTime     time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            reserve_cost            = Get(__nID);
            reserve_cost.IsDelete   = 1;
            reserve_cost.Deleter    = FunUtil.GetCurrentUserID();
            reserve_cost.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(reserve_cost).set(reserve_cost);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            HUAZHONG_DAYAHEAD_PEK_POWER_PLANT huazhong_dayahead_pek_power_plant;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            huazhong_dayahead_pek_power_plant            = Get(__nID);
            huazhong_dayahead_pek_power_plant.IsDelete   = 1;
            huazhong_dayahead_pek_power_plant.Deleter    = FunUtil.GetCurrentUserID();
            huazhong_dayahead_pek_power_plant.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(huazhong_dayahead_pek_power_plant).set(huazhong_dayahead_pek_power_plant);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            INTRADAY_PEK_RESULT intraday_pek_result;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            intraday_pek_result            = Get(__nID);
            intraday_pek_result.IsDelete   = 1;
            intraday_pek_result.Deleter    = FunUtil.GetCurrentUserID();
            intraday_pek_result.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(intraday_pek_result).set(intraday_pek_result);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_POSITIVE_TRANS_LIMIT dayahead_positive_trans_limit;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_positive_trans_limit            = Get(__nID);
            dayahead_positive_trans_limit.IsDelete   = 1;
            dayahead_positive_trans_limit.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_positive_trans_limit.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_positive_trans_limit).set(dayahead_positive_trans_limit);
Label_0047:
            return;
        }
Beispiel #26
0
        public static unsafe void Del(int __nID)
        {
            HB_QUOTATION_UNIT hb_quotation_unit;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            hb_quotation_unit            = Get(__nID);
            hb_quotation_unit.IsDelete   = 1;
            hb_quotation_unit.Deleter    = FunUtil.GetCurrentUserID();
            hb_quotation_unit.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(hb_quotation_unit).set(hb_quotation_unit);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            intraday_peak_power_prov            = Get(__nID);
            intraday_peak_power_prov.IsDelete   = 1;
            intraday_peak_power_prov.Deleter    = FunUtil.GetCurrentUserID();
            intraday_peak_power_prov.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(intraday_peak_power_prov).set(intraday_peak_power_prov);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_RESERVE_TOTAL_CAP dayahead_reserve_total_cap;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_reserve_total_cap            = Get(__nID);
            dayahead_reserve_total_cap.IsDelete   = 1;
            dayahead_reserve_total_cap.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_reserve_total_cap.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_reserve_total_cap).set(dayahead_reserve_total_cap);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            huazhong_dayahead_reserve_price            = Get(__nID);
            huazhong_dayahead_reserve_price.IsDelete   = 1;
            huazhong_dayahead_reserve_price.Deleter    = FunUtil.GetCurrentUserID();
            huazhong_dayahead_reserve_price.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(huazhong_dayahead_reserve_price).set(huazhong_dayahead_reserve_price);
Label_0047:
            return;
        }
        public static unsafe void Del(int __nID)
        {
            DAYAHEAD_PEK_POWER_PROV dayahead_pek_power_prov;
            bool     flag;
            DateTime time;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0047;
            }
            dayahead_pek_power_prov            = Get(__nID);
            dayahead_pek_power_prov.IsDelete   = 1;
            dayahead_pek_power_prov.Deleter    = FunUtil.GetCurrentUserID();
            dayahead_pek_power_prov.DeleteTime = &DateTime.Now.Ticks;
            CommonClassDB.Instance(dayahead_pek_power_prov).set(dayahead_pek_power_prov);
Label_0047:
            return;
        }