// Token: 0x060007B1 RID: 1969 RVA: 0x00037204 File Offset: 0x00035404 public Dictionary <int, string> GetNetworkDeviceNamesForPage(CorePageType pageType, List <int> limitationIDs, bool includeBasic) { switch (pageType) { case 1: return(AlertDAL.GetNodeData(limitationIDs, includeBasic)); case 2: { INetworkDeviceDal networkDeviceDal = this.syslogDal; return(((networkDeviceDal != null) ? networkDeviceDal.GetNodeData(limitationIDs) : null) ?? new Dictionary <int, string>(0)); } case 3: { INetworkDeviceDal networkDeviceDal2 = this.trapDal; return(((networkDeviceDal2 != null) ? networkDeviceDal2.GetNodeData(limitationIDs) : null) ?? new Dictionary <int, string>(0)); } case 4: return(EventsDAL.GetNodeData(limitationIDs)); default: throw new NotImplementedException("Unsupported page type"); } }
// Token: 0x060007B0 RID: 1968 RVA: 0x00037194 File Offset: 0x00035394 public List <Node> GetNetworkDevices(CorePageType pageType, List <int> limitationIDs) { switch (pageType) { case 1: return(AlertDAL.GetAlertNetObjects(limitationIDs)); case 2: { INetworkDeviceDal networkDeviceDal = this.syslogDal; return(((networkDeviceDal != null) ? networkDeviceDal.GetNetObjects(limitationIDs) : null) ?? new List <Node>(0)); } case 3: { INetworkDeviceDal networkDeviceDal2 = this.trapDal; return(((networkDeviceDal2 != null) ? networkDeviceDal2.GetNetObjects(limitationIDs) : null) ?? new List <Node>(0)); } default: throw new NotImplementedException("Unsupported page type"); } }