Пример #1
0
        public Model_A(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            Lines = new List <Line>();
            _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

            LineHeader = new LineHeader("LineHeader");
            _pfsHandle.AddKeyword(LineHeader._keyword);
        }
Пример #2
0
    public MOUSE_Catchments(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      Lines = new List<Line>();
      _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

      LineHeader = new LineHeader("LineHeader");
      _pfsHandle.AddKeyword(LineHeader._keyword);
    }
Пример #3
0
        public MOUSE_RDII(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

            LineHeader = new LineHeader("LineHeader");
            _pfsHandle.AddKeyword(LineHeader._keyword);
            Line = new Line("Line");
            _pfsHandle.AddKeyword(Line._keyword);
        }
Пример #4
0
    public Model_C(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

      LineHeader = new LineHeader("LineHeader");
      _pfsHandle.AddKeyword(LineHeader._keyword);
      Line = new Line("Line");
      _pfsHandle.AddKeyword(Line._keyword);
    }
Пример #5
0
        internal MOUSE_RDII(PFSSection Section)
        {
            _pfsHandle = Section;

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

            LineHeader = new LineHeader(_pfsHandle.GetKeyword("LineHeader", 1));
            Line       = new Line(_pfsHandle.GetKeyword("Line", 1));
        }
Пример #6
0
    internal Model_C(PFSSection Section)
    {
      _pfsHandle = Section;

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

      LineHeader = new LineHeader(_pfsHandle.GetKeyword("LineHeader", 1));
      Line = new Line(_pfsHandle.GetKeyword("Line", 1));
    }
Пример #7
0
    internal MOUSE_Catchments(PFSSection Section)
    {
      _pfsHandle = Section;

      Lines = new List<Line>();
      for (int i = 1; i <= Section.GetKeywordsNo("Line"); i++)
        Lines.Add(new Line(Section.GetKeyword("Line",i)));
      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

      LineHeader = new LineHeader(_pfsHandle.GetKeyword("LineHeader", 1));
    }
Пример #8
0
        internal Model_A(PFSSection Section)
        {
            _pfsHandle = Section;

            Lines = new List <Line>();
            for (int i = 1; i <= Section.GetKeywordsNo("Line"); i++)
            {
                Lines.Add(new Line(Section.GetKeyword("Line", i)));
            }
            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }

            LineHeader = new LineHeader(_pfsHandle.GetKeyword("LineHeader", 1));
        }