示例#1
0
 internal IfcWorkTime(DatabaseIfc db, IfcRecurrencePattern recur, DateTime start, DateTime finish)
     : base(db)
 {
     if (recur != null)
     {
         mRecurrencePattern = recur.mIndex;
     }
     if (start != DateTime.MinValue)
     {
         mStart = IfcDate.convert(start);
     }
     if (finish != DateTime.MinValue)
     {
         mFinish = IfcDate.convert(finish);
     }
 }
示例#2
0
 internal IfcWorkTime(DatabaseIfc m, string name, IfcDataOriginEnum origin, string userOrigin, IfcRecurrencePattern recur, DateTime start, DateTime finish)
     : base(m, name, origin, userOrigin)
 {
     if (recur != null)
     {
         mRecurrencePattern = recur.mIndex;
     }
     if (start != DateTime.MinValue)
     {
         mStart = IfcDate.convert(start);
     }
     if (finish != DateTime.MinValue)
     {
         mFinish = IfcDate.convert(finish);
     }
 }