Пример #1
0
		internal static IfcPropertyListValue parseFields(IfcPropertyListValue p, List<string> arrFields, ref int ipos)
		{
			IfcSimpleProperty.parseFields(p, arrFields, ref ipos);
			String str = arrFields[ipos++];
			List<string> values = ParserSTEP.SplitLineFields(str.Substring(1, str.Length - 2));
			for (int icounter = 0; icounter < values.Count; icounter++)
			{
				IfcValue value = ParserIfc.parseValue(values[icounter]);
				if (value != null)
					p.mNominalValue.Add(value);
			}
			p.mUnit = ParserSTEP.ParseLink(arrFields[ipos++]);
			return p;
		}
Пример #2
0
		internal static IfcPropertyListValue Parse(string strDef) { int ipos = 0; IfcPropertyListValue p = new IfcPropertyListValue(); parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
Пример #3
0
		internal int mUnit;// : OPTIONAL IfcUnit; 
		internal IfcPropertyListValue(IfcPropertyListValue q) : base(q) { mNominalValue = q.mNominalValue; mUnit = q.mUnit; }