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();

            // 원래 꺼 만드는 코드 부분
        }
コード例 #2
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_couponSchedule");
            xmlWriter.WriteElementString("type", "excel_condi_structuredCouponSchedule");
            xmlWriter.WriteStartElement("excel_condi_structuredCouponSchedule");
            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            excel_returnCalcInfoViewModel_.buildXml(xmlWriter);

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

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

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

            xmlWriter.WriteElementString("paymentDate", StringConverter.xmlDateTimeToDateString(this.paymentDate_));

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

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

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
コード例 #4
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_eventCalcInfo_Call");
            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_kiEventCalculation");
            xmlWriter.WriteElementString("excel_type", "excel_targetKiEventCalc");
            xmlWriter.WriteStartElement("excel_targetKiEventCalc");
            xmlWriter.WriteElementString("targetCount", this.targetCount_);

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
コード例 #6
0
        //
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_kiEventCalculation");
            xmlWriter.WriteElementString("excel_type", "excel_simpleKiEventCalc");
            xmlWriter.WriteStartElement("excel_simpleKiEventCalc");

            base.buildXml(xmlWriter);

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);
            excel_occReturnCalcInfoViewModel_.buildXml(xmlWriter);
            excel_noOccReturnCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_kiEventCalculation");
            xmlWriter.WriteElementString("excel_type", "excel_targetKiEventCalc");
            xmlWriter.WriteStartElement("excel_targetKiEventCalc");
            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));

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

            xmlWriter.WriteElementString("targetCount", this.targetCount_);

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
コード例 #8
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_kiEventCalculation");
            xmlWriter.WriteElementString("type", "excel_simpleKiEventCalc");
            xmlWriter.WriteStartElement("excel_simpleKiEventCalc");
            xmlWriter.WriteElementString("eventDate", StringConverter.xmlDateTimeToDateString(this.eventDate_));

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

            excel_eventCalcInfoViewModel_.buildXml(xmlWriter);

            excel_occReturnCalcInfoViewModel_.buildXml(xmlWriter);

            excel_noOccReturnCalcInfoViewModel_.buildXml(xmlWriter);

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