Example #1
0
        /// <summary>
        /// 查询所有当前可用检验仪器列表,
        /// 停用日期为NULL 或 大于 当前日期 且 起用日期 小于等于当前日期,
        /// 刘彬 2004.05.26
        /// </summary>
        /// <param name="p_dtbDeviceList">
        /// table:t_bse_lis_device
        /// column:
        /// deviceid_chr
        /// device_model_id_chr
        /// dataacquisitioncomputerip_chr
        /// begin_date_dat
        /// end_date_dat
        /// devicename_vchr
        /// place_vchr
        /// deptid_chr
        /// isdatatrans_int
        /// </param>
        /// <returns></returns>
        public long m_lngGetDeviceList(out DataTable p_dtbDeviceList)
        {
            long lngRes = 0;

            p_dtbDeviceList = null;
            System.Security.Principal.IPrincipal objPrincipal = null;
            com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc objDeviceSvc =
                (com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc));
            lngRes = objDeviceSvc.m_lngGetDeviceList(objPrincipal, out p_dtbDeviceList);
//			objDeviceSvc.Dispose();
            return(lngRes);
        }