Esempio n. 1
0
 private void AddNetwork(NetworkInfo network)
 {
   this.networks[network.OriginalNetworkId] = network;
 }
Esempio n. 2
0
 private void AddNetwork(NetworkInfo network)
 {
     this.networks[network.OriginalNetworkId] = network;
 }
Esempio n. 3
0
 private void ParseNetwork(IList<string> fields)
 {
   if (fields.Count < 3) 
     return;
   int start = ParseNumber(fields[1]);
   int end = ParseNumber(fields[2]);
   if (start == 0 || end == 0 || start > end)
     return;
   for (int onid = start; onid <= end; onid++)
   {
     var network = new NetworkInfo();
     network.OriginalNetworkId = onid;
     if (fields.Count >= 4)
       network.Name = fields[3];
     if (fields.Count >= 5)
       network.Operator = fields[4];
     this.AddNetwork(network);
   }        
 }