private void readLRFD99(XmlNode node)
{
LRFD99 obj = null;
foreach (DesignOptions opt in model.DesignOptions)
if (opt is LRFD99)
obj = (LRFD99)opt;
if (obj != null)
{
obj.PatLLF = float.Parse(readAttribute(node, "PatLLF", obj.PatLLF.ToString()));
obj.SRatioLimit = float.Parse(readAttribute(node, "SRatioLimit", obj.SRatioLimit.ToString()));
obj.MaxIter = uint.Parse(readAttribute(node, "MaxIter", obj.MaxIter.ToString()));
obj.PhiB = float.Parse(readAttribute(node, "PhiB", obj.PhiB.ToString()));
obj.PhiC = float.Parse(readAttribute(node, "PhiC", obj.PhiC.ToString()));
obj.PhiTY = float.Parse(readAttribute(node, "PhiTY", obj.PhiTY.ToString()));
obj.PhiV = float.Parse(readAttribute(node, "PhiV", obj.PhiV.ToString()));
obj.PhiTF = float.Parse(readAttribute(node, "PhiTF", obj.PhiTF.ToString()));
obj.PhiVT = float.Parse(readAttribute(node, "PhiVT", obj.PhiVT.ToString()));
obj.PhiCA = float.Parse(readAttribute(node, "PhiCA", obj.PhiCA.ToString()));
obj.CheckDefl = readAttribute(node, "CheckDefl", CodeYN(obj.CheckDefl)).Equals("Yes");
obj.DLRat = float.Parse(readAttribute(node, "DLRat", obj.DLRat.ToString()));
obj.SDLAndLLRat = float.Parse(readAttribute(node, "SDLAndLLRat", obj.SDLAndLLRat.ToString()));
obj.LLRat = float.Parse(readAttribute(node, "LLRat", obj.LLRat.ToString()));
obj.TotalRat = float.Parse(readAttribute(node, "TotalRat", obj.TotalRat.ToString()));
obj.NetRat = float.Parse(readAttribute(node, "NetRat", obj.NetRat.ToString()));
obj.SeisCat = char.Parse(readAttribute(node, "SeisCat", obj.SeisCat.ToString()));
obj.SeisCode = readAttribute(node, "SeisCode", CodeYN(obj.SeisCode)).Equals("Yes");
obj.SeisLoad = readAttribute(node, "SeisLoad", CodeYN(obj.SeisLoad)).Equals("Yes");
obj.PlugWeld = readAttribute(node, "PlugWeld", CodeYN(obj.PlugWeld)).Equals("Yes");
model.SteelDesignOptions = obj;
}
}