public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("type", "rangeCondition1D");
            xmlWriter.WriteStartElement("rangeCondition1D");
            range1DViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteElementString("constValue", this.constValue_);

            xmlWriter.WriteElementString("refName", this.refName_);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Exemple #2
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("eventCalculation");
            xmlWriter.WriteElementString("type", "simpleRangeEventCal");
            xmlWriter.WriteStartElement("simpleRangeEventCal");
            range1DViewModel_.buildXml(xmlWriter);

            referenceCalculationInfoViewModel_.buildXml(xmlWriter);

            if (dateInformationViewModel_ != null)
            {
                dateInformationViewModel_.buildXml(xmlWriter);
            }

            if (jointSimpleCalculationViewModel_ != null)
            {
                jointSimpleCalculationViewModel_.buildXml(xmlWriter);
            }

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }