public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg       serial_Excel_swapLeg       = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_hifiveSwapLeg serial_Excel_hifiveSwapLeg = serial_Excel_swapLeg.Excel_hifiveSwapLeg_;

            //FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_hifiveSwapLeg.Excel_swapLegInfo_;
            ////string excel_swapLegInfotype = serial_excel_swapLegInfo.Excel_type_.ValueStr;
            //this.excel_swapLegInfoViewModel_ = new Excel_swapLegInfoViewModel();
            //this.excel_swapLegInfoViewModel_.setFromSerial(serial_excel_swapLegInfo);

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Excel_hifiveSwapLeg.Excel_interface_;
            //string excel_hifivetype = serial_excel_hifive.Excel_type_.ValueStr;
            this.excel_hifiveViewModel_ = new Excel_hifiveViewModel();
            this.excel_hifiveViewModel_.setFromSerial(serial_excel_interface);
        }
示例#2
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_swapLeg       serial_Excel_swapLeg       = serial_Class as FpmlSerializedCSharp.Excel_swapLeg;
            FpmlSerializedCSharp.Excel_hifiveSwapLeg serial_Excel_hifiveSwapLeg = serial_Excel_swapLeg.Excel_hifiveSwapLeg_;

            FpmlSerializedCSharp.Excel_swapLegInfo serial_excel_swapLegInfo = serial_Excel_hifiveSwapLeg.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_hifive serial_excel_hifive = serial_Excel_hifiveSwapLeg.Excel_hifive_;
            string excel_hifivetype = serial_excel_hifive.Excel_type_.ValueStr;

            this.excel_hifiveViewModel_ = Excel_hifiveViewModel.CreateExcel_hifive(excel_hifivetype);
            this.excel_hifiveViewModel_.setFromSerial(serial_excel_hifive);
        }