Example #1
0
        //2.读卡操作结束后显示提示取回身份证信息
        private void afterReadCar()
        {
            if (CD.timeTag.equal(timeTag) == false)
            {
                return;
            }
            //ReadIDCar.persionid = "450422198502152718";
            if (ReadIDCar.error == null)
            {
                //List<Dictionary<string, string>> zkData = null;
                //string error = null;
                //zkData = WeiWang.getAZ03(ReadIDCar.persionid, ReadIDCar.name, out error);
                //if (error != null)
                //{
                //    ShowTip.show(false, BackExit.Exit, error);
                //    return;
                //}
                //if (zkData[0]["ERR"] == "OK")
                //{
                //    ShowTip.show(false, BackExit.Exit, "已经申领过制卡,不能重复申领!");
                //    return;
                //}
                TipWinB1.showTip("信息读取成功,请取回您的身份证", 3000, nextStep);
            }

            else if (CD.timeTag.equal(timeTag))
            {
                TipWin.showTip(ReadIDCar.error, 5000, BackExit.Exit);
            }
        }
        public static void putCarOut()
        {
            int ret3 = iTranseDevExportSendCard(handle, 30);

            if (ret3 != 0)
            {
                Log.AddLog(log, "出卡失败");
                TipWinB1.showTip("出卡失败,请联系管理员处理!", 10000, null);
            }
        }