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