Пример #1
0
        public TPoison GetPoisonById(string id)
        {
            TPoison entity = DAL.Knowledge.Poison.GetPoisonByName(id);

            if (entity != null)
            {
                entity.性质    = RtfToText(entity.性质);
                entity.毒性    = RtfToText(entity.毒性);
                entity.特点    = RtfToText(entity.特点);
                entity.毒理作用  = RtfToText(entity.毒理作用);
                entity.中毒表现  = RtfToText(entity.中毒表现);
                entity.诊断要点  = RtfToText(entity.诊断要点);
                entity.救治要点  = RtfToText(entity.救治要点);
                entity.毒理    = RtfToText(entity.毒理);
                entity.药动学   = RtfToText(entity.药动学);
                entity.实验室检查 = RtfToText(entity.实验室检查);
                entity.药理    = RtfToText(entity.药理);
                entity.病原学   = RtfToText(entity.病原学);
                entity.流行病学  = RtfToText(entity.流行病学);
                entity.备注    = RtfToText(entity.备注);
            }

            return(entity);
        }
Пример #2
0
        /// <summary>
        /// 右侧详细内容
        /// </summary>
        /// <param name="id">毒品序号</param>
        /// <returns></returns>
        public ActionResult PoisonDetail(string id)
        {
            BLL.Knowledge.Poison poison = new BLL.Knowledge.Poison();

            TPoison cot = poison.GetPoisonById(id);

            this.ViewData["poison"] = cot;

            this.ViewData["Character"]              = cot.性质;
            this.ViewData["Fatalness"]              = cot.毒性;
            this.ViewData["Characteristic"]         = cot.特点;
            this.ViewData["ToxicEffect"]            = cot.毒理作用;
            this.ViewData["PoisoningManifestation"] = cot.中毒表现;
            this.ViewData["DiagnoseMainPoint"]      = cot.诊断要点;
            this.ViewData["CureMainPoint"]          = cot.救治要点;
            this.ViewData["Toxicology"]             = cot.毒理;
            this.ViewData["Pharmacokinetic"]        = cot.药动学;
            this.ViewData["LabExamine"]             = cot.实验室检查;
            this.ViewData["Pharmacology"]           = cot.药理;
            this.ViewData["Etiology"]     = cot.病原学;
            this.ViewData["Epidemiology"] = cot.流行病学;
            this.ViewData["Remark"]       = cot.备注;
            return(View());
        }