Beispiel #1
0
        public PROPERTIES(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            _pfsHandle.AddKeyword(new PFSKeyword("ProjectionType", PFSParameterType.String, ""));

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

            MIKEZero_Shape_Polygon_Object = new MIKEZero_Shape_Polygon_Object("MIKEZero_Shape_Polygon_Object");
            _pfsHandle.AddSection(MIKEZero_Shape_Polygon_Object._pfsHandle);
        }
Beispiel #2
0
    public PROPERTIES(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("ProjectionType", PFSParameterType.String, ""));

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

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

    }
Beispiel #3
0
    internal PROPERTIES(PFSSection Section)
    {
      _pfsHandle = Section;

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

    }
Beispiel #4
0
        internal PROPERTIES(PFSSection Section)
        {
            _pfsHandle = Section;

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

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