public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Instrument serial_Instrument = serial_Class as FpmlSerializedCSharp.Instrument;

            this.code_ = serial_Instrument.Code_.ValueStr;

            FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Instrument.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);

            FpmlSerializedCSharp.Excel_swapInterface serial_excel_swapInterface = serial_Instrument.Excel_swapInterface_;
            string excel_swapInterfacetype = serial_excel_swapInterface.Excel_type_.ValueStr;

            this.excel_swapInterfaceViewModel_ = Excel_swapInterfaceViewModel.CreateExcel_swapInterface(excel_swapInterfacetype);
            this.excel_swapInterfaceViewModel_.setFromSerial(serial_excel_swapInterface);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Instrument serial_Instrument = serial_Class as FpmlSerializedCSharp.Instrument;
 
     this.code_ = serial_Instrument.Code_.ValueStr;
     
     FpmlSerializedCSharp.Excel_interface serial_excel_interface = serial_Instrument.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);
     
     FpmlSerializedCSharp.Excel_swapInterface serial_excel_swapInterface = serial_Instrument.Excel_swapInterface_;
     string excel_swapInterfacetype = serial_excel_swapInterface.Excel_type_.ValueStr;
     this.excel_swapInterfaceViewModel_ = Excel_swapInterfaceViewModel.CreateExcel_swapInterface(excel_swapInterfacetype);
     this.excel_swapInterfaceViewModel_.setFromSerial(serial_excel_swapInterface);
     
 }