Пример #1
0
		internal IfcScheduleTimeControl(IfcScheduleTimeControl c) : base(c)
		{
			mActualStart = c.mActualStart; mEarlyStart = c.mEarlyStart; mLateStart = c.mLateStart; mScheduleStart = c.mScheduleStart;
			mActualFinish = c.mActualFinish; mEarlyFinish = c.mEarlyFinish; mLateFinish = c.mLateFinish; mScheduleFinish = c.mScheduleFinish;
			mScheduleDuration = c.mScheduleDuration; mActualDuration = c.mActualDuration; mRemainingTime = c.mRemainingTime; mFreeFloat = c.mFreeFloat;
			mTotalFloat = c.mTotalFloat; mIsCritical = c.mIsCritical; mStatusTime = c.mStatusTime; mStartFloat = c.mStartFloat; mFinishFloat = c.mFinishFloat; mCompletion = c.mCompletion;
		}
Пример #2
0
		internal static void parseFields(IfcScheduleTimeControl s, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcControl.parseFields(s, arrFields, ref ipos,schema);
			s.mActualStart = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mEarlyStart = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mLateStart = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mScheduleStart = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mActualFinish = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mEarlyFinish = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mLateFinish = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mScheduleFinish = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mScheduleDuration = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mActualDuration = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mRemainingTime = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mFreeFloat = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mTotalFloat = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mIsCritical = ParserSTEP.ParseBool(arrFields[ipos++]);
			s.mStatusTime = ParserSTEP.ParseLink(arrFields[ipos++]);
			s.mStartFloat = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mFinishFloat = ParserSTEP.ParseDouble(arrFields[ipos++]);
			s.mCompletion = ParserSTEP.ParseDouble(arrFields[ipos++]);
		}
Пример #3
0
		internal IfcRelAssignsTasks(IfcWorkControl relControl, List<IfcTask> relObjects, IfcScheduleTimeControl timeControl)
			: base(relControl, relObjects.ConvertAll(x => (IfcObjectDefinition)x)) { if (timeControl != null) { mTimeForTask = timeControl.mIndex; timeControl.mScheduleTimeControlAssigned = this; } }
Пример #4
0
		internal IfcRelAssignsTasks(IfcWorkControl relControl, IfcTask relObject, IfcScheduleTimeControl timeControl)
			: base(relControl, relObject) { if (timeControl != null) { mTimeForTask = timeControl.mIndex; timeControl.mScheduleTimeControlAssigned = this; } }
Пример #5
0
		internal static IfcScheduleTimeControl Parse(string strDef, Schema schema) { IfcScheduleTimeControl s = new IfcScheduleTimeControl(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return s; }