/// <summary>
        /// 判断交付揭示是否已经打印
        /// </summary>
        /// <param name="Data"></param>
        /// <returns></returns>
        public JsonModelJsPrintCheck JsPrintCheck(string Data)
        {
            JsonModelJsPrintCheck model            = new JsonModelJsPrintCheck();
            ParamModel            param            = Newtonsoft.Json.JsonConvert.DeserializeObject <ParamModel>(Data);
            DBDeliverJSPrint      dbDeliverJSPrint = new DBDeliverJSPrint();

            MDSelfServiceMachine.MDDeliverJSPrint modelPlan = new MDSelfServiceMachine.MDDeliverJSPrint();
            try
            {
                int bPrint = dbDeliverJSPrint.IsJsPrintable(param.strPlanGUID, param.strTrainmanGUID, param.dtBeginWorkTime);
                modelPlan.StrPlanGUID     = param.strPlanGUID;
                modelPlan.StrSiteGUID     = param.cid;
                modelPlan.StrTrainmanGUID = param.strTrainmanGUID;
                model.result    = "0";
                model.returnStr = "返回成功";
                model.bPrint    = bPrint.ToString();
            }
            catch (Exception ex)
            {
                TF.CommonUtility.LogClass.logex(ex, "");
                model.result    = "1";
                model.returnStr = "提交失败" + ex.Message;
            }
            return(model);
        }
        /// 保存打印记录
        /// </summary>
        /// <param name="print"></param>
        public JsonModel SavePrintData(string Data)
        {
            DBDeliverJSPrint dbs   = new DBDeliverJSPrint();
            printData        print = Newtonsoft.Json.JsonConvert.DeserializeObject <printData>(Data);
            JsonModel        model = new JsonModel();

            MDSelfServiceMachine.MDDeliverJSPrint modelPlan = new MDSelfServiceMachine.MDDeliverJSPrint();
            try
            {
                modelPlan.StrPlanGUID     = print.data.strPlanGUID;
                modelPlan.StrSiteGUID     = print.data.cid;
                modelPlan.StrTrainmanGUID = print.data.strTrainmanGUID;
                string   strPrintTime = print.data.dtPrintTime;
                DateTime dtPrint;
                if (DateTime.TryParse(strPrintTime, out dtPrint))
                {
                    modelPlan.dtPrintTime = dtPrint;
                }
                dbs.AddDeliverJSPrint(modelPlan);
            }
            catch (Exception ex)
            {
                TF.CommonUtility.LogClass.logex(ex, "");
                model.result    = "1";
                model.returnStr = "提交失败:" + ex.Message;
            }
            return(model);
        }