internal static void parseFields(IfcElectricTimeControl s, List<string> arrFields, ref int ipos)
{
IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos);
string str = arrFields[ipos++];
if (str[0] == '.')
s.mPredefinedType = (IfcElectricTimeControlTypeEnum)Enum.Parse(typeof(IfcElectricTimeControlTypeEnum), str);
}
internal new static IfcElectricTimeControl Parse(string strDef) { IfcElectricTimeControl s = new IfcElectricTimeControl(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }