Exemple #1
0
 /*
  * 정상종료 이벤트
  */
 public void End(FlowModelData flowModelData)
 {
     Finally(flowModelData);
     Response.Resulttype = ResultType.Exit;
     Response.Endtime    = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
     BrokerSender.Instance.Send(Response.ToJson());
 }
Exemple #2
0
        public void Initialize(FlowModelData flowModelData)
        {
            switch (Parameter.ScrapType)
            {
            case ScrapType.MemberInfo:
                ScrapType0(flowModelData);
                break;

            case ScrapType.SalesInfo:
                ScrapType1(flowModelData);
                break;

            case ScrapType.CalculationInfo:
                ScrapType2(flowModelData);
                break;

            case ScrapType.SettledInfo1:
                ScrapType3(flowModelData);
                break;

            case ScrapType.SettledInfo2:
                ScrapType4(flowModelData);
                break;

            case ScrapType.ReturnInfo:
                ScrapType5(flowModelData);
                break;
            }
        }
Exemple #3
0
 protected abstract void ScrapType5(FlowModelData flowModelData);
Exemple #4
0
 protected abstract void Finally(FlowModelData flowModelData);
Exemple #5
0
 public abstract String StartPage(FlowModelData flowModelData);
Exemple #6
0
 protected void Exit(FlowModelData flowModelData)
 {
     End(flowModelData);
     Scraper.Exit();
 }
Exemple #7
0
 protected virtual void NotAction(FlowModelData model)
 {
     logger.Info("NotAction uri : " + model.Uri);
 }