internal static void parseFields(IfcValve s, List<string> arrFields, ref int ipos) { IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') s.mPredefinedType = (IfcValveTypeEnum)Enum.Parse(typeof(IfcValveTypeEnum), str); }
internal static void parseFields(IfcValve s, List <string> arrFields, ref int ipos) { IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') { s.mPredefinedType = (IfcValveTypeEnum)Enum.Parse(typeof(IfcValveTypeEnum), str); } }
internal new static IfcValve Parse(string strDef) { IfcValve s = new IfcValve(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcValve(IfcValve b) : base(b) { mPredefinedType = b.mPredefinedType; }
internal new static IfcValve Parse(string strDef) { IfcValve s = new IfcValve(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s); }
internal IfcValve(DatabaseIfc db, IfcValve v) : base(db, v) { mPredefinedType = v.mPredefinedType; }
public Pset_ValveTypeCommon(IfcValve valve) : base(valve.mDatabase, "Pset_ValveTypeCommon") { Description = valve.Name; DefinesOccurrence.Assign(valve); }
public Pset_ValveTypeCommon(IfcValve valve) : base(valve.mDatabase, "Pset_ValveTypeCommon") { Description = valve.Name; DefinesOccurrence.assign(valve); }