Package de.desy.tine.server.alarms

Examples of de.desy.tine.server.alarms.TAlarm.clear()


        if (code == TErrorList.warn_disk_space || code == TErrorList.low_disk_space)
        { // mask off the high bits
          lstalm &= 0xff;
        }
        if (lstalm != code) continue;
        alm.clear();
      }
    }
  }
  public void clearAlarm(int code,TAlarmWatchEntry awe)
  {
View Full Code Here


      while (li.hasNext())
      {
        alm = (TAlarm)li.next();
        if ((alm.getDescriptor() & TAlarmDescriptor.TERMINATE) != 0) continue;
        if (alm.getCode() != code && alm.getWatchEntry() != awe) continue;
        alm.clear();
      }
    }
  }
  /**
   * Removes the alarm with the given code from the local alarm server's list
View Full Code Here

      {
        alm = (TAlarm)li.next();
        if ((alm.getDescriptor() & TAlarmDescriptor.TERMINATE) != 0) continue;
        if (alm.getCode() != code) continue;
        alm.setDescriptor((byte)TAlarmDescriptor.TERMINATE);
        alm.clear();
        found = true;
      }
      if (!found)
      {
        if (TEquipmentModuleFactory.getDebugLevel() > 2)
View Full Code Here

        if (code == TErrorList.warn_disk_space || code == TErrorList.low_disk_space)
        { // mask off the high bits
          lstalm &= 0xff;
        }
        if (lstalm != code) continue;
        alm.clear();
      }
    }
  }
  public void clearAlarm(int code,TAlarmWatchEntry awe)
  {
View Full Code Here

      while (li.hasNext())
      {
        alm = (TAlarm)li.next();
        if ((alm.getDescriptor() & TAlarmDescriptor.TERMINATE) != 0) continue;
        if (alm.getCode() != code && alm.getWatchEntry() != awe) continue;
        alm.clear();
      }
    }
  }
  /**
   * Removes the alarm with the given code from the local alarm server's list
View Full Code Here

      {
        alm = (TAlarm)li.next();
        if ((alm.getDescriptor() & TAlarmDescriptor.TERMINATE) != 0) continue;
        if (alm.getCode() != code) continue;
        alm.setDescriptor((byte)TAlarmDescriptor.TERMINATE);
        alm.clear();
        found = true;
      }
      if (!found)
      {
        if (TEquipmentModuleFactory.getDebugLevel() > 2)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.