public long m_lngGetRelatesByUnitID(string p_strApplyUnitID, out clsUnitPropertyRelate_VO[] p_objVOArr)
        {
            long lngRes = 0;

            p_objVOArr = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(
                    typeof(com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc));
            lngRes = objSvc.m_lngGetRelatesByUnitID(objPrincipal, p_strApplyUnitID, out p_objVOArr);

            return(lngRes);
        }
        /// <summary>
        /// 返回满足条件的属性值集合
        /// </summary>
        /// <param name="p_strPropertyId">属性id</param>
        /// <param name="p_strApplyUnitId"><申请单元id/param>
        /// <param name="p_arlResult">结果集合</param>
        /// <returns>是否成功</returns>
        public long m_mthGetPropertyValue(string p_strPropertyId, string p_strApplyUnitId, out ArrayList p_arlResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(
                    typeof(com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc));

            lngRes = objSvc.m_lngGetPropertyValue(objPrincipal, p_strPropertyId, p_strApplyUnitId, out p_arlResult);

            return(lngRes);
        }
        /// <summary>
        /// 返回所有的属性id
        /// </summary>
        /// <param name="p_strPropertyIDArr">结果集合</param>
        /// <returns>是否成功</returns>
        public long m_mthGetAllPropertyId(out string[] p_strPropertyIDArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(
                    typeof(com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc));

            lngRes = objSvc.m_lngGetAllPropertyId(objPrincipal, out p_strPropertyIDArr);

            return(lngRes);
        }
        public long m_lngGetAllUnitPropertyData(out clsUnitProperty_VO[] p_objPropertyArr,
                                                out clsUnitPropertyValue_VO[] p_objValueArr)
        {
            p_objPropertyArr = null;
            p_objValueArr    = null;
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(
                    typeof(com.digitalwave.iCare.middletier.LIS.clsQueryApplyPropertySvc));
            lngRes = objSvc.m_lngGetAllUnitPropertyAndDetail(objPrincipal, out p_objPropertyArr, out p_objValueArr);

            return(lngRes);
        }