コード例 #1
0
        /// <summary>
        /// 查询某病区号的所有病床信息
        /// </summary>
        /// <param name="p_strAreaid_chr">病区号</param>
        /// <param name="p_objResultArr"></param>
        /// <returns></returns>
        public long m_lngGetBedInfoByAreaID(string p_strAreaid_chr, out clsT_Bse_Bed_VO[] p_objResultArr)
        {
            long lngRes = 0;

            p_objResultArr = new clsT_Bse_Bed_VO[0];
            com.digitalwave.iCare.middletier.HIS.clsBedManageSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsBedManageSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsBedManageSvc));
            try
            {
                lngRes = objSvc.m_lngGetBedInfoByAreaID(objPrincipal, p_strAreaid_chr, out p_objResultArr);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }