Exemple #1
0
        /// <summary>
        /// 克隆函数
        /// </summary>
        /// <returns>返回当前实例的副本</returns>
        public new DrugControl Clone()
        {
            DrugControl drugControl = base.Clone() as DrugControl;

            drugControl.Dept          = this.Dept.Clone();
            drugControl.DrugAttribute = this.DrugAttribute.Clone();
            drugControl.DrugBillClass = this.DrugBillClass.Clone();

            return(drugControl);
        }
        /// <summary>
        /// 根据配药台实体 检索发送到本配药台的单据
        /// </summary>
        /// <param name="drugControl">摆药台</param>
        public virtual void ShowList(Neusoft.HISFC.Models.Pharmacy.DrugControl drugControl)
        {
            ArrayList al = this.drugStoreManager.QueryDrugMessageList(drugControl);

            if (al == null)
            {
                MessageBox.Show(Language.Msg("根据配药台检索发送到本台的单据列表失败") + this.drugStoreManager.Err);
            }

            if (drugControl.ShowLevel == 3)
            {
                this.ShowListForInpatientFirst(al);
            }
            else
            {
                this.ShowList(al, drugControl.ShowLevel);
            }
        }