Inheritance: GeometryGym.Ifc.IfcPort
示例#1
0
 public Pset_DistributionPortCommon(IfcDistributionPort port)
     : base(port.mDatabase, "Pset_DistributionPortCommon")
 {
     Description = port.Name; DefinesOccurrence.Assign(port);
 }
示例#2
0
 public Pset_DistributionPortTypePipe(IfcDistributionPort port)
     : base(port.mDatabase, "Pset_DistributionPortTypePipe")
 {
     DefinesOccurrence.Assign(port);
 }
示例#3
0
		internal static IfcDistributionPort Parse(string strDef, Schema schema) { IfcDistributionPort p = new IfcDistributionPort(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return p; }
示例#4
0
		internal static void parseFields(IfcDistributionPort p, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcPort.parseFields(p, arrFields, ref ipos);
			p.mFlowDirection = (IfcFlowDirectionEnum)Enum.Parse(typeof(IfcFlowDirectionEnum), arrFields[ipos++].Replace(".", ""));
			if (schema != Schema.IFC2x3)
			{
				string s = arrFields[ipos++];
				if (s.StartsWith("."))
					p.mPredefinedType = (IfcDistributionPortTypeEnum)Enum.Parse(typeof(IfcDistributionPortTypeEnum), s.Replace(".", ""));
				s = arrFields[ipos++];
				if (s.StartsWith("."))
					p.mSystemType = (IfcDistributionSystemEnum)Enum.Parse(typeof(IfcDistributionSystemEnum), s.Replace(".", ""));
			}
		}
示例#5
0
		internal IfcDistributionPort(IfcDistributionPort p) : base(p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }
示例#6
0
		internal IfcDistributionPort(DatabaseIfc db, IfcDistributionPort p) : base(db,p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }
示例#7
0
		protected IfcDistributionFlowElement(IfcDistributionFlowElement basis) : base(basis) { mSourcePort = basis.mSourcePort; mSinkPort = basis.mSinkPort;  }