Exemple #1
0
		internal static void parseFields(IfcPropertyBoundedValue p, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcSimpleProperty.parseFields(p, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s != "$")
				p.mUpperBoundValue = ParserIfc.parseValue(s);
			s = arrFields[ipos++];
			if (s != "$")
				p.mLowerBoundValue = ParserIfc.parseValue(s);
			s = arrFields[ipos++];
			if (s != "$")
				p.mUnit = ParserSTEP.ParseLink(s);
			if (schema != Schema.IFC2x3)
			{
				s = arrFields[ipos++];
				if (s != "$")
					p.mSetPointValue = ParserIfc.parseValue(arrFields[ipos++]);
			}
		}
Exemple #2
0
		internal static IfcPropertyBoundedValue Parse(string strDef, Schema schema) { IfcPropertyBoundedValue p = new IfcPropertyBoundedValue(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return p; }
Exemple #3
0
		internal IfcValue mSetPointValue;// 	OPTIONAL IfcValue; IFC4
		internal IfcPropertyBoundedValue(IfcPropertyBoundedValue q) : base(q) { mUpperBoundValue = q.mUpperBoundValue; mLowerBoundValue = q.mLowerBoundValue; mUnit = q.mUnit; mSetPointValue = q.mSetPointValue; }