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