protected void BtEnter_Click(object sender, EventArgs e)
        {
            CY.CSTS.Core.Business.StimulationCheck stimulition = new CY.CSTS.Core.Business.StimulationCheck();

            stimulition.State = 1;
            SaveStimulition(stimulition, 1);
        }
        protected void BtOpen_Click(object sender, EventArgs e)
        {
            CY.CSTS.Core.Business.StimulationCheck stimulition = new CY.CSTS.Core.Business.StimulationCheck();

            if (CY.CSTS.Core.Business.StimulationCheck.HasOpenCheck())
            {
                //Response.Write("<script>alert('已经存在开启的激励,无法开启')</script>");
                Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "opendednow", "<script type='text/javascript'>alert('已经存在开启的激励,无法开启')</script>");
            }
            else
            {
                stimulition.State = 2;
                SaveStimulition(stimulition, 2);
            }
            CY.CSTS.Core.Business.FreshNews fresh = new CY.CSTS.Core.Business.FreshNews();
            fresh.Sponsor = "";
            fresh.FreshEvent = "激励考评开始";

            fresh.Embracer = "";

            fresh.EmbracerId = new Guid();
            fresh.UnitId = new Guid();
            fresh.EventType = 6;
            fresh.EventTime = DateTime.Now;
        }