Пример #1
0
 public Pset_ConcreteElementGeneral(IfcPile instance)
     : base(instance.mDatabase, "Pset_ConcreteElementGeneral")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }
Пример #2
0
		internal static IfcPile Parse(string strDef) { IfcPile p = new IfcPile(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
Пример #3
0
		internal static void parseFields(IfcPile p, List<string> arrFields, ref int ipos)
		{
			IfcBuildingElement.parseFields(p, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s[0] == '.')
				p.mPredefinedType = (IfcPileTypeEnum)Enum.Parse(typeof(IfcPileTypeEnum), s.Replace(".", ""));
			s = arrFields[ipos++];
			if (s[0] == '.')
				p.mConstructionType = (IfcPileConstructionEnum)Enum.Parse(typeof(IfcPileConstructionEnum), s.Replace(".", ""));
		}
Пример #4
0
		internal IfcPile(IfcPile p) : base(p) { mPredefinedType = p.mPredefinedType; mConstructionType = p.mConstructionType; }