Exemple #1
0
        /// <summary>
        /// 删除设备检验项目
        /// </summary>
        /// <param name="p_strModelID"></param>
        /// <param name="p_objItem"></param>
        public void m_mthDoDelete(string p_strModelID, clsCheckItemAndDeviceItem_VO p_objItem)
        {
            System.Security.Principal.IPrincipal p_objPrincipal         = null;
            com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc));
//			com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc objSvc = new com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc();
            long lngRes = objSvc.m_lngDeleteDeviceCheckItem(p_objPrincipal, p_strModelID, p_objItem);
//			objSvc.Dispose();
        }
Exemple #2
0
        /// <summary>
        /// 获得该型号检验设备的检验项目
        /// </summary>
        /// <param name="p_strModelID"></param>
        /// <param name="p_objResultArr"></param>
        /// <returns></returns>
        public long m_lngGetCheckItemByModelID(string p_strModelID, out clsCheckItemAndDeviceItem_VO[] p_objResultArr)
        {
            p_objResultArr = new clsCheckItemAndDeviceItem_VO[0];
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal         = null;
            com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc));
//			com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc objSvc = new com.digitalwave.iCare.middletier.LIS.clsLisDeviceSvc();
            lngRes = objSvc.m_lngGetCheckItemByModelID(p_objPrincipal, p_strModelID, out p_objResultArr);
//			objSvc.Dispose();
            return(lngRes);
        }