Example #1
0
        /// <summary>
        /// 患者信息数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void HandleSuffererData(string message)
        {
            try
            {
                SuffererData Sufferer = (SuffererData)XmlUtil.Deserialize(typeof(SuffererData), message);

                IDataExchangeDataAccess Data = DataAccess.DataExchangeDataAccess();
                Data.SuffererDataRespExchange += new EventHandler <DataExchangeRespEventArgs>(Data_SuffererDataRespExchange);
                List <SuffererData> DataList = new List <SuffererData>();
                DataList.Add(Sufferer);
                Data.InsertSuffererData(DataList, ServerClient.UnitXZBM);
            }
            catch (Exception ex)
            {
                LogHelper.WriteLog("", ex);
            }
        }