public static PayoffInfoViewModel CreatePayoffInfo(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PayoffInfo serial_PayoffInfo = serial_Class as FpmlSerializedCSharp.PayoffInfo;
            string typeStr = serial_PayoffInfo.Type_.ValueStr;

            return(PayoffInfoViewModel.CreatePayoffInfo(typeStr));
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.InstrumentInfo     serial_instInfo  = serial_Class as FpmlSerializedCSharp.InstrumentInfo;
            FpmlSerializedCSharp.StandardInstrument serial_standInst = serial_instInfo.StandardInstrument_;

            try
            {
            }
            catch (Exception e)
            {
                ErrorManager.setError(e);
            }

            //잠시 벗겨놈
            FpmlSerializedCSharp.IssueInformation serial_issueInfo = serial_standInst.IssueInformation_;
            string issueInfoType = serial_issueInfo.Type_.ValueStr;

            this.IssueInfoViewModel_ = IssueInformationViewModel.CreateIssueInformation(issueInfoType);
            this.IssueInfoViewModel_.setFromSerial(serial_issueInfo);

            FpmlSerializedCSharp.UnderlyingInformation serial_underInfo = serial_standInst.UnderlyingInformation_;
            string underInfoType = serial_underInfo.Type_.ValueStr;

            this.UnderlyingViewModel_ = UnderlyingInfoViewModel.CreateUnderlyingInfo(underInfoType);
            this.UnderlyingViewModel_.setFromSerial(serial_underInfo);

            FpmlSerializedCSharp.PayoffInfo serial_payoffInfo = serial_standInst.PayoffInfo_;
            string payoffInfoType = serial_payoffInfo.Type_.ValueStr;

            this.PayoffViewModel_ = PayoffInfoViewModel.CreatePayoffInfo(payoffInfoType);
            this.PayoffViewModel_.setFromSerial(serial_payoffInfo);
            this.payoffInfoType_ = this.PayoffViewModel_.Type_;

            this.view_             = new StandardInstView();
            this.view_.DataContext = this;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.InstrumentInfo serial_instInfo = serial_Class as FpmlSerializedCSharp.InstrumentInfo;
            FpmlSerializedCSharp.StandardInstrument serial_standInst = serial_instInfo.StandardInstrument_;
            
            try
            {

            }
            catch (Exception e)
            {
                ErrorManager.setError(e);
            }

            //잠시 벗겨놈
            FpmlSerializedCSharp.IssueInformation serial_issueInfo = serial_standInst.IssueInformation_;
            string issueInfoType = serial_issueInfo.Type_.ValueStr;
            this.IssueInfoViewModel_ = IssueInformationViewModel.CreateIssueInformation(issueInfoType);
            this.IssueInfoViewModel_.setFromSerial(serial_issueInfo);

            FpmlSerializedCSharp.UnderlyingInformation serial_underInfo = serial_standInst.UnderlyingInformation_;
            string underInfoType = serial_underInfo.Type_.ValueStr;
            this.UnderlyingViewModel_ = UnderlyingInfoViewModel.CreateUnderlyingInfo(underInfoType);
            this.UnderlyingViewModel_.setFromSerial(serial_underInfo);

            FpmlSerializedCSharp.PayoffInfo serial_payoffInfo = serial_standInst.PayoffInfo_;
            string payoffInfoType = serial_payoffInfo.Type_.ValueStr;
            this.PayoffViewModel_ = PayoffInfoViewModel.CreatePayoffInfo(payoffInfoType);
            this.PayoffViewModel_.setFromSerial(serial_payoffInfo);
            this.payoffInfoType_ = this.PayoffViewModel_.Type_;

            this.view_ = new StandardInstView();
            this.view_.DataContext = this;

        }