public static Excel_underlyingInfoViewModel CreateExcel_underlyingInfo(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; string typeStr = serial_Excel_underlyingInfo.Type_.ValueStr; return(Excel_underlyingInfoViewModel.CreateExcel_underlyingInfo(typeStr)); }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; FpmlSerializedCSharp.Excel_stockIndex serial_Excel_stockIndex = serial_Excel_underlyingInfo.Excel_stockIndex_; this.krCode_ = serial_Excel_stockIndex.KrCode_.ValueStr; this.name_ = serial_Excel_stockIndex.Name_.ValueStr; this.basePrice_ = serial_Excel_stockIndex.BasePrice_.ValueStr; }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; FpmlSerializedCSharp.Excel_interestRate serial_Excel_interestRate = serial_Excel_underlyingInfo.Excel_interestRate_; this.krCode_ = serial_Excel_interestRate.KrCode_.ValueStr; this.name_ = serial_Excel_interestRate.Name_.ValueStr; this.basePrice_ = serial_Excel_interestRate.BasePrice_.ValueStr; }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; FpmlSerializedCSharp.Excel_stockIndex serial_Excel_stockIndex = serial_Excel_underlyingInfo.Excel_stockIndex_; this.krCode_ = serial_Excel_stockIndex.KrCode_.ValueStr; this.nameTrans_ = new NameTrans(serial_Excel_stockIndex.Name_.ValueStr); this.basePrice_ = serial_Excel_stockIndex.BasePrice_.ValueStr; //this.view_ = new Excel_stockIndexView(); //this.view_.DataContext = this; }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; FpmlSerializedCSharp.Excel_interestRate serial_Excel_interestRate = serial_Excel_underlyingInfo.Excel_interestRate_; this.krCode_ = serial_Excel_interestRate.KrCode_.ValueStr; this.nameTrans_ = new NameTrans(serial_Excel_interestRate.Name_.ValueStr); this.tenor_ = serial_Excel_interestRate.Tenor_.ValueStr; this.linkedCurveCode_ = serial_Excel_interestRate.LinkedCurve_.ValueStr; this.basePrice_ = serial_Excel_interestRate.BasePrice_.ValueStr; }
public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_underlyingInfo serial_Excel_underlyingInfo = serial_Class as FpmlSerializedCSharp.Excel_underlyingInfo; FpmlSerializedCSharp.Excel_interestRate serial_Excel_interestRate = serial_Excel_underlyingInfo.Excel_interestRate_; this.krCode_ = serial_Excel_interestRate.KrCode_.ValueStr; this.name_ = serial_Excel_interestRate.Name_.ValueStr; this.currency_ = serial_Excel_interestRate.Currency_.ValueStr; this.rateType_ = serial_Excel_interestRate.RateType_.ValueStr; this.tenor_ = serial_Excel_interestRate.Tenor_.ValueStr; this.legTenor_ = serial_Excel_interestRate.LegTenor_.ValueStr; this.linkedCurve_ = serial_Excel_interestRate.LinkedCurve_.ValueStr; this.basePrice_ = serial_Excel_interestRate.BasePrice_.ValueStr; }