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); }
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; } } }
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); }