protected void bookingModelSetting() { this.masterInformationViewModel_.Booking_type_ = this.booking_type_; this.masterInformationViewModel_.Item_code_ = CodeClassificationGenerator.CreateItemCode(this.booking_type_); this.masterInformationViewModel_.Trade_id_ = CodeClassificationGenerator.CreateTradeID(); }
public Excel_instrument_generalViewModel(bool bookingMode = false) : base(bookingMode) { if (bookingMode) { this.masterInformationViewModel_.Booking_type_ = "general"; this.masterInformationViewModel_.Item_code_ = CodeClassificationGenerator.CreateItemCode("general"); } this.Excel_interfaceViewModel_ = new Excel_generalViewModel(); this.Excel_parameterViewModel_ = new Excel_generalParaViewModel(); //this.view_.DataContext = this; }
public Excel_instrument_stepDownKICustomViewModel(bool bookingMode = false) : base(bookingMode) { if (bookingMode) { this.masterInformationViewModel_.Booking_type_ = "stepDownKICustom"; this.masterInformationViewModel_.Item_code_ = CodeClassificationGenerator.CreateItemCode("stepDownKICustom"); } this.Excel_interfaceViewModel_ = new Excel_stepDownKICustomViewModel(); this.Excel_parameterViewModel_ = new Excel_stepDownKICustomParaViewModel(); this.excel_interfaceViewModel_.Excel_underlyingCalcInfoViewModel_.PropertyChanged += this.excel_parameterViewModel_.instrumentEventObserver; //this.view_.DataContext = this; }
public Excel_instrument_irsViewModel(bool bookingMode = false) : base(bookingMode) { this.booking_type_ = "irs"; if (bookingMode) { this.masterInformationViewModel_.Booking_type_ = this.booking_type_; this.masterInformationViewModel_.Item_code_ = CodeClassificationGenerator.CreateItemCode(this.booking_type_); } // 메뉴 Booking // private void menuBookingItem_Click(object sender, RoutedEventArgs e) this.Excel_interfaceViewModel_ = Excel_InterfaceLoader.Load(this.booking_type_); this.Excel_parameterViewModel_ = Excel_parameterLoader.Load(this.booking_type_); //this.Excel_interfaceViewModel_.setUnderlying(); this.excel_interfaceViewModel_.Excel_underlyingCalcInfoViewModel_.PropertyChanged += this.excel_parameterViewModel_.instrumentEventObserver; }