}
flags |= TAlarmDescriptor.NEW;
if ((flags & TAlarmDescriptor.TRANSIENT) != 0) flags |= TAlarmDescriptor.TERMINATE;
alm = new TAlarm(code,(byte)flags,data,this);
alm.setWatchEntry(awe);
if (eqm.casReadRequired) alm.blockRemoval();
devAlarmList.add(alm);
}
if (TEquipmentModuleFactory.getDebugLevel() > 0)
DbgLog.log("getAlarmFromList",devName + " : " + alm.getTag() + "(" + code + ") : add alarm to list");
return alm;