示例#1
0
        /// <summary>
        /// 调用读取卡片信息接口
        /// </summary>
        /// <param name="sDll"></param>
        /// <returns></returns>
        public void Mz_GetCardInfoDllNew(string sCardNo)
        {
            dicStr.Clear();
            dicStr.Add(InputType.CardNo, sCardNo);

            ResultClass resultClass = MIInterFaceFactory.MZ_GetCardInfo(input);

            if (resultClass.bSucess)
            {
                DataTable dtMemberInfo = (DataTable)resultClass.oResult;
                iFrmMITest.LoadCatalogInfo(dtMemberInfo);
            }
            else
            {
                MessageBoxShowError("异常!" + resultClass.sRemarks);
            }
        }
        /// <summary>
        /// 调用读取卡片信息接口
        /// </summary>
        /// <param name="sDll"></param>
        /// <returns></returns>
        public void Mz_GetCardInfo(string sCardNo)
        {
            Dictionary <InputType, object> dicStr = new Dictionary <InputType, object>();

            dicStr.Add(InputType.CardNo, sCardNo);
            InputClass input = new InputClass();

            input.SInput = dicStr;

            ResultClass resultClass = MIInterFaceFactory.MZ_GetCardInfo(input);

            if (resultClass.bSucess)
            {
                DataTable dtMemberInfo = (DataTable)resultClass.oResult;
                iIFrmCommitTradeState.LoadCatalogInfo(dtMemberInfo);
            }
            else
            {
                MessageBoxShowError("异常!" + resultClass.sRemarks);
            }
        }