Esempio n. 1
0
        /// <summary>
        /// 患者病历信息数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void HandleSuffererCaseHistoryData(string message)
        {
            try
            {
                SuffererCaseHistoryData Sufferer = (SuffererCaseHistoryData)XmlUtil.Deserialize(typeof(SuffererCaseHistoryData), message);

                IDataExchangeDataAccess Data = DataAccess.DataExchangeDataAccess();
                Data.SuffererCaseHistoryDataRespExchange += new EventHandler <DataExchangeRespEventArgs>(Data_SuffererCaseHistoryDataRespExchange);
                List <SuffererCaseHistoryData> DataList = new List <SuffererCaseHistoryData>();
                DataList.Add(Sufferer);
                Data.InsertSuffererCaseHistoryData(DataList, ServerClient.UnitXZBM);
            }
            catch (Exception ex)
            {
                LogHelper.WriteLog("", ex);
            }
        }