예제 #1
0
 public override void OnRequestAgentBreakCancel(ref Agent agent)
 {
     try
     {
         agent.EndBreakRequest();
     }
     catch (Exception exception) { Logger.Instance.LogMessage(Logger.LogAppender.DuoLogger2, "AgentAcw", exception, Logger.LogLevel.Error); }
 }
예제 #2
0
 public override void OnEndBreak(ref Agent agent)
 {
     try
     {
         agent.EndBreakRequest();
         agent.AgentCurrentState = new AgentIdle();
     }
     catch (Exception exception) { Logger.Instance.LogMessage(Logger.LogAppender.DuoLogger2, "AgentBreak", exception, Logger.LogLevel.Error); }
 }