Package de.desy.tine.server.equipment

Examples of de.desy.tine.server.equipment.TEquipmentModule$expGrpPostfixHndlr


      chkNormal[0] = reference.chkNormal[0];
    }
  }
  public void setEquipmentModule(String eqmName)
  {
    TEquipmentModule eq = TEquipmentModuleFactory.getInstance().getEquipmentModule(eqmName);
    if (eq == null) return; // TODO: throw exception
    setEquipmentModule(eq);
  }
View Full Code Here


    almRemovalBlocked = false;
    almCode = code;
    almDescriptor = flags;
    almData = data;
    almDevice = device;
    TEquipmentModule eqm = null;
    // fix the code for what happens below ...
    if (isLinkErrorAlarm(code))
      code = TErrorList.link_error;
    else if (isDiskSpaceAlarm(code))
      code = (code & 0xff);
    else
      code = getBaseCode(code);
    if (almDevice != null && (eqm=almDevice.getEqm()) != null)
    { // try the configured definitions list
      almDef = (TAlarmDefinition)eqm.getAlarmDefinitionList().get(code);
    }
    if (almDef == null)
    { // now try the stock definitions
//      almDef = (TAlarmDefinition)eqm.getEquipmentModuleFactory().getStockAlarmDefinitions().get(Integer.toString(code));
      almDef = (TAlarmDefinition)TAlarmStockAlarm.getStockAlarmDefinitions().get(Integer.toString(code));
View Full Code Here

      chkNormal[0] = reference.chkNormal[0];
    }
  }
  public void setEquipmentModule(String eqmName)
  {
    TEquipmentModule eq = TEquipmentModuleFactory.getInstance().getEquipmentModule(eqmName);
    if (eq == null) return; // TODO: throw exception
    setEquipmentModule(eq);
  }
View Full Code Here

TOP

Related Classes of de.desy.tine.server.equipment.TEquipmentModule$expGrpPostfixHndlr

Copyright © 2018 www.massapicom. 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.