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