Inheritance: IfcGroup
Ejemplo n.º 1
0
		internal static void parseFields(IfcAsset a,List<string> arrFields, ref int ipos)
		{ 
			IfcGroup.parseFields(a,arrFields, ref ipos);
			a.mAssetID = arrFields[ipos++].Replace("'","");
			a.mOriginalValue = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mCurrentValue = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mTotalReplacementCost = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mOwner = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mUser = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mResponsiblePerson = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mIncorporationDate = ParserSTEP.ParseLink(arrFields[ipos++]);
			a.mDepreciatedValue = ParserSTEP.ParseLink(arrFields[ipos++]); 
		}
Ejemplo n.º 2
0
		internal IfcAsset(IfcAsset p) : base(p)
		{
			mAssetID = p.mAssetID;
			mOriginalValue = p.mOriginalValue;
			mCurrentValue = p.mCurrentValue;
			mTotalReplacementCost = p.mTotalReplacementCost;
			mOwner = p.mOwner;
			mUser = p.mUser;
			mResponsiblePerson = p.mResponsiblePerson;
			mIncorporationDate = p.mIncorporationDate;
			mDepreciatedValue = p.mDepreciatedValue;
		}
Ejemplo n.º 3
0
		internal new static IfcAsset Parse(string strDef) { IfcAsset a = new IfcAsset(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
Ejemplo n.º 4
0
		internal IfcAsset(DatabaseIfc db, IfcAsset a) : base(db,a)
		{
			mAssetID = a.mAssetID;
			OriginalValue = db.Factory.Duplicate(a.OriginalValue) as IfcCostValue;
			CurrentValue = db.Factory.Duplicate(a.CurrentValue) as IfcCostValue;
			TotalReplacementCost = db.Factory.Duplicate(a.TotalReplacementCost) as IfcCostValue;
			Owner = db.Factory.Duplicate(a.mDatabase[a.mOwner]) as IfcActorSelect;
			User = db.Factory.Duplicate(a.mDatabase[a.mUser]) as IfcActorSelect;
			ResponsiblePerson = db.Factory.Duplicate(a.ResponsiblePerson) as IfcPerson;
			mIncorporationDate = a.mIncorporationDate;
			if(a.mIncorporationDateSS > 0)
				mIncorporationDateSS = db.Factory.Duplicate(a.mDatabase[ a.mIncorporationDateSS]).mIndex;

			DepreciatedValue =  db.Factory.Duplicate(a.DepreciatedValue) as IfcCostValue;
		}