Ejemplo n.º 1
0
    internal MOUSE_T_Results(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "Nodes":
          Nodes = new Nodes(sub);
          break;
        case "Links":
          Links = new Links(sub);
          break;
        case "Emissions":
          Emissions = new Links(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

    }
Ejemplo n.º 2
0
    public MOUSE_T_Results(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      Nodes = new Nodes("Nodes" );
      _pfsHandle.AddSection(Nodes._pfsHandle);

      Links = new Links("Links" );
      _pfsHandle.AddSection(Links._pfsHandle);

      Emissions = new Links("Emissions" );
      _pfsHandle.AddSection(Emissions._pfsHandle);

    }