public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.BookInformation serial_BookInformation = serial_Class as FpmlSerializedCSharp.BookInformation; this.name_ = serial_BookInformation.Name_.ValueStr; FpmlSerializedCSharp.PathInfo serial_pathInfo = serial_BookInformation.PathInfo_; string pathInfotype = serial_pathInfo.Excel_type_.ValueStr; this.pathInfoViewModel_ = PathInfoViewModel.CreatePathInfo(pathInfotype); this.pathInfoViewModel_.setFromSerial(serial_pathInfo); FpmlSerializedCSharp.InstrumentList serial_instrumentList = serial_BookInformation.InstrumentList_; string instrumentListtype = serial_instrumentList.Excel_type_.ValueStr; this.instrumentListViewModel_ = InstrumentListViewModel.CreateInstrumentList(instrumentListtype); this.instrumentListViewModel_.setFromSerial(serial_instrumentList); }