예제 #1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.CommonResult serial_CommonResult = serial_Class as FpmlSerializedCSharp.CommonResult;

            this.price_ = serial_CommonResult.Price_.ValueStr;

            this.unitPrice_ = serial_CommonResult.UnitPrice_.ValueStr;
        }
예제 #2
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.CommonResult serial_CommonResult = serial_Class as FpmlSerializedCSharp.CommonResult;

            this.price_     = serial_CommonResult.Price_.ValueStr;
            this.unitPrice_ = serial_CommonResult.UnitPrice_.ValueStr;

            this.view_             = new CommonResultView();
            this.view_.DataContext = this;
        }
예제 #3
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PricingResult    serial_PricingResult    = serial_Class as FpmlSerializedCSharp.PricingResult;
            FpmlSerializedCSharp.StepDownKIResult serial_StepDownKIResult = serial_PricingResult.StepDownKIResult_;

            this.Type_ = serial_PricingResult.Type_.ValueStr;

            FpmlSerializedCSharp.CommonResult serial_commonResult = serial_PricingResult.CommonResult_;
            this.CommonResultViewModel_ = new CommonResultViewModel();
            this.CommonResultViewModel_.setFromSerial(serial_commonResult);

            FpmlSerializedCSharp.UnderylingInfoResult serial_underylingInfoResult = serial_StepDownKIResult.UnderylingInfoResult_;
            this.underylingInfoResultViewModel_ = new UnderylingInfoResultViewModel();
            this.underylingInfoResultViewModel_.setFromSerial(serial_underylingInfoResult);

            //FpmlSerializedCSharp.CashFlowInfoResult serial_cashFlowInfoResult = serial_StepDownKIResult.CashFlowInfoResult_;
            //string cashFlowInfoResulttype = serial_cashFlowInfoResult.Type_.ValueStr;
            //this.cashFlowInfoResultViewModel_ = CashFlowInfoResultViewModel.CreateCashFlowInfoResult(cashFlowInfoResulttype);
            //this.cashFlowInfoResultViewModel_.setFromSerial(serial_cashFlowInfoResult);

            this.theta_            = serial_StepDownKIResult.Theta_.ValueStr;
            this.view_             = new StepDownKIResultView();
            this.view_.DataContext = this;
        }