public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_couponSchedule");
            xmlWriter.WriteElementString("excel_type", "excel_condi_structuredAccrualCouponSchedule");
            xmlWriter.WriteStartElement("excel_condi_structuredAccrualCouponSchedule");
            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));

            xmlWriter.WriteElementString("payoffDate", StringConverter.xmlDateTimeToDateString(this.payoffDate_));

            xmlWriter.WriteElementString("calculationStartDate", StringConverter.xmlDateTimeToDateString(this.calculationStartDate_));

            xmlWriter.WriteElementString("calculationEndDate", StringConverter.xmlDateTimeToDateString(this.calculationEndDate_));

            xmlWriter.WriteElementString("description", this.description_);

            xmlWriter.WriteElementString("vba_description", this.vba_description_);

            range1DViewModel_.buildXml(xmlWriter);

            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteElementString("dayCounter", this.dayCounter_);

            xmlWriter.WriteElementString("detailScheduleType", this.detailScheduleType_);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Esempio n. 2
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_complementReturnCalc");
            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
        }
Esempio n. 3
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_schedule");
            xmlWriter.WriteElementString("type", "excel_simpleCalculation");
            xmlWriter.WriteStartElement("excel_simpleCalculation");
            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));

            xmlWriter.WriteElementString("payoffDate", StringConverter.xmlDateTimeToDateString(this.payoffDate_));

            xmlWriter.WriteElementString("description", this.description_);

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            excel_complementReturnCalcViewModel_.buildXml(xmlWriter);

            excel_eventCalcInfo_CallViewModel_.buildXml(xmlWriter);

            excel_returnCalcInfo_CallViewModel_.buildXml(xmlWriter);

            excel_complementReturnCalc_CallViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_schedule");

            xmlWriter.WriteElementString("excel_type", "excel_simpleCalculation");

            base.buildXml(xmlWriter);

            xmlWriter.WriteStartElement("excel_simpleCalculation");

            xmlWriter.WriteElementString("eventDate", this.eventDate_.ToString(StringFormat.XmlDateFormat_));
            xmlWriter.WriteElementString("payoffDate", this.payoffDate_.ToString(StringFormat.XmlDateFormat_));
            xmlWriter.WriteElementString("description", this.description_);
            xmlWriter.WriteElementString("vba_description", this.vba_description_);

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);
            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            //if (this.excel_complementReturnCalcViewModel_ != null)
            //{
            excel_complementReturnCalcViewModel_.buildXml(xmlWriter);
            //}

            excel_eventCalcInfo_CallViewModel_.buildXml(xmlWriter);
            excel_returnCalcInfo_CallViewModel_.buildXml(xmlWriter);

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

            // 원래 꺼 만드는 코드 부분
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_couponSchedule");
            xmlWriter.WriteElementString("excel_type", "excel_floatingCouponSchedule");

            base.buildXml(xmlWriter);

            xmlWriter.WriteStartElement("excel_floatingCouponSchedule");

            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));
            xmlWriter.WriteElementString("calculationStartDate", StringConverter.xmlDateTimeToDateString(this.calculationStartDate_));
            xmlWriter.WriteElementString("calculationEndDate", StringConverter.xmlDateTimeToDateString(this.calculationEndDate_));
            xmlWriter.WriteElementString("payoffDate", StringConverter.xmlDateTimeToDateString(this.payoffDate_));
            xmlWriter.WriteElementString("description", this.description_);
            xmlWriter.WriteElementString("vba_description", this.vba_description_);

            xmlWriter.WriteElementString("gearing", this.gearing_);

            xmlWriter.WriteElementString("spread", this.spread_);

            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Esempio n. 6
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("excel_type", "excel_returnCalcInfo_CallableOption");
            xmlWriter.WriteStartElement("excel_returnCalcInfo_CallableOption");
            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Esempio n. 7
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_couponSchedule");
            xmlWriter.WriteElementString("type", "excel_floatingCouponSchedule");
            xmlWriter.WriteStartElement("excel_floatingCouponSchedule");
            xmlWriter.WriteElementString("gearing", this.gearing_);

            xmlWriter.WriteElementString("spread", this.spread_);

            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

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