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