예제 #1
0
 public void AddItem(GlassMounting.GlazingRow glassM)
 {
     this.GlassRow.Add(glassM);
 }
예제 #2
0
 public void DelItem(GlassMounting.GlazingRow glassM)
 {
     this.GlassRow.Remove(glassM);
 }
예제 #3
0
파일: SystemData.cs 프로젝트: habins/WebDS
 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);
         }
     }
 }