//显示通知
        protected virtual void ShowEventMsg(string strMsg, MsgType type)
        {
            switch (type)
            {
            case MsgType.FaceOk:
                ClearValue();
                if (IsAudio)
                {
                    Dispatcher.InvokeAsync(() => FaceFun.PlayMp3("sound\\检票成功.mp3"));
                }
                IdCardFunc.Beep();
                break;

            case MsgType.FaceErr:
                HideShow(2);
                ClearValue();
                if (IsAudio)
                {
                    Dispatcher.InvokeAsync(() => FaceFun.PlayMp3("sound\\检票失败.mp3"));
                }
                break;
            }
        }