public HOTSTART_FILE(string pfsname) { _pfsHandle = new PFSSection(pfsname); _pfsHandle.AddKeyword(new PFSKeyword("HOTSTART_FILE", PFSParameterType.String, "")); _pfsHandle.AddKeyword(new PFSKeyword("START_DATE", PFSParameterType.String, "")); _pfsHandle.AddKeyword(new PFSKeyword("PERIOD", PFSParameterType.String, "")); SRC_SELECTION_CRITERION = new SRC_SELECTION_CRITERION("SRC_SELECTION_CRITERION"); _pfsHandle.AddSection(SRC_SELECTION_CRITERION._pfsHandle); }
public HOTSTART_FILE(string pfsname) { _pfsHandle = new PFSSection(pfsname); _pfsHandle.AddKeyword(new PFSKeyword("HOTSTART_FILE", PFSParameterType.String, "")); _pfsHandle.AddKeyword(new PFSKeyword("START_DATE", PFSParameterType.String, "")); _pfsHandle.AddKeyword(new PFSKeyword("PERIOD", PFSParameterType.String, "")); SRC_SELECTION_CRITERION = new SRC_SELECTION_CRITERION("SRC_SELECTION_CRITERION" ); _pfsHandle.AddSection(SRC_SELECTION_CRITERION._pfsHandle); }
internal HOTSTART_FILE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "SRC_SELECTION_CRITERION": SRC_SELECTION_CRITERION = new SRC_SELECTION_CRITERION(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }