Ejemplo n.º 1
0
 public void AddItem(GlassMounting.GlazingRow glassM)
 {
     this.GlassRow.Add(glassM);
 }
Ejemplo n.º 2
0
 public void DelItem(GlassMounting.GlazingRow glassM)
 {
     this.GlassRow.Remove(glassM);
 }
Ejemplo n.º 3
0
 public void SaveGlazingTable(GlassMounting[] glMounting)
 {
     if (this.m_XmlNode != null)
     {
         this.DelNode("GlazingTable");
         for (int i = 0; i < glMounting.Length; i++)
         {
             XmlNode xmlNode = this.m_XmlD.CreateNode(XmlNodeType.Element, "GlazingTable", null);
             this.SetAtrribute(xmlNode, "ProfileList", "");
             ArrayList glassRow = glMounting[i].GlassRow;
             for (int j = 0; j < glassRow.Count; j++)
             {
                 GlassMounting.GlazingRow glazingRow = (GlassMounting.GlazingRow)glassRow[j];
                 XmlElement xmlElement = this.m_XmlD.CreateElement("GlazingRow");
                 this.SetAtrribute(xmlElement, "UpperLimit", glazingRow.Upperlimit);
                 this.SetAtrribute(xmlElement, "LowerLimit", glazingRow.Lowerlimit);
                 this.SetAtrribute(xmlElement, "Bead", glazingRow.Bead);
                 this.SetAtrribute(xmlElement, "FSGasket", glazingRow.FSGasket);
                 this.SetAtrribute(xmlElement, "BGasket", glazingRow.BGasket);
                 xmlNode.AppendChild(xmlElement);
             }
             this.m_XmlNode.AppendChild(xmlNode);
         }
     }
 }