Esempio n. 1
0
		internal static void parseFields(IfcProtectiveDevice s, List<string> arrFields, ref int ipos)
		{
			IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcProtectiveDeviceTypeEnum)Enum.Parse(typeof(IfcProtectiveDeviceTypeEnum), str);
		}
Esempio n. 2
0
		internal new static IfcProtectiveDevice Parse(string strDef) { IfcProtectiveDevice s = new IfcProtectiveDevice(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
Esempio n. 3
0
		internal IfcProtectiveDevice(IfcProtectiveDevice d) : base(d) { mPredefinedType = d.mPredefinedType; }