public SidBidData GetRecordsForServingCarrierSidBid(string sidBid) { // hashtable of data containing the home carrier sidbids SidBidData d = (SidBidData)m_picoCiberData[sidBid]; return(d); }
public CiberRecordInfo GetFileInfoForSidBid(string servingCarrierSidBid, string homeCarrierSidBid) { if (m_picoCiberData.ContainsKey(servingCarrierSidBid)) { SidBidData d = (SidBidData)m_picoCiberData[servingCarrierSidBid]; CiberRecordInfo cri = d.GetFileInfoForSidBid(homeCarrierSidBid, servingCarrierSidBid); return(cri); } else { SidBidData d = new SidBidData(); CiberRecordInfo cri = d.GetFileInfoForSidBid(homeCarrierSidBid, servingCarrierSidBid); return(cri); } }
private static Hashtable m_picoCiberData = new Hashtable(); // ( [servingcarrier], ( hashtable[homecarrier], r22 ] )) public void AddRecordForServingSidBid(string servingCarrierSidBid, string homeCarrierSidBid, CiberRecordInfo cri, Record22 r22) { // is there already data for this servingCarrierSidBid if (m_picoCiberData.ContainsKey(servingCarrierSidBid)) { // grab the hashtable and add the data for this serving carrier sid bid SidBidData sidBidData = (SidBidData)m_picoCiberData[servingCarrierSidBid]; sidBidData.AddSidBidRecord(homeCarrierSidBid, r22); sidBidData.AddSidBidFileInfo(homeCarrierSidBid, cri); // no need to do this: hashtable is updated from above // m_picoCiberData.Add(servingCarrierSidBid, data); } else { // create a new hashtable and list for the data SidBidData data = new SidBidData(); data.AddSidBidRecord(homeCarrierSidBid, r22); data.AddSidBidFileInfo(homeCarrierSidBid, cri); // add the hashtable with data to our site/pico hashtable m_picoCiberData.Add(servingCarrierSidBid, data); } }
public void AddRecordForServingSidBid(string servingCarrierSidBid, string homeCarrierSidBid, CiberRecordInfo cri, Record22 r22) { // is there already data for this servingCarrierSidBid if (m_picoCiberData.ContainsKey(servingCarrierSidBid)) { // grab the hashtable and add the data for this serving carrier sid bid SidBidData sidBidData = (SidBidData)m_picoCiberData[servingCarrierSidBid]; sidBidData.AddSidBidRecord(homeCarrierSidBid, r22); sidBidData.AddSidBidFileInfo(homeCarrierSidBid, cri); // no need to do this: hashtable is updated from above // m_picoCiberData.Add(servingCarrierSidBid, data); } else { // create a new hashtable and list for the data SidBidData data = new SidBidData(); data.AddSidBidRecord(homeCarrierSidBid, r22); data.AddSidBidFileInfo(homeCarrierSidBid, cri); // add the hashtable with data to our site/pico hashtable m_picoCiberData.Add(servingCarrierSidBid, data); } }
public CiberRecordInfo GetFileInfoForSidBid(string servingCarrierSidBid, string homeCarrierSidBid) { if (m_picoCiberData.ContainsKey(servingCarrierSidBid)) { SidBidData d = (SidBidData)m_picoCiberData[servingCarrierSidBid]; CiberRecordInfo cri = d.GetFileInfoForSidBid(homeCarrierSidBid, servingCarrierSidBid); return cri; } else { SidBidData d = new SidBidData(); CiberRecordInfo cri = d.GetFileInfoForSidBid(homeCarrierSidBid, servingCarrierSidBid); return cri; } }