Exemplo n.º 1
0
        public LAYER_FILES(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            DataFileName = new DataFileName("DataFileName");
            _pfsHandle.AddKeyword(DataFileName._keyword);
            PROPERTIES = new PROPERTIES("PROPERTIES");
            _pfsHandle.AddSection(PROPERTIES._pfsHandle);
        }
Exemplo n.º 2
0
    public LAYER_FILES(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

      DataFileName = new DataFileName("DataFileName");
      _pfsHandle.AddKeyword(DataFileName._keyword);
      PROPERTIES = new PROPERTIES("PROPERTIES" );
      _pfsHandle.AddSection(PROPERTIES._pfsHandle);

    }
Exemplo n.º 3
0
    internal LAYER_FILES(PFSSection Section)
    {
      _pfsHandle = Section;

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

      DataFileName = new DataFileName(_pfsHandle.GetKeyword("DataFileName", 1));
    }
Exemplo n.º 4
0
        internal LAYER_FILES(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "PROPERTIES":
                    PROPERTIES = new PROPERTIES(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }

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