Beispiel #1
0
		internal static IfcProjectOrder Parse(string strDef,Schema schema) { IfcProjectOrder p = new IfcProjectOrder(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return p; }
Beispiel #2
0
		internal static void parseFields(IfcProjectOrder p, List<string> arrFields, ref int ipos,Schema schema)
		{
			IfcControl.parseFields(p, arrFields, ref ipos,schema);
			if (schema == Schema.IFC2x3)
				p.mIdentification = arrFields[ipos++].Replace("'", "");
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				p.mPredefinedType = (IfcProjectOrderTypeEnum)Enum.Parse(typeof(IfcProjectOrderTypeEnum), s.Replace(".", ""));
			p.mStatus = arrFields[ipos++].Replace("'", "");
			if (schema != Schema.IFC2x3)
				p.mLongDescription = arrFields[ipos++].Replace("'", "");
		}
Beispiel #3
0
		internal IfcProjectOrder(IfcProjectOrder i) : base(i) { mPredefinedType = i.mPredefinedType; mStatus = i.mStatus; mLongDescription = i.mLongDescription; }