Esempio n. 1
0
 internal IfcWorkCalendar(DatabaseIfc m, List <IfcWorkTime> working, List <IfcWorkTime> exception, IfcWorkCalendarTypeEnum type, IfcProject prj)
     : base(m)
 {
     if (working != null)
     {
         mWorkingTimes = working.ConvertAll(x => x.mIndex);
     }
     if (exception != null)
     {
         mExceptionTimes = exception.ConvertAll(x => x.mIndex);
     }
     mPredefinedType = type;
     if (prj != null)
     {
         prj.AddDeclared(this);
     }
 }
Esempio n. 2
0
 public IfcWorkCalendar(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcIdentifier identification, List <IfcWorkTime> workingTimes, List <IfcWorkTime> exceptionTimes, IfcWorkCalendarTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, identification)
 {
     WorkingTimes   = workingTimes;
     ExceptionTimes = exceptionTimes;
     PredefinedType = predefinedType;
 }
Esempio n. 3
0
 internal IfcWorkCalendar(DatabaseIfc m, List<IfcWorkTime> working, List<IfcWorkTime> exception, IfcWorkCalendarTypeEnum type, IfcProject prj)
     : base(m)
 {
     if (working != null)
         mWorkingTimes = working.ConvertAll(x => x.mIndex);
     if (exception != null)
         mExceptionTimes = exception.ConvertAll(x => x.mIndex);
     mPredefinedType = type;
     if (prj != null)
         prj.AddDeclared(this);
 }
Esempio n. 4
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c) : base(db, c)
 {
     c.WorkingTimes.ToList().ForEach(x => addWorkingTime(db.Factory.Duplicate(x) as IfcWorkTime));
     c.ExceptionTimes.ToList().ForEach(x => addExceptionTimes(db.Factory.Duplicate(x) as IfcWorkTime));
     mPredefinedType = c.mPredefinedType;
 }
Esempio n. 5
0
 internal IfcWorkCalendar(DatabaseIfc db, string name, IfcWorkCalendarTypeEnum type) : base(db)
 {
     Name = name; mPredefinedType = type;
 }
Esempio n. 6
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c)
     : base(db,c)
 {
     WorkingTimes = c.WorkingTimes.ConvertAll(x => db.Factory.Duplicate(x) as IfcWorkTime); ExceptionTimes = c.ExceptionTimes.ConvertAll(x=>db.Factory.Duplicate(x) as IfcWorkTime); mPredefinedType = c.mPredefinedType;
 }
Esempio n. 7
0
 internal IfcWorkCalendar(IfcWorkCalendar i) : base(i)
 {
     mWorkingTimes.AddRange(i.mWorkingTimes); mExceptionTimes.AddRange(i.mExceptionTimes); mPredefinedType = i.mPredefinedType;
 }
Esempio n. 8
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c) : base(db, c)
 {
     WorkingTimes = c.WorkingTimes.ConvertAll(x => db.Factory.Duplicate(x) as IfcWorkTime); ExceptionTimes = c.ExceptionTimes.ConvertAll(x => db.Factory.Duplicate(x) as IfcWorkTime); mPredefinedType = c.mPredefinedType;
 }
Esempio n. 9
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c, DuplicateOptions options) : base(db, c, options)
 {
     mWorkingTimes.AddRange(c.WorkingTimes.Select(x => db.Factory.Duplicate(x) as IfcWorkTime));
     mExceptionTimes.AddRange(c.ExceptionTimes.Select(x => db.Factory.Duplicate(x) as IfcWorkTime));
     mPredefinedType = c.mPredefinedType;
 }
Esempio n. 10
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c, IfcOwnerHistory ownerHistory, bool downStream) : base(db, c, ownerHistory, downStream)
 {
     c.WorkingTimes.ToList().ForEach(x => addWorkingTime(db.Factory.Duplicate(x) as IfcWorkTime));
     c.ExceptionTimes.ToList().ForEach(x => addExceptionTimes(db.Factory.Duplicate(x) as IfcWorkTime));
     mPredefinedType = c.mPredefinedType;
 }
Esempio n. 11
0
		internal IfcWorkCalendar(IfcWorkCalendar i) : base(i) { mWorkingTimes.AddRange(i.mWorkingTimes); mExceptionTimes.AddRange(i.mExceptionTimes); mPredefinedType = i.mPredefinedType; }