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 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 IfcUnitaryControlElement Parse(string strDef) { IfcUnitaryControlElement d = new IfcUnitaryControlElement(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return(d); }
internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e) : base(db, e) { mPredefinedType = e.mPredefinedType; }
internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e, DuplicateOptions options) : base(db, e, options) { mPredefinedType = e.mPredefinedType; }
internal static new IfcUnitaryControlElement Parse(string strDef) { IfcUnitaryControlElement d = new IfcUnitaryControlElement(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d; }
internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e) : base(db,e) { mPredefinedType = e.mPredefinedType; }
internal IfcUnitaryControlElement(IfcUnitaryControlElement a) : base(a) { mPredefinedType = a.mPredefinedType; }
internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream) { mPredefinedType = e.mPredefinedType; }