예제 #1
0
        static MedHelper()
        {
            /// <param name="orgCode">医疗机构代码</param>
            /// <param name="clientId">终端代码</param>

            YBComponent.InitYBComponent("", "");
        }
예제 #2
0
        /// <summary>
        /// 医保芯片卡获取卡号
        /// </summary>
        /// <returns></returns>
        public static string GetCardNo()
        {
            var value = YBComponent.ReadCardNo(null);

            //null TBC
            Entity_SHYBZHB info = value[1] as Entity_SHYBZHB;

            string cardNo = info.ybkh == null ? info.kh : info.ybkh;

            return(cardNo);
        }