/// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btn_checkin_Click(object sender, EventArgs e)
        {
            string sst = (string)Session["st_calibvaluesync"];
            string set = (string)Session["et_calibvaluesync"];

            if ((sst == null) || (set == null))
            {
                Session["st_calibvaluesync"] = sd.Text;
                Session["et_calibvaluesync"] = ed.Text;
                sst = (string)Session["st_calibvaluesync"];
                set = (string)Session["et_calibvaluesync"];
            }

            try
            {
                ComparerEngine ce = new ComparerEngine();
                ce.InitCrvls(DateTime.Parse(sst), DateTime.Parse(set), 2);
                ce.InitCrls(DateTime.Parse(sst), DateTime.Parse(set), 2);

                ce.MarkCrvls();
                ce.MarkCrls();

                ce.CommitCrvls();
                ce.CommitCrls();

                List<ReportParameter> rpl = new List<ReportParameter>();
                ReportParameter rpst = new ReportParameter("starttime", sst);
                rpl.Add(rpst);
                ReportParameter rpet = new ReportParameter("endtime", set);
                rpl.Add(rpet);
                ReportParameter rpcg = new ReportParameter("category", category.SelectedItem.Value);
                rpl.Add(rpcg);
                ReportViewer1.ServerReport.SetParameters(rpl);
            }
            catch (Exception ex)
            {

            }
        }