Пример #1
0
        /// <summary>
        /// 根据PhysicalTopology的Id获取楼层以下级别的监控范围
        /// </summary>
        /// <returns></returns>
        public IList <PhysicalTopology> GetFloorMonitorRangeById(int id)
        {
            PhysicalTopologySP physicalTopologySp = new PhysicalTopologySP(db);
            var results = physicalTopologySp.GetFloorMonitorRange(id);

            return(results.ToWcfModelList());
        }
Пример #2
0
 public IList <PhysicalTopology> GetFloorMonitorRangeById(int id)
 {
     try
     {
         PhysicalTopologySP physicalTopologySp = new PhysicalTopologySP(db);
         var results = physicalTopologySp.GetFloorMonitorRange(id);
         return(results.ToWcfModelList());
     }
     catch (System.Exception ex)
     {
         Log.Error(tag, "GetFloorMonitorRangeById", ex.ToString());
         return(null);
     }
 }