public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Group serial_Group = serial_Class as FpmlSerializedCSharp.Group;

            FpmlSerializedCSharp.Header serial_header = serial_Group.Header_;
            string headertype = serial_header.Excel_type_.ValueStr;

            this.headerViewModel_ = HeaderViewModel.CreateHeader(headertype);
            this.headerViewModel_.setFromSerial(serial_header);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Group serial_Group = serial_Class as FpmlSerializedCSharp.Group;
 
     FpmlSerializedCSharp.Header serial_header = serial_Group.Header_;
     string headertype = serial_header.Excel_type_.ValueStr;
     this.headerViewModel_ = HeaderViewModel.CreateHeader(headertype);
     this.headerViewModel_.setFromSerial(serial_header);
     
 }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Instrument serial_Instrument = serial_Class as FpmlSerializedCSharp.Instrument;
 
     FpmlSerializedCSharp.Header serial_header = serial_Instrument.Header_;
     string headertype = serial_header.Excel_type_.ValueStr;
     this.headerViewModel_ = HeaderViewModel.CreateHeader(headertype);
     this.headerViewModel_.setFromSerial(serial_header);
     
     FpmlSerializedCSharp.InstPositionInfo serial_instPositionInfo = serial_Instrument.InstPositionInfo_;
     string instPositionInfotype = serial_instPositionInfo.Excel_type_.ValueStr;
     this.instPositionInfoViewModel_ = InstPositionInfoViewModel.CreateInstPositionInfo(instPositionInfotype);
     this.instPositionInfoViewModel_.setFromSerial(serial_instPositionInfo);
     
     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.InstrumentInfo serial_instrumentInfo = serial_Instrument.InstrumentInfo_;
     string instrumentInfotype = serial_instrumentInfo.Excel_type_.ValueStr;
     this.instrumentInfoViewModel_ = InstrumentInfoViewModel.CreateInstrumentInfo(instrumentInfotype);
     this.instrumentInfoViewModel_.setFromSerial(serial_instrumentInfo);
     
 }