Inheritance: BaseClassIfc, IfcResourceObjectSelect
コード例 #1
0
 internal override void postParseRelate()
 {
     base.postParseRelate();
     foreach (int i in mQuantityIndices)
     {
         IfcPhysicalQuantity q = mDatabase[i] as IfcPhysicalQuantity;
         if (q != null)
         {
             addQuantity(q);
         }
     }
 }
コード例 #2
0
ファイル: IFC P.cs プロジェクト: jenca-cloud/ggIFC
		protected static void parseFields(IfcPhysicalQuantity q, List<string> arrFields, ref int ipos) { q.mName = arrFields[ipos++].Replace("'", ""); q.mDescription = arrFields[ipos++].Replace("'",""); }
コード例 #3
0
ファイル: IFC C.cs プロジェクト: jenca-cloud/ggIFC
		protected IfcConstructionResource(DatabaseIfc m, IfcResourceTime usage, List<IfcAppliedValue> baseCosts, IfcPhysicalQuantity baseQuantity)
			: base(m) { if (usage != null) mUsage = usage.mIndex; if (baseCosts != null && baseCosts.Count > 0) mBaseCosts = baseCosts.ConvertAll(x => x.mIndex); if (baseQuantity != null) mBaseQuantity = baseQuantity.mIndex; }
コード例 #4
0
ファイル: IFC P.cs プロジェクト: jenca-cloud/ggIFC
		protected IfcPhysicalQuantity(IfcPhysicalQuantity q) : base() { mName = q.mName; mDescription = q.mDescription; }