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