コード例 #1
0
        public WELLNO_1(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            _pfsHandle.AddKeyword(new PFSKeyword("XCOR", PFSParameterType.Double, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("YCOR", PFSParameterType.Double, 0));

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

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

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

            FILTERDATA = new FILTERDATA1("FILTERDATA");
            _pfsHandle.AddSection(FILTERDATA._pfsHandle);

            LITOGRAFIDATA = new LITOGRAFIDATA("LITOGRAFIDATA");
            _pfsHandle.AddSection(LITOGRAFIDATA._pfsHandle);
        }
コード例 #2
0
ファイル: WellItem.cs プロジェクト: XiBeichuan/hydronumerics
    internal WELLNO_1(PFSSection Section)
    {
      _pfsHandle = Section;

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

    }
コード例 #3
0
ファイル: WellItem.cs プロジェクト: XiBeichuan/hydronumerics
    public WELLNO_1(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

      _pfsHandle.AddKeyword(new PFSKeyword("XCOR", PFSParameterType.Double, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("YCOR", PFSParameterType.Double, 0));

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

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

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

      FILTERDATA = new FILTERDATA1("FILTERDATA" );
      _pfsHandle.AddSection(FILTERDATA._pfsHandle);

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

    }
コード例 #4
0
        internal WELLNO_1(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "LITOGRAFIDATA":
                    LITOGRAFIDATA = new LITOGRAFIDATA(sub);
                    break;

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