Exemplo n.º 1
0
        /// <summary>
        /// 显示要点提示信息
        /// </summary>
        /// <param name="codeMm">药品编码</param>
        /// <param name="nameMm">药品名称</param>
        public override void ShowDrugInstruction(string codeMm, string nameMm)
        {
            DrugInfo drug = new DrugInfo();

            drug.License_number = codeMm;
            drug.General_name   = nameMm;

            string msg = drugMonitor.HintMainPoints(drug);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 获取要点提示信息
        /// </summary>
        /// <returns></returns>
        private string GetMainPoints(OrdSrvMmDO ordSrvMm)
        {
            DrugInfo drug = new DrugInfo();

            drug.General_name   = ordSrvMm.Name_mm; // 药品名称
            drug.License_number = ordSrvMm.Code_mm; // 药品编码

            string mainPoints = drugMonitor.HintMainPoints(drug);

            return(mainPoints);
        }