private void readASD01(XmlNode node)
{
ASD01 obj = null;
foreach (DesignOptions opt in model.DesignOptions)
if (opt is ASD01)
obj = (ASD01)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.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");
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()));
model.SteelDesignOptions = obj;
}
}