Exemple #1
0
 internal static void parseFields(IfcBridgeContactElement a, List <string> arrFields, ref int ipos)
 {
     IfcCivilElementPart.parseFields(a, arrFields, ref ipos);
     a.mContactType = (IfcBridgeContactType)Enum.Parse(typeof(IfcBridgeContactType), arrFields[ipos++].Replace(".", ""));
 }
Exemple #2
0
 internal static void parseFields(IfcBridgeSegmentPart a, List <string> arrFields, ref int ipos)
 {
     IfcCivilElementPart.parseFields(a, arrFields, ref ipos);
     a.mSubPartType    = (IfcBridgeSubPartType)Enum.Parse(typeof(IfcBridgeSubPartType), arrFields[ipos++].Replace(".", ""));
     a.mMechanicalRole = (IfcBridgeMechanicalRoleType)Enum.Parse(typeof(IfcBridgeMechanicalRoleType), arrFields[ipos++].Replace(".", ""));
 }