/// <summary> /// 编辑基本信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton2_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); string emrSetting = BasicSettings.GetStringConfig("isCnMaiPage");//取得配置表中的配置信息 if (emrSetting == "1") { if (m_UCIemBasInfo == null) { m_UCIemBasInfo = new UCIemBasInfo(this); } ShowUCForm.ShowUCIemBasInfo(m_UCIemBasInfo, info); } else { if (m_UCIemBasInfoEn == null) { m_UCIemBasInfoEn = new UCIemBasInfoEn(this); } ShowUCForm.ShowUCIemBasInfoEn(m_UCIemBasInfoEn, info); } HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); }
public new void Load(IEmrHost app) { m_Host = app; if (!string.IsNullOrEmpty(CurrentNoofinpat)) { CurrentInpatient = new Common.Eop.Inpatient(Convert.ToDecimal(CurrentNoofinpat)); } else if (m_Host.CurrentPatientInfo != null) { CurrentInpatient = m_Host.CurrentPatientInfo; } else { return; } CurrentInpatient.ReInitializeAllProperties(); manger = new IemMainPageManger(m_Host, CurrentInpatient); info = manger.GetIemInfo(); LoadForm(); //病案室人员拥有编辑病案首页的权限(未归档病历) InitFirstPageEditFlag(null == CurrentInpatient ? "" : CurrentInpatient.NoOfFirstPage.ToString()); if (editFlag) { SetButtonsEditState(true); } }
/// <summary> /// 编辑费用信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton6_Click(object sender, EventArgs e) { try { //add by cyq 2013-03-04 if (CheckOutHosCardCheckPassed((int)CurrentInpatient.NoOfFirstPage)) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show("该病人的出院卡片已在HIS系统中审核通过,不可以修改。"); return; } SetWaitDialogCaption("正在加载数据"); if (m_UCOthers == null) { m_UCOthers = new UCOthers(); } //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档) m_UCOthers.editFlag = IsShowBackRecord; ShowUCForm.ShowUCOthers(m_UCOthers, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); } catch (Exception ex) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(ex.Message); } }
public void FillUI(IemMainPageInfo info, IEmrHost app) { m_App = app; m_IemInfo = info; //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); FillUIInner(); }
/// <summary> /// 编辑费用信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton6_Click(object sender, EventArgs e) { try { SetWaitDialogCaption("正在加载数据"); if (m_UCOthers == null) { m_UCOthers = new UCOthers(); } //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档) m_UCOthers.editFlag = IsShowBackRecord; ShowUCForm.ShowUCOthers(m_UCOthers, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); } catch (Exception ex) { //throw new Exception(ex.Message); MyMessageBox.Show(1, ex); } }
/// <summary> /// 编辑费用信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFeeInfo_Click(object sender, EventArgs e) { try { DrectSoft.Common.DS_Common.SetWaitDialogCaption(waitDialogForm, "正在加载数据"); if (m_UCOthers == null) { m_UCOthers = new UCOthers(); } //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档) m_UCOthers.editFlag = editFlag; ShowUCForm.ShowUCOthers(m_UCOthers, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); } catch (Exception ex) { DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm); MyMessageBox.Show(1, ex); } }
/// <summary> /// 编辑诊断信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton3_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); string emrSetting = BasicSettings.GetStringConfig("isCnMaiPage");//取得配置表中的配置信息 if (emrSetting == "1") { if (m_UCIemDiagnose == null) { m_UCIemDiagnose = new UCIemDiagnose(m_Host); } ShowUCForm.ShowUCIemDiagnose(m_UCIemDiagnose, info); } else { if (m_UCIemDiagnoseEn == null) { m_UCIemDiagnoseEn = new UCIemDiagnoseEn(m_Host); } ShowUCForm.ShowUCIemDiagnoseEn(m_UCIemDiagnoseEn, info); } ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); }
public void FillUI(IemMainPageInfo info, IEmrHost app) { try { m_App = app; m_IemInfo = info; //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); if (m_IemInfo == null || m_IemInfo.IemObstetricsBaby == null || m_IemInfo.IemObstetricsBaby.OutBabyTable == null || m_IemInfo.IemObstetricsBaby.OutBabyTable.Rows.Count <= 0) { FillUIInner(0); } else { FillUIInner(m_IemInfo.IemObstetricsBaby.OutBabyTable.Rows.Count - 1); } this.UpdateShowTable(); this.gridControlBabyInfo.DataSource = m_showTable; gridControlBabyInfo.EndUpdate(); m_App.PublicMethod.ConvertGridDataSourceUpper(gridViewBabyInfo); } catch (Exception ex) { throw ex; } }
/// <summary> /// 病案扩展维护编辑事件 /// Add by xlb 2013-04-16 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExcInfo_Click(object sender, EventArgs e) { try { DrectSoft.Common.DS_Common.SetWaitDialogCaption(waitDialogForm, "正在加载数据"); if (m_UCExtension == null) { m_UCExtension = new FormExtension(CurrentInpatient.NoOfFirstPage.ToString()); } ShowUCForm.ShowUCExtension(CurrentInpatient.NoOfFirstPage.ToString(), m_UCExtension, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); } catch (Exception ex) { DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm); MyMessageBox.Show(1, ex); } }
/// <summary> /// 显示产妇婴儿信息页面 /// </summary> /// <param name="info"></param> public void ShowUCObstetricsBaby(UCObstetricsBaby info, IemMainPageInfo m_pageInfo) { this.Text = "产妇婴儿信息编辑"; this.Controls.Clear(); this.Controls.Add(info); info.FillUI(m_pageInfo, m_app); }
/// <summary> /// 显示手术信息页面 /// </summary> /// <param name="info"></param> public void ShowUCIemOperInfo(UCIemOperInfo info, IemMainPageInfo m_pageInfo) { this.Text = "手术信息编辑"; this.Controls.Clear(); this.Controls.Add(info); info.FillUI(m_pageInfo, m_app); }
/// <summary> /// 显示西医诊断信息页面 /// </summary> /// <param name="info"></param> public void ShowUCIemDiagnoseEn(UCIemDiagnoseEn info, IemMainPageInfo m_pageInfo) { this.Text = "诊断信息编辑"; this.Controls.Clear(); this.Controls.Add(info); info.FillUI(m_pageInfo, m_app); }
/// <summary> /// 显示其他信息页面 /// </summary> /// <param name="info"></param> public void ShowUCOthers(UCOthers info, IemMainPageInfo m_pageInfo) { this.Text = "其他信息编辑"; this.Controls.Clear(); this.Controls.Add(info); info.FillUI(m_pageInfo, m_app); }
private void FillUIInner() { try { GetHisLoad(); IemMainPageInfo info = m_IemInfo; #region if (info.IemBasicInfo.Iem_Mainpage_NO == "") { //to do 病患基本信息 } else { txtTotal.Text = m_IemInfo.IemFeeInfo.Total; txtOwnFee.Text = m_IemInfo.IemFeeInfo.OwnFee; txtYBYLFY.Text = m_IemInfo.IemFeeInfo.YBYLFY; txtYBZLFY.Text = m_IemInfo.IemFeeInfo.YBZLFY; txtCare.Text = m_IemInfo.IemFeeInfo.Care; txtZHQTFY.Text = m_IemInfo.IemFeeInfo.ZHQTFY; txtBLZDF.Text = m_IemInfo.IemFeeInfo.BLZDF; txtSYSZDF.Text = m_IemInfo.IemFeeInfo.SYSZDF; txtYXXZDF.Text = m_IemInfo.IemFeeInfo.YXXZDF; txtLCZDF.Text = m_IemInfo.IemFeeInfo.LCZDF; txtFSSZLF.Text = m_IemInfo.IemFeeInfo.FSSZLF; txtLCWLZLF.Text = m_IemInfo.IemFeeInfo.LCWLZLF; txtSSZLF.Text = m_IemInfo.IemFeeInfo.SSZLF; txtMZF.Text = m_IemInfo.IemFeeInfo.MZF; txtSSF.Text = m_IemInfo.IemFeeInfo.SSF; txtKFF.Text = m_IemInfo.IemFeeInfo.KFF; txtZYZLF.Text = m_IemInfo.IemFeeInfo.ZYZLF; txtXYF.Text = m_IemInfo.IemFeeInfo.XYF; txtKJYWF.Text = m_IemInfo.IemFeeInfo.KJYWF; txtCPMedical.Text = m_IemInfo.IemFeeInfo.CPMedical; txtCMedical.Text = m_IemInfo.IemFeeInfo.CMedical; txtBloodFee.Text = m_IemInfo.IemFeeInfo.BloodFee; txtXDBLZPF.Text = m_IemInfo.IemFeeInfo.XDBLZPF; txtQDBLZPF.Text = m_IemInfo.IemFeeInfo.QDBLZPF; txtNXYZLZPF.Text = m_IemInfo.IemFeeInfo.NXYZLZPF; txtXBYZLZPF.Text = m_IemInfo.IemFeeInfo.XBYZLZPF; txtJCYYCXCLF.Text = m_IemInfo.IemFeeInfo.JCYYCXCLF; txtZLYYCXCLF.Text = m_IemInfo.IemFeeInfo.ZLYYCXCLF; txtSSYYCXCLF.Text = m_IemInfo.IemFeeInfo.SSYYCXCLF; txtOtherFee.Text = m_IemInfo.IemFeeInfo.OtherFee; } #endregion } catch (Exception ex) { throw ex; } }
/// <summary> /// 构造函数 /// </summary> /// <param name="iemMainPageEntity"></param> public DrawMainPageUtil(IemMainPageInfo iemMainPageEntity) { try { m_IemMainPageEntity = iemMainPageEntity; } catch (Exception ex) { throw ex; } }
/// <summary> /// 显示其他信息页面 /// </summary> /// <param name="info"></param> public void ShowUCOthers(UCOthers info, IemMainPageInfo m_pageInfo) { //this.ResumeLayout(); //this.Height = info.Height + 10; //this.Width = info.Width + 10; this.Text = "其他信息编辑"; this.Controls.Clear(); this.Controls.Add(info); //info.Dock = DockStyle.Fill; info.FillUI(m_pageInfo, m_app); }
public void FillUI(IemMainPageInfo info, IEmrHost app) { m_App = app; m_IemInfo = info; //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); FillUIInner(0); this.UpdateShowTable(); this.gridControlBabyInfo.DataSource = m_showTable; gridControlBabyInfo.EndUpdate(); m_App.PublicMethod.ConvertGridDataSourceUpper(gridViewBabyInfo); }
/// <summary> /// 显示产妇婴儿信息页面 /// </summary> /// <param name="info"></param> public void ShowUCObstetricsBaby(UCObstetricsBaby info, IemMainPageInfo m_pageInfo) { //this.ResumeLayout(); //this.Height = info.Height + 10; //this.Width = info.Width + 10; ////this.Text = "产妇婴儿信息编辑"; ////this.Controls.Clear(); ////this.Controls.Add(info); //////info.Dock = DockStyle.Fill; ////info.FillUI(m_pageInfo, m_app); }
private void FillUIInner() { IemMainPageInfo info = m_IemInfo; #region if (info.IemBasicInfo.Iem_Mainpage_NO == "") { //to do 病患基本信息 } else { txtTotal.Text = m_IemInfo.IemFeeInfo.Total.Trim('-'); txtOwnFee.Text = m_IemInfo.IemFeeInfo.OwnFee.Trim('-'); txtYBYLFY.Text = m_IemInfo.IemFeeInfo.YBYLFY.Trim('-'); txtYBZLFY.Text = m_IemInfo.IemFeeInfo.YBZLFY.Trim('-'); txtCare.Text = m_IemInfo.IemFeeInfo.Care.Trim('-'); txtZHQTFY.Text = m_IemInfo.IemFeeInfo.ZHQTFY.Trim('-'); txtBLZDF.Text = m_IemInfo.IemFeeInfo.BLZDF.Trim('-'); txtSYSZDF.Text = m_IemInfo.IemFeeInfo.SYSZDF.Trim('-'); txtYXXZDF.Text = m_IemInfo.IemFeeInfo.YXXZDF.Trim('-'); txtLCZDF.Text = m_IemInfo.IemFeeInfo.LCZDF.Trim('-'); txtFSSZLF.Text = m_IemInfo.IemFeeInfo.FSSZLF.Trim('-'); txtLCWLZLF.Text = m_IemInfo.IemFeeInfo.LCWLZLF.Trim('-'); txtSSZLF.Text = m_IemInfo.IemFeeInfo.SSZLF.Trim('-'); txtMZF.Text = m_IemInfo.IemFeeInfo.MZF.Trim('-'); txtSSF.Text = m_IemInfo.IemFeeInfo.SSF.Trim('-'); txtKFF.Text = m_IemInfo.IemFeeInfo.KFF.Trim('-'); txtXYF.Text = m_IemInfo.IemFeeInfo.XYF.Trim('-'); txtKJYWF.Text = m_IemInfo.IemFeeInfo.KJYWF.Trim('-'); txtCPMedical.Text = m_IemInfo.IemFeeInfo.CPMedical.Trim('-'); txtCMedical.Text = m_IemInfo.IemFeeInfo.CMedical.Trim('-'); txtBloodFee.Text = m_IemInfo.IemFeeInfo.BloodFee.Trim('-'); txtXDBLZPF.Text = m_IemInfo.IemFeeInfo.XDBLZPF.Trim('-'); txtQDBLZPF.Text = m_IemInfo.IemFeeInfo.QDBLZPF.Trim('-'); txtNXYZLZPF.Text = m_IemInfo.IemFeeInfo.NXYZLZPF.Trim('-'); txtXBYZLZPF.Text = m_IemInfo.IemFeeInfo.XBYZLZPF.Trim('-'); txtJCYYCXCLF.Text = m_IemInfo.IemFeeInfo.JCYYCXCLF.Trim('-'); txtZLYYCXCLF.Text = m_IemInfo.IemFeeInfo.ZLYYCXCLF.Trim('-'); txtSSYYCXCLF.Text = m_IemInfo.IemFeeInfo.SSYYCXCLF.Trim('-'); txtOtherFee.Text = m_IemInfo.IemFeeInfo.OtherFee.Trim('-'); } #endregion }
public void FillUI(IemMainPageInfo info, IEmrHost app) { try { m_App = app; m_IemInfo = info; FillUIInner(); } catch (Exception) { throw; } }
/// <summary> /// 是否点击确认按钮关闭的 /// </summary> /// <param name="is_OK"></param> public void Close(bool is_OK, IemMainPageInfo info) { if (is_OK) { m_info = info; this.DialogResult = System.Windows.Forms.DialogResult.OK; } else { this.DialogResult = System.Windows.Forms.DialogResult.Cancel; } this.Close(); }
/// <summary> /// FILL UI /// </summary> /// <param name="info"></param> /// <param name="app"></param> public void FillUI(IemMainPageInfo info, IEmrHost app) { try { m_App = app; m_IemInfo = info; //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); FillUIInner(); } catch (Exception ex) { throw ex; } }
public void FillUI(IemMainPageInfo info, IEmrHost app) { try { m_App = app; m_IemInfo = info; chx_qj1.CheckedChanged += new EventHandler(chx_qj1_CheckedChanged); //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); FillUIInner(); } catch (Exception ex) { throw new Exception(ex.Message); } }
/// <summary> /// 编辑费用信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton6_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); if (m_UCOthers == null) { m_UCOthers = new UCOthers(); } ShowUCForm.ShowUCOthers(m_UCOthers, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); }
/// <summary> /// 是否点击确认按钮关闭的 /// </summary> /// <param name="is_OK"></param> public void Close(bool is_OK, IemMainPageInfo info) { if (is_OK) { m_info = info; this.DialogResult = System.Windows.Forms.DialogResult.OK; } else { try { this.DialogResult = System.Windows.Forms.DialogResult.Cancel; //电子病历上传病案首页图片到其他系统 string encode = ""; string backencode = ""; string folder = AppDomain.CurrentDomain.BaseDirectory + "PrintImage\\"; //读取第一页 FileStream fs = File.OpenRead(folder + "1.png"); int filelength = 0; filelength = (int)fs.Length; Byte[] image = new Byte[filelength]; fs.Read(image, 0, filelength); encode = Convert.ToBase64String(image).Replace("+", "%2B"); fs.Close(); //读取第二页 FileStream fs1 = File.OpenRead(folder + "2.png"); int filelength1 = 0; filelength1 = (int)fs1.Length; Byte[] image1 = new Byte[filelength1]; fs1.Read(image1, 0, filelength1); backencode = Convert.ToBase64String(image1).Replace("+", "%2B"); fs1.Close(); string pra = "base64encode1=" + encode + "&base64encode2=" + backencode + "&ecardid=" + info.IemBasicInfo.CardNumber + "&mdrecno=" + info.IemBasicInfo.NOOFRECORD + "&medical=" + info.IemBasicInfo.NOOFRECORD + "&operatorname=" + m_app.User.DoctorName + "&operatorno=" + m_app.User.DoctorId + "&operatordatetime=" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); string value = DrectSoft.DSSqlHelper.DS_SqlHelper.HttpPostData(DrectSoft.Service.DS_SqlService.GetConfigValueByKey("ServiceWanIp"), "HttpPostGetPdf", pra); } catch (Exception ex) { } } this.Close(); }
/// <summary> /// 显示扩展维护界面 /// Add by xlb 2013-04-16 /// </summary> public void ShowUCExtension(string noofinpat, FormExtension info, IemMainPageInfo m_pageInfo) { try { this.Text = "扩展维护信息编辑"; m_extensionForm = info; nOofinpat = noofinpat; m_info = m_pageInfo; this.Controls.Clear(); this.Controls.Add(info); //info.FillUI(); info.btnClose.Click += new EventHandler(btnClose_Click); } catch (Exception ex) { throw ex; } }
/// <summary> /// 编辑基本信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton2_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); if (m_UCIemBasInfo == null) { m_UCIemBasInfo = new UCIemBasInfo(this); } ShowUCForm.ShowUCIemBasInfo(m_UCIemBasInfo, info); HideWaitDialog(); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } //ShowUCForm.StartPosition = FormStartPosition.CenterScreen; RefreshForm(); }
public new void Load(IEmrHost app) { m_Host = app; if (!string.IsNullOrEmpty(CurrentNoofinpat)) { CurrentInpatient = new Common.Eop.Inpatient(Convert.ToDecimal(CurrentNoofinpat)); } else if (m_Host.CurrentPatientInfo != null) { CurrentInpatient = m_Host.CurrentPatientInfo; } else { return; } CurrentInpatient.ReInitializeAllProperties(); manger = new IemMainPageManger(m_Host, CurrentInpatient); info = manger.GetIemInfo(); LoadForm(); }
private void LoadForm2() { if (manger == null) { manger = new IemMainPageManger(m_Host, CurrentInpatient); } info = manger.GetIemInfo(); DeleteMetaFile(); util = new DrawMainPageUtil(info); pictureBox1.Width = GetPageWidth(); pictureBox1.Height = GetPageHeight(); pictureBox2.Width = GetPageWidth(); pictureBox2.Height = GetPageHeight(); pictureBox1.BackgroundImage = util.MF1; pictureBox2.BackgroundImage = util.MF2; ReLocationPicture(); BindParentFormCloseEvent(); }
/// <summary> /// 创造参数集合 /// </summary> /// <param name="m_IemMainPageEntity">病案对象</param> /// <returns>参数集合</returns> public Dictionary <string, ParamObject> CreateParamDate(IemMainPageInfo m_IemMainPageEntity) { try { Dictionary <string, ParamObject> dicParamsList = new Dictionary <string, ParamObject>(); List <string> list = new List <string>(); PropertyInfo[] propertys = null; if (m_IemMainPageEntity.IemBasicInfo != null) { propertys = m_IemMainPageEntity.IemBasicInfo.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemBasicInfo, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemBasicInfo, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemDiagInfo != null) { propertys = m_IemMainPageEntity.IemDiagInfo.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemDiagInfo, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemDiagInfo, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemOperInfo != null) { propertys = m_IemMainPageEntity.IemOperInfo.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemOperInfo, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemOperInfo, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemFeeInfo != null) { propertys = m_IemMainPageEntity.IemFeeInfo.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemFeeInfo, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemFeeInfo, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemFeeInfo != null) { propertys = m_IemMainPageEntity.IemFeeInfo.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemFeeInfo, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemFeeInfo, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemObstetricsBaby != null) { propertys = m_IemMainPageEntity.IemObstetricsBaby.GetType().GetProperties(); foreach (PropertyInfo item in propertys) { ParamObject param = new ParamObject(item.Name, "", item.GetValue(m_IemMainPageEntity.IemObstetricsBaby, null) == null ? "" : item.GetValue(m_IemMainPageEntity.IemObstetricsBaby, null).ToString()); if (!dicParamsList.ContainsKey(item.Name)) { dicParamsList.Add(item.Name, param); } } } if (m_IemMainPageEntity.IemMainPageExtension != null) { DataTable dt = m_IemMainPageEntity.IemMainPageExtension.ExtensionData; foreach (DataRow row in dt.Rows) { ParamObject param = new ParamObject(row[0].ToString(), "", row[1] == null ? "" : row[1].ToString()); if (!dicParamsList.ContainsKey(row[0].ToString())) { dicParamsList.Add(row[0].ToString(), param); } } } return(dicParamsList); } catch (Exception ex) { throw ex; } }