Beispiel #1
0
        /// <summary>
        /// Read a model from a GWA syntax text file
        /// </summary>
        /// <returns></returns>
        public Model.Model ReadGWAFile(FilePath filePath, ref GSAIDMappingTable idMap, GSAConversionOptions options = null, SectionProfileLibrary sectLib = null)
        {
            if (idMap == null)
            {
                idMap = new GSAIDMappingTable();
            }
            if (options == null)
            {
                options = new GSAConversionOptions();
            }
            var context = new GSAConversionContext(idMap, options, sectLib);

            return(ReadGWAFile(filePath, context));
        }
Beispiel #2
0
 public GSAConversionContext(GSAIDMappingTable idMap, GSAConversionOptions options, SectionProfileLibrary sectLib = null)
 {
     IDMap          = idMap;
     Options        = options;
     SectionLibrary = sectLib;
 }