public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("excel_type", "resetVariableInfo");
            xmlWriter.WriteStartElement("resetVariableInfo");
            xmlWriter.WriteElementString("refInstanceName", this.refInstanceName_);

            fixingInformationViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("variableInfo");
            xmlWriter.WriteElementString("excel_type", "preDefinedVariableInfo");
            xmlWriter.WriteStartElement("preDefinedVariableInfo");
            xmlWriter.WriteElementString("refInstanceName", this.refInstanceName_);

            fixingInformationViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Esempio n. 3
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("type", "referenceCalculationInfo");
            xmlWriter.WriteStartElement("referenceCalculationInfo");
            fixingInformationViewModel_.buildXml(xmlWriter);

            foreach (var item in referenceCalculationViewModel_)
            {
                item.buildXml(xmlWriter);
            }

            operatorNDViewModel_.buildXml(xmlWriter);

            postCalculationViewModel_.buildXml(xmlWriter);

            refVariable_referenceValueViewModel_.buildXml(xmlWriter);

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