public void MZ_RegisterDllNew(int registerId, string serialNO) { dicStr.Clear(); dicStr.Add(InputType.RegisterId, registerId); //dicStr.Add(InputType.SerialNO, serialNO); ResultClass resultClass = MIInterFaceFactory.MZ_Register(input); if (resultClass.bSucess) { Dictionary <string, string> resultDic = (Dictionary <string, string>)resultClass.oResult; iFrmMITest.LoadTradeInfo(resultDic); } else { MessageBoxShowError("异常!" + resultClass.sRemarks); } }
/// <summary> /// 医保挂号正式结算 /// </summary> /// <param name="registerId">医保预结算ID</param> /// <param name="serialNO">门诊号 不填写</param> /// <returns></returns> public static Dictionary <string, string> MiRegister(int registerId, string serialNO) { Dictionary <InputType, object> dicStr = new Dictionary <InputType, object>(); dicStr.Add(InputType.RegisterId, registerId); dicStr.Add(InputType.SerialNO, serialNO); InputClass input = new InputClass(); input.SInput = dicStr; ResultClass resultClass = MIInterFaceFactory.MZ_Register(input); if (resultClass.bSucess) { Dictionary <string, string> resultDic = (Dictionary <string, string>)resultClass.oResult; MessageBox.Show("医保卡余额:" + resultDic["personcount"]); return(resultDic); } else { throw new Exception("异常!" + resultClass.sRemarks); } }