internal static void parseFields(IfcTimeSeries s, List<string> arrFields, ref int ipos) { s.mName = arrFields[ipos++].Replace("'", ""); s.mDescription = arrFields[ipos++].Replace("'", ""); s.mStartTime = ParserSTEP.ParseLink(arrFields[ipos++]); s.mEndTime = ParserSTEP.ParseLink(arrFields[ipos++]); s.mTimeSeriesDataType = (IfcTimeSeriesDataTypeEnum)Enum.Parse(typeof(IfcTimeSeriesDataTypeEnum), arrFields[ipos++].Replace(".", "")); string str = arrFields[ipos++]; if (str.StartsWith(".")) s.mDataOrigin = (IfcDataOriginEnum)Enum.Parse(typeof(IfcDataOriginEnum), str.Replace(".", "")); s.mUserDefinedDataOrigin = arrFields[ipos++]; s.mUnit = ParserSTEP.ParseLink(arrFields[ipos++]); }
protected IfcTimeSeries(IfcTimeSeries i) : base() { mName = i.mName; mDescription = i.mDescription; mStartTime = i.mStartTime; mEndTime = i.mEndTime; mTimeSeriesDataType = i.mTimeSeriesDataType; mDataOrigin = i.mDataOrigin; mUserDefinedDataOrigin = i.mUserDefinedDataOrigin; mUnit = i.mUnit; }