Наследование: IfcConstraint
Пример #1
0
		internal static IfcMetric Parse(string strDef, Schema schema) { IfcMetric m = new IfcMetric(); int ipos = 0; parseFields(m, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return m; }
Пример #2
0
		internal static void parseFields(IfcMetric m, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcConstraint.parseFields(m, arrFields, ref ipos,schema);
			m.mBenchMark = (IfcBenchmarkEnum)Enum.Parse(typeof(IfcBenchmarkEnum), arrFields[ipos++].Replace(".", ""));
			m.mValueSource = arrFields[ipos++].Replace("'", "");
			string str = arrFields[ipos++];
			m.mDataValueValue = ParserIfc.parseValue(str);
			if (m.mDataValueValue == null)
				m.mDataValue = ParserSTEP.ParseLink(str);
			m.mReferencePath = ParserSTEP.ParseLink(arrFields[ipos++]);
		}
Пример #3
0
		internal IfcMetric(IfcMetric m) : base(m) { mBenchMark = m.mBenchMark; mValueSource = m.mValueSource; mDataValue = m.mDataValue; mDataValueValue = m.mDataValueValue; mReferencePath = m.mReferencePath; }