public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_couponSchedule         serial_Excel_couponSchedule         = serial_Class as FpmlSerializedCSharp.Excel_couponSchedule;
            FpmlSerializedCSharp.Excel_floatingCouponSchedule serial_Excel_floatingCouponSchedule = serial_Excel_couponSchedule.Excel_floatingCouponSchedule_;

            this.eventDate_ = StringConverter.xmlDateToDateTime(serial_Excel_floatingCouponSchedule.EventDate_.ValueStr);

            this.payoffDate_ = StringConverter.xmlDateToDateTime(serial_Excel_floatingCouponSchedule.PayoffDate_.ValueStr);

            this.calculationStartDate_ = StringConverter.xmlDateToDateTime(serial_Excel_floatingCouponSchedule.CalculationStartDate_.ValueStr);

            this.calculationEndDate_ = StringConverter.xmlDateToDateTime(serial_Excel_floatingCouponSchedule.CalculationEndDate_.ValueStr);

            this.description_ = serial_Excel_floatingCouponSchedule.Description_.ValueStr;

            this.vba_description_ = serial_Excel_floatingCouponSchedule.Vba_description_.ValueStr;

            this.gearing_ = serial_Excel_floatingCouponSchedule.Gearing_.ValueStr;

            this.spread_ = serial_Excel_floatingCouponSchedule.Spread_.ValueStr;

            FpmlSerializedCSharp.Excel_returnCalcInfo serial_excel_returnCalcInfo = serial_Excel_floatingCouponSchedule.Excel_returnCalcInfo_;
            string excel_returnCalcInfotype = serial_excel_returnCalcInfo.Excel_type_.ValueStr;

            this.excel_returnCalcInfoViewModel_ = Excel_returnCalcInfoViewModel.CreateExcel_returnCalcInfo(excel_returnCalcInfotype);
            this.excel_returnCalcInfoViewModel_.setFromSerial(serial_excel_returnCalcInfo);
        }
コード例 #2
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_couponSchedule         serial_Excel_couponSchedule         = serial_Class as FpmlSerializedCSharp.Excel_couponSchedule;
            FpmlSerializedCSharp.Excel_floatingCouponSchedule serial_Excel_floatingCouponSchedule = serial_Excel_couponSchedule.Excel_floatingCouponSchedule_;

            this.gearing_ = serial_Excel_floatingCouponSchedule.Gearing_.ValueStr;

            this.spread_ = serial_Excel_floatingCouponSchedule.Spread_.ValueStr;

            FpmlSerializedCSharp.Excel_returnCalcInfo serial_excel_returnCalcInfo = serial_Excel_floatingCouponSchedule.Excel_returnCalcInfo_;
            string excel_returnCalcInfotype = serial_excel_returnCalcInfo.Excel_type_.ValueStr;

            this.excel_returnCalcInfoViewModel_ = Excel_returnCalcInfoViewModel.CreateExcel_returnCalcInfo(excel_returnCalcInfotype);
            this.excel_returnCalcInfoViewModel_.setFromSerial(serial_excel_returnCalcInfo);
        }