Example #1
0
 // single calculation -- 이거는 그냥 엎어치는 용 -- 전체 batch result를 update하지 않음.
 public void calculation(Financial_instrument fi)
 {
     try
     {
         //fi.loadDetail();
         fi.calculate(this.ReferenceDate_);
     }
     catch (Exception e)
     {
         //sb.AppendLine(e.Message);
         LogManager_.addLog(e.Message);
     }
 }
Example #2
0
        // single calculation -- 이거는 그냥 엎어치는 용 -- 전체 batch result를 update하지 않음.
        public void calculation(Financial_instrument fi)
        {
            try
            {
                // 파라메터 아직 디폴트 ---------------------------------------------
                FP_Parameter fp_parameter = new FP_Parameter();
                fp_parameter.CalcDate_ = this.ReferenceDate_;
                fp_parameter.defaultLoad();
                // ------------------------------------------------------------------

                //fi.loadDetail();
                fi.calculate(this.ReferenceDate_, fp_parameter);
                //fi.calculate(this.ReferenceDate_);
            }
            catch (Exception e)
            {
                //sb.AppendLine(e.Message);
                LogManager_.addLog(e.Message);
            }
        }