예제 #1
0
        public void SaveTo(IGetReport igp, string idCardNo, string no, int sortNo)
        {
            igp.BaseModel = new RecordsBaseInfoBLL().GetModel(idCardNo);
            igp.CardID    = idCardNo;

            if (igp.hasData())
            {
                this.setMsg("正在处理:" + igp.PrintName);
                DrawItems.SaveReport(Path + no + sortNo.ToString() + igp.PrintName.Replace(".xps", "") + idCardNo + ".xps", igp.getReport());
            }

            if (frmShowSave.count < 50)
            {
                this.setProcess(frmShowSave.count);
                frmShowSave.count += 2;
            }
        }
예제 #2
0
        public void SaveTo(IGetReport igp, string idCardNo, string no)
        {
            if (igp != null)
            {
                igp.BaseModel = new RecordsBaseInfoBLL().GetModel(idCardNo);
                igp.CardID    = idCardNo;

                if (igp.hasData())
                {
                    IsHaveReport = true;
                    setMsg("正在处理:" + igp.PrintName);
                    no = Convert.ToInt32(no).ToString("000000");
                    DrawItems.SaveReport("printtemp\\" + no + igp.PrintName.Replace(".xps", "") + idCardNo + ".xps", igp.getReport());
                }
            }

            if (count < 50)
            {
                setProcess(count);
                count = count + 2;
            }
        }
예제 #3
0
        public void SaveTo(IGetReport igp, string idCardNo)
        {
            igp.BaseModel = new RecordsBaseInfoBLL().GetModel(idCardNo);
            igp.CardID    = idCardNo;

            //if (igp.hasData())
            //{
            setMsg("正在处理:" + igp.PrintName);
            DrawItems.SaveReport(Path + igp.PrintName.Replace(".xps", "") + idCardNo + ".xps", igp.getReport());
            //}

            if (count < 50)
            {
                setProcess(count);
                count = count + 2;
            }
        }