Example #1
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_issueInfo   serial_Excel_issueInfo   = serial_Class as FpmlSerializedCSharp.Excel_issueInfo;
            FpmlSerializedCSharp.Excel_swapLegInfo serial_Excel_swapLegInfo = serial_Excel_issueInfo.Excel_swapLegInfo_;

            this.notional_        = serial_Excel_swapLegInfo.Notional_.ValueStr;
            this.currency_        = CurrencyViewModel.CreateCurrencyComboViewModel(serial_Excel_swapLegInfo.Currency_.ValueStr);
            this.vba_description_ = serial_Excel_swapLegInfo.Vba_description_.ValueStr;
            //this.premium_ = serial_Excel_swapLegInfo.Premium_.ValueStr;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_issueInfo   serial_Excel_issueInfo   = serial_Class as FpmlSerializedCSharp.Excel_issueInfo;
            FpmlSerializedCSharp.Excel_swapLegInfo serial_Excel_swapLegInfo = serial_Excel_issueInfo.Excel_swapLegInfo_;

            this.notional_ = serial_Excel_swapLegInfo.Notional_.ValueStr;

            this.currency_ = serial_Excel_swapLegInfo.Currency_.ValueStr;

            this.premium_ = serial_Excel_swapLegInfo.Premium_.ValueStr;
        }
Example #3
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg serial_Excel_swapLeg = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_structuredRateSwapLeg serial_Excel_structuredRateSwapLeg = serial_Excel_swapLeg.Excel_structuredRateSwapLeg_;

            FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_structuredRateSwapLeg.Excel_swapLegInfo_;
            string excel_swapLegInfotype = serial_excel_swapLegInfo.Excel_type_.ValueStr;

            this.excel_swapLegInfoViewModel_ = Excel_swapLegInfoViewModel.CreateExcel_swapLegInfo(excel_swapLegInfotype);
            this.excel_swapLegInfoViewModel_.setFromSerial(serial_excel_swapLegInfo);

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Excel_structuredRateSwapLeg.Excel_interface_;
            string excel_interfacetype = serial_excel_interface.Excel_type_.ValueStr;

            this.excel_interfaceViewModel_ = Excel_interfaceViewModel.CreateExcel_interface(excel_interfacetype);
            this.excel_interfaceViewModel_.setFromSerial(serial_excel_interface);
        }