public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_issueInfo serial_Excel_issueInfo = serial_Class as FpmlSerializedCSharp.Excel_issueInfo;
            FpmlSerializedCSharp.Excel_noteInfo  serial_Excel_noteInfo  = serial_Excel_issueInfo.Excel_noteInfo_;

            this.tradeDate_ = StringConverter.xmlDateToDateTime(serial_Excel_noteInfo.TradeDate_.ValueStr);

            this.effectiveDate_ = StringConverter.xmlDateToDateTime(serial_Excel_noteInfo.EffectiveDate_.ValueStr);

            this.maturityDate_ = StringConverter.xmlDateToDateTime(serial_Excel_noteInfo.MaturityDate_.ValueStr);

            this.notional_ = serial_Excel_noteInfo.Notional_.ValueStr;

            this.currency_ = serial_Excel_noteInfo.Currency_.ValueStr;

            this.premium_ = serial_Excel_noteInfo.Premium_.ValueStr;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_issueInfo serial_Excel_issueInfo = serial_Class as FpmlSerializedCSharp.Excel_issueInfo;
            FpmlSerializedCSharp.Excel_noteInfo  serial_Excel_noteInfo  = serial_Excel_issueInfo.Excel_noteInfo_;

            //this.tradeDate_ = DateTime.ParseExact(serial_Excel_noteInfo.TradeDate_.ValueStr,StringFormat.XmlDateFormat_,null);
            this.effectiveDate_          = DateTime.ParseExact(serial_Excel_noteInfo.EffectiveDate_.ValueStr, StringFormat.XmlDateFormat_, null);
            this.maturityDate_           = DateTime.ParseExact(serial_Excel_noteInfo.MaturityDate_.ValueStr, StringFormat.XmlDateFormat_, null);
            this.notional_               = serial_Excel_noteInfo.Notional_.ValueStr;
            this.currency_               = CurrencyViewModel.CreateCurrencyComboViewModel(serial_Excel_noteInfo.Currency_.ValueStr);
            this.includeNotionalPayment_ = serial_Excel_noteInfo.IncludeNotionalPayment_.ValueStr;
            this.vba_description_        = serial_Excel_noteInfo.Vba_description_.ValueStr;
            //this.premium_ = serial_Excel_noteInfo.Premium_.ValueStr;

            //this.view_ = new Excel_noteInfoView();
            //this.view_.DataContext = this;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_issueInfo serial_Excel_issueInfo = serial_Class as FpmlSerializedCSharp.Excel_issueInfo;
            FpmlSerializedCSharp.Excel_noteInfo  serial_Excel_noteInfo  = serial_Excel_issueInfo.Excel_noteInfo_;

            this.tradeDate_ = serial_Excel_noteInfo.TradeDate_.ValueStr;

            this.effectiveDate_ = serial_Excel_noteInfo.EffectiveDate_.ValueStr;

            this.maturityDate_ = serial_Excel_noteInfo.MaturityDate_.ValueStr;

            this.notional_ = serial_Excel_noteInfo.Notional_.ValueStr;

            this.premium_ = serial_Excel_noteInfo.Premium_.ValueStr;

            this.view_             = new Excel_noteInfoView();
            this.view_.DataContext = this;
        }