internal new static IfcElectricGenerator Parse(string strDef) { IfcElectricGenerator s = new IfcElectricGenerator(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcElectricGenerator(IfcElectricGenerator g) : base(g) { mPredefinedType = g.mPredefinedType; }
internal static void parseFields(IfcElectricGenerator s, List<string> arrFields, ref int ipos) { IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') s.mPredefinedType = (IfcElectricGeneratorTypeEnum)Enum.Parse(typeof(IfcElectricGeneratorTypeEnum), str); }
internal IfcElectricGenerator(DatabaseIfc db, IfcElectricGenerator g) : base(db, g) { mPredefinedType = g.mPredefinedType; }