Exemplo n.º 1
0
 public bool ValidateDr(DataRow dr, List<TDHSUPABearer> UPABearerList, int ValidateID)
 {
     m_ValidateID = ValidateID;
     IExtractor ex = new DataRowExtractor(dr);
     m_Desc = new TDHSUPABearerDesc(m_BearManagement, new TDHSUPABearer(), UPABearerList);
     return Validate(ref m_Info, m_Desc, ex, (short)ValidateID);
 }
Exemplo n.º 2
0
 public bool ValidateDr(DataRow dr, List<UMTSHSUPABearer> excludeMobility, int validateID)
 {
     this.m_ValidateID = validateID;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_Desc = new HSUPABearerDesc(this.m_Management, new UMTSHSUPABearer(), excludeMobility);
     return this.Validate(ref this.m_Info, this.m_Desc, ex, (short) validateID);
 }
Exemplo n.º 3
0
 public bool ValidateDr(DataRow dr, List<TrafficEnvironment> excludeMobility, int validateID)
 {
     this.m_ValidateID = validateID;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_Desc = new EnvironmentDesc(this.m_Management, new TrafficEnvironment(), excludeMobility);
     return this.Validate(ref this.m_Info, this.m_Desc, ex, (short) validateID);
 }
Exemplo n.º 4
0
 public bool ValidateDr(DataRow dr, List<TDHSDPABearer> excludeBearer, int validateId)
 {
     this.m_ValidatId = validateId;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_Desc = new TDHSDPABearerDesc(this.m_TrafficColModel, new TDHSDPABearer());
     return this.ValidateDr(ref this.m_Info, this.m_Desc, ex, validateId);
 }
Exemplo n.º 5
0
 public bool ValidateDr(DataRow dr, List<MIMO> excludeMIMO, int validateID)
 {
     this.m_ValidateID = validateID;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_Desc = new MIMODesc(this.m_Management, new MIMO(), excludeMIMO);
     return this.Validate(ref this.m_Info, this.m_Desc, ex, (short) validateID);
 }
Exemplo n.º 6
0
 public bool ValidateDr(DataRow dr, List<MCS> excludeMobility, int validateID)
 {
     this.m_ValidateID = validateID;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_Desc = new MCSDesc(this.m_Management, new MCS(), excludeMobility, this.m_LinkType);
     return this.Validate(ref this.m_Info, this.m_Desc, ex, (short) validateID);
 }
Exemplo n.º 7
0
 public bool ValidateDr(DataRow dr, List<UnionPsService> excludeMobility, int validateID)
 {
     this.m_ValidateID = validateID;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_PsDesc = new PsServiceDesc(this.m_Management, new UnionPsService(), excludeMobility);
     this.m_LTEDesc = new LTEServiceDesc(new LTEService());
     return (this.Validate(ref this.m_Info, this.m_PsDesc, ex, (short) validateID) && this.Validate(ref this.m_Info, this.m_LTEDesc, ex, 0));
 }
Exemplo n.º 8
0
 public bool ValidateDr(DataRow dr, List<Terminal> excludeTerminal, int validateId)
 {
     this.m_ValidatId = validateId;
     IExtractor ex = new DataRowExtractor(dr);
     Terminal terminal = new Terminal();
     TDTerminal item = new TDTerminal();
     terminal.NetTerminalList.Add(item);
     this.m_Desc = new TdTerminalDesc(this.m_TerminalManagement, this.m_ReceptionEquipment, terminal);
     return this.Validate(ref this.m_Info, this.m_Desc, ex, validateId);
 }
Exemplo n.º 9
0
 public bool ValidateDr(string oriCellName, DataRow dr, List<TDSCDMACarrier> excludeCell)
 {
     this.m_OldCellName = oriCellName;
     short cellId = this.GetCellId(oriCellName);
     string str = dr["Name"].ToString();
     short validatedID = 0;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_CellDesc = new TDSCDMACarrierDesc(this.m_Model, new TDSCDMACarrier(), excludeCell);
     return (this.Validate(ref this.m_Info, this.m_CellDesc, ex, cellId) && this.Validate(ref this.m_Info, this.m_PropModelConfigDesc, ex, validatedID));
 }
Exemplo n.º 10
0
 public bool ValidateDr(string oriRelayCellName, DataRow dr, List<string> excludeCellName)
 {
     this.m_OldName = oriRelayCellName;
     short relayCellId = this.GetRelayCellId(oriRelayCellName);
     string str = dr["Name"].ToString();
     IExtractor ex = new DataRowExtractor(dr);
     this.m_RelayCellDesc = new RelayCellDesc(this.m_Model, new RelayCell(), excludeCellName);
     bool flag = this.Validate(ref this.m_Info, this.m_RelayCellDesc, ex, relayCellId);
     this.m_SectorValidator.CellName = str;
     return flag;
 }
Exemplo n.º 11
0
 public bool ValidateDr(DataRow dr, List<TDHSUPAUECategory> excludeCategory, int validateId)
 {
     this.m_ValidatId = validateId;
     IExtractor ex = new DataRowExtractor(dr);
     List<string> excludeNames = new List<string>();
     foreach (TDHSUPAUECategory category in excludeCategory)
     {
         excludeNames.Add(category.UECategoryIndex.ToString());
     }
     this.m_Desc = new TDHSUPAUECategoryDesc(this.m_TrafficColModel, new TDHSUPAUECategory(), excludeNames);
     return this.ValidateDr(ref this.m_Info, this.m_Desc, ex, validateId);
 }
