Esempio n. 1
0
        internal IfcInventory(DatabaseIfc db, IfcInventory i) : base(db, i)
        {
#warning todo
            //mInventoryType = p.mInventoryType;
            //mJurisdiction = p.mJurisdiction;
            //mResponsiblePersons = new List<int>(p.mResponsiblePersons.ToArray());
            //mLastUpdateDate = p.mLastUpdateDate;
            //mCurrentValue = p.mCurrentValue;
            //mOriginalValue = p.mOriginalValue;
        }
Esempio n. 2
0
 internal static void parseFields(IfcInventory i, List <string> arrFields, ref int ipos)
 {
     IfcGroup.parseFields(i, arrFields, ref ipos);
     i.mInventoryType      = (IfcInventoryTypeEnum)Enum.Parse(typeof(IfcInventoryTypeEnum), arrFields[ipos++].Replace(".", ""));
     i.mJurisdiction       = ParserSTEP.ParseLink(arrFields[ipos++]);
     i.mResponsiblePersons = ParserSTEP.SplitListLinks(arrFields[ipos++]);
     i.mLastUpdateDate     = ParserSTEP.ParseLink(arrFields[ipos++]);
     i.mCurrentValue       = ParserSTEP.ParseLink(arrFields[ipos++]);
     i.mOriginalValue      = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
Esempio n. 3
0
 internal IfcInventory(DatabaseIfc db, IfcInventory i, DuplicateOptions options) : base(db, i, options)
 {
     PredefinedType = i.PredefinedType;
     mJurisdiction  = db.Factory.Duplicate(i.mJurisdiction, options);
     mResponsiblePersons.AddRange(i.mResponsiblePersons.Select(x => db.Factory.Duplicate(x, options)));
     mLastUpdateDate = i.mLastUpdateDate;
     if (mLastUpdateDateSS != null)
     {
         mLastUpdateDateSS = db.Factory.Duplicate(i.mLastUpdateDateSS, options);
     }
     if (i.mCurrentValue != null)
     {
         mCurrentValue = db.Factory.Duplicate(i.mCurrentValue, options);
     }
     if (i.mOriginalValue != null)
     {
         mOriginalValue = db.Factory.Duplicate(i.mOriginalValue, options);
     }
 }
Esempio n. 4
0
 internal new static IfcInventory Parse(string strDef)
 {
     IfcInventory i = new IfcInventory(); int ipos = 0; parseFields(i, ParserSTEP.SplitLineFields(strDef), ref ipos); return(i);
 }
Esempio n. 5
0
		internal static void parseFields(IfcInventory i, List<string> arrFields, ref int ipos)
		{
			IfcGroup.parseFields(i, arrFields, ref ipos);
			i.mInventoryType = (IfcInventoryTypeEnum)Enum.Parse(typeof(IfcInventoryTypeEnum), arrFields[ipos++].Replace(".", ""));
			i.mJurisdiction = ParserSTEP.ParseLink(arrFields[ipos++]);
			i.mResponsiblePersons = ParserSTEP.SplitListLinks(arrFields[ipos++]);
			i.mLastUpdateDate = ParserSTEP.ParseLink(arrFields[ipos++]);
			i.mCurrentValue = ParserSTEP.ParseLink(arrFields[ipos++]);
			i.mOriginalValue = ParserSTEP.ParseLink(arrFields[ipos++]);
		}
Esempio n. 6
0
		internal new static IfcInventory Parse(string strDef) { IfcInventory i = new IfcInventory(); int ipos = 0; parseFields(i, ParserSTEP.SplitLineFields(strDef), ref ipos); return i; }
Esempio n. 7
0
		internal IfcInventory(IfcInventory p) : base(p) { mInventoryType = p.mInventoryType; mJurisdiction = p.mJurisdiction; mResponsiblePersons = new List<int>(p.mResponsiblePersons.ToArray()); mLastUpdateDate = p.mLastUpdateDate; mCurrentValue = p.mCurrentValue; mOriginalValue = p.mOriginalValue; }
Esempio n. 8
0
 internal IfcInventory(DatabaseIfc db, IfcInventory i)
     : base(db, i)
 {
     #warning todo
     //mInventoryType = p.mInventoryType;
     //mJurisdiction = p.mJurisdiction;
     //mResponsiblePersons = new List<int>(p.mResponsiblePersons.ToArray());
     //mLastUpdateDate = p.mLastUpdateDate;
     //mCurrentValue = p.mCurrentValue;
     //mOriginalValue = p.mOriginalValue;
 }
Esempio n. 9
0
 internal IfcInventory(IfcInventory p) : base(p)
 {
     mInventoryType = p.mInventoryType; mJurisdiction = p.mJurisdiction; mResponsiblePersons = new List <int>(p.mResponsiblePersons.ToArray()); mLastUpdateDate = p.mLastUpdateDate; mCurrentValue = p.mCurrentValue; mOriginalValue = p.mOriginalValue;
 }