Esempio n. 1
0
 /// <summary>
 /// 获取监控中心列表
 /// </summary>
 /// <returns></returns>
 public IList <ControlCenter> GetControlCenterList()
 {
     try
     {
         DControlCenter dfh = new DControlCenter();
         return(dfh.SELECT_BY_ISUSED(true));
     }
     catch
     {
         return(null);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 监控中心信息
 /// </summary>
 /// <param name="id">监控中心ID</param>
 /// <returns></returns>
 public ControlCenter GetControlCenter(short id)
 {
     try
     {
         DControlCenter dfh = new DControlCenter();
         return(dfh.SELECT_BY_ID(id));
     }
     catch
     {
         return(null);
     }
 }