コード例 #1
0
 public Pset_PumpTypeCommon(IfcPump pump)
     : base(pump.mDatabase, "Pset_PumpTypeCommon")
 {
     Description = pump.Name; DefinesOccurrence.Assign(pump);
 }
コード例 #2
0
ファイル: IFC P.cs プロジェクト: jenca-cloud/ggIFC
		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
ファイル: IFC P.cs プロジェクト: jenca-cloud/ggIFC
		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
ファイル: IFC P.cs プロジェクト: jenca-cloud/ggIFC
		internal IfcPump(IfcPump p) : base(p) { mPredefinedType = p.mPredefinedType; }