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