internal new static IfcAlarm Parse(string strDef) { IfcAlarm a = new IfcAlarm(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
internal IfcAlarm(IfcAlarm a) : base(a) { mPredefinedType = a.mPredefinedType; }
internal static void parseFields(IfcAlarm a, List<string> arrFields, ref int ipos) { IfcDistributionControlElement.parseFields(a, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) a.mPredefinedType = (IfcAlarmTypeEnum)Enum.Parse(typeof(IfcAlarmTypeEnum), s.Replace(".", "")); }
internal IfcAlarm(DatabaseIfc db, IfcAlarm a) : base(db, a) { mPredefinedType = a.mPredefinedType; }