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