public override void vmBuildFromExcel_interface()
        {
            SimpleEventCouponTriggerViewModel sectvm = new SimpleEventCouponTriggerViewModel();

            sectvm.EventCalculationInfoViewModel_  = this.excel_eventCalcInfoViewModel_.eventCalcInfoVM();
            sectvm.ReturnCalculationInfoViewModel_ = this.excel_returnCalcInfoViewModel_.returnCalcInfoVM();
            sectvm.ComplementReturnCalculationViewModel_.ReturnCalculationInfoViewModel_
                = this.excel_complementReturnCalcViewModel_.returnCalcInfoVM();

            FixedFixingDateInfoViewModel ffdvm = new FixedFixingDateInfoViewModel();

            ffdvm.Date_ = this.EventDate_.ToString("yyyyMMdd");

            sectvm.PayoffDateInfoViewModel_.FixingDateInfoViewModel_ = new FixedFixingDateInfoViewModel();

            // --------------- autoCallTrigger

            sectvm.AutoTerminationTriggerViewModel_.EventCalculationInfoViewModel_
                = this.excel_eventCalcInfo_CallViewModel_.eventCalcInfoVM();

            sectvm.AutoTerminationTriggerViewModel_.ReturnCalculationInfoViewModel_
                = this.excel_returnCalcInfo_CallViewModel_.returnCalcInfoVM();


            FixedFixingDateInfoViewModel ffdvm_call = new FixedFixingDateInfoViewModel();

            ffdvm_call.Date_ = this.EventDate_.ToString("yyyyMMdd");

            sectvm.AutoTerminationTriggerViewModel_.PayoffDateInfoViewModel_.FixingDateInfoViewModel_
                = ffdvm_call;
        }
        public override void vmBuildFromExcel_interface()
        {
            SimpleEventCouponTriggerViewModel sectvm = new SimpleEventCouponTriggerViewModel();

            sectvm.EventCalculationInfoViewModel_ = this.excel_eventCalcInfoViewModel_.eventCalcInfoVM();
            sectvm.ReturnCalculationInfoViewModel_ = this.excel_returnCalcInfoViewModel_.returnCalcInfoVM();
            sectvm.ComplementReturnCalculationViewModel_.ReturnCalculationInfoViewModel_
                = this.excel_complementReturnCalcViewModel_.returnCalcInfoVM();

            FixedFixingDateInfoViewModel ffdvm = new FixedFixingDateInfoViewModel();
            
            ffdvm.Date_ = this.EventDate_.ToString("yyyyMMdd");

            sectvm.PayoffDateInfoViewModel_.FixingDateInfoViewModel_ = new FixedFixingDateInfoViewModel();

            // --------------- autoCallTrigger

            sectvm.AutoTerminationTriggerViewModel_.EventCalculationInfoViewModel_
                = this.excel_eventCalcInfo_CallViewModel_.eventCalcInfoVM();

            sectvm.AutoTerminationTriggerViewModel_.ReturnCalculationInfoViewModel_
                = this.excel_returnCalcInfo_CallViewModel_.returnCalcInfoVM();


            FixedFixingDateInfoViewModel ffdvm_call = new FixedFixingDateInfoViewModel();

            ffdvm_call.Date_ = this.EventDate_.ToString("yyyyMMdd");

            sectvm.AutoTerminationTriggerViewModel_.PayoffDateInfoViewModel_.FixingDateInfoViewModel_
                = ffdvm_call;


        }
        private ReferenceCalculationViewModel refCalVM(string refID, string fixingDate)
        {
            ReferenceCalculationViewModel rcvm = this.referenceCalFactory_.getReferCalVM(refID);

            FixedFixingDateInfoViewModel ffdivm = new FixedFixingDateInfoViewModel();
            ffdivm.AutoCallFlag_ = "false";
            ffdivm.Date_ = fixingDate;

            rcvm.FixingDateInfoViewModel_ = ffdivm;

            return rcvm;
        }
        private FixedFixingDateInfoViewModel fixedFixingDate()
        {
            FixedFixingDateInfoViewModel ffdivm = new FixedFixingDateInfoViewModel();

            ffdivm.AutoCallFlag_ = "false";
            ffdivm.Date_ = this.payoffDate_;

            return ffdivm;
        }