Ejemplo n.º 1
0
  private void checkInputChannel(AcInputChannel channel) {
    JwTimestamp end = _now.getCopy();
    JwTimestamp start = end.getCopy();
    start.subtractMinutes(channel.getMonitorMinutes());

    JwList<AcReceivedFileRollup> v = getRollupData(channel, start, end);

    if (noCarditReceived(v) && noActiveAlertFor(channel)) {
      createAlert(channel);
      reportNoCarditProcessed(channel, start, end);
    }
  }