Exemplo n.º 12
0
 public bool ValidateDr(DataRow dr, List<Terminal> excludeTerminals, int validateId)
 {
     this.m_ValidatId = validateId;
     IExtractor ex = new DataRowExtractor(dr);
     Terminal ter = new Terminal();
     ter.Technology = NetWorkType.GSM;
     GSMTerminal item = new GSMTerminal();
     ter.NetTerminalList.Add(item);
     this.m_Desc = new TerminalDesc(this.m_TrafficColModel, ter);
     this.m_GsmTerminalDesc = new GsmTerminalDesc(ter, this.m_TrafficColModel, excludeTerminals);
     return this.ValidateDr(ref this.m_Info, this.m_GsmTerminalDesc, ex, validateId);
 }
Exemplo n.º 13
0
 public bool ValidateDr(string oriCellName, DataRow dr, List<Repeater> excludeCell)
 {
     this.m_OldCellName = oriCellName;
     short cellId = this.GetCellId(oriCellName);
     short validatedID = 0;
     IExtractor ex = new DataRowExtractor(dr);
     this.m_CellDesc = new RepeaterDesc(this.m_Model, new Repeater(), excludeCell);
     bool flag = this.Validate(ref this.m_Info, this.m_CellDesc, ex, cellId) && this.Validate(ref this.m_Info, this.m_PropModelConfigDesc, ex, validatedID);
     AntConfigDrExtractor extractor2 = new AntConfigDrExtractor(dr, true);
     flag = flag && this.Validate(ref this.m_Info, this.m_CoverageAntConfigDesc, extractor2, validatedID);
     extractor2 = new AntConfigDrExtractor(dr, false);
     return (flag && this.Validate(ref this.m_Info, this.m_DonorAntConfigDesc, extractor2, validatedID));
 }
Exemplo n.º 14
0
 private bool ValidateDrWithoutCell(string oriCellName, DataRow dr, Dictionary<string, List<int>> sectorIds)
 {
     short sectorIdColumnsValue;
     AntConfig outdoorEntity = new AntConfig();
     outdoorEntity.IsMainAnt = this.m_IsMainAnt;
     this.m_AntConfigDesc = new AntConfigDesc(this.m_Model, outdoorEntity, this.m_CellName, oriCellName, sectorIds);
     this.m_AntConfigDesc.SetoldSectorId(this.m_OriSectorId);
     IExtractor ex = new DataRowExtractor(dr);
     try
     {
         sectorIdColumnsValue = this.GetSectorIdColumnsValue(dr["AntennaID"]);
     }
     catch
     {
         this.m_Info = NEResource.NE_INVALID_FIELD + NEResource.NE_SECTORID;
         return false;
     }
     return this.Validate(ref this.m_Info, this.m_AntConfigDesc, ex, sectorIdColumnsValue);
 }
Exemplo n.º 15
0
 public bool ValidateDr(string oriCellName, DataRow dr, List<string> excludeCellName)
 {
     this.m_OldCellName = oriCellName;
     short tranceiverId = this.GetTranceiverId(oriCellName);
     string str = dr["Name"].ToString();
     short validatedID = 0;
     IExtractor ex = new DataRowExtractor(dr);
     UserDefineDrExtractor extractor2 = new UserDefineDrExtractor(dr, this.m_Model.UserItemsColl.CellExcDefList);
     this.m_CellDesc = new TransceiverDesc(this.m_Model, new Transceiver(), excludeCellName);
     bool flag = this.Validate(ref this.m_Info, this.m_CellDesc, ex, tranceiverId) && this.Validate(ref this.m_Info, this.m_UserDesc, extractor2, validatedID);
     this.m_SectorValidator.CellName = str;
     return (flag && this.m_SectorValidator.ValidateDrWithoutCell(oriCellName, dr));
 }
Exemplo n.º 16
0
 public bool ValidateDr(DataRow dr, List<Service> excludeService, int validateId)
 {
     this.m_ValidateId = validateId;
     UnionPsService service = new UnionPsService();
     UnionCsService service2 = new UnionCsService();
     IExtractor ex = new DataRowExtractor(dr);
     if ((this.m_CsServiceManagement.FindUnionCsServiceById(validateId) != null) || (dr.ItemArray[1].ToString() == CommonServiceType.CSService.ToString()))
     {
         this.m_ServiceDesc = new ServiceDesc(this.m_CsServiceManagement, this.m_PsServiceManagement, service2);
     }
     else if ((this.m_PsServiceManagement.FindUnionPsServiceById(validateId) != null) || (dr.ItemArray[1].ToString() == CommonServiceType.PSService.ToString()))
     {
         this.m_ServiceDesc = new ServiceDesc(this.m_CsServiceManagement, this.m_PsServiceManagement, service);
     }
     else if (this.m_PsServiceManagement.FindUnionPsServiceById(validateId) == null)
     {
         this.m_ServiceDesc = new ServiceDesc(this.m_CsServiceManagement, this.m_PsServiceManagement, service);
     }
     return this.Validate(ref this.m_Info, this.m_ServiceDesc, ex, validateId);
 }
Exemplo n.º 17
0
 public bool ValidateDr(string oriCellName, DataRow dr, List<string> excludeName)
 {
     this.m_OldCellName = oriCellName;
     short siteId = this.GetSiteId(oriCellName);
     short validatedID = 0;
     this.ParseBL(dr);
     this.m_SiteDesc = new SiteDesc(this.m_Model, new Site(), this.m_Model.GeoObserver, excludeName);
     DataRowExtractor ex = new DataRowExtractor(dr);
     bool flag = this.Validate(ref this.m_Info, this.m_SiteDesc, ex, siteId);
     UserDefineDrExtractor extractor2 = new UserDefineDrExtractor(dr, this.m_Model.UserItemsColl.SiteExtDefList);
     return (flag && this.Validate(ref this.m_Info, this.m_UserDesc, extractor2, validatedID));
 }