Пример #1
0
 public Pset_PumpTypeCommon(IfcPump pump)
     : base(pump.mDatabase, "Pset_PumpTypeCommon")
 {
     Description = pump.Name; DefinesOccurrence.Assign(pump);
 }
Пример #2
0
		internal static void parseFields(IfcPump s, List<string> arrFields, ref int ipos)
		{
			IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcPumpTypeEnum)Enum.Parse(typeof(IfcPumpTypeEnum), str);
		}
Пример #3
0
		internal new static IfcPump Parse(string strDef) { IfcPump s = new IfcPump(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
Пример #4
0
		internal IfcPump(IfcPump p) : base(p) { mPredefinedType = p.mPredefinedType; }