public Pset_DistributionPortCommon(IfcDistributionPort port) : base(port.mDatabase, "Pset_DistributionPortCommon") { Description = port.Name; DefinesOccurrence.Assign(port); }
public Pset_DistributionPortTypePipe(IfcDistributionPort port) : base(port.mDatabase, "Pset_DistributionPortTypePipe") { DefinesOccurrence.Assign(port); }
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; }
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(".", "")); } }
internal IfcDistributionPort(IfcDistributionPort p) : base(p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }
internal IfcDistributionPort(DatabaseIfc db, IfcDistributionPort p) : base(db,p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }
protected IfcDistributionFlowElement(IfcDistributionFlowElement basis) : base(basis) { mSourcePort = basis.mSourcePort; mSinkPort = basis.mSinkPort; }