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