コード例 #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);
    }
  }
コード例 #2
0
 private JwTimestamp getAlertExpiration() {
   JwTimestamp expires = _now.getCopy();
   expires.addMinutes(_alertExpirationMinutes);
   return expires;
 }