Examples of TSrvEntry


Examples of de.desy.tine.addrUtils.TSrvEntry

  }
  public TContractP5(TLink lnk// going out (client constructor)
  {
    int i;
    // get 6-character module name
    TSrvEntry mod;
    mod = new TSrvEntry(lnk);
    if (mod.fecAddr == null) return;
    if (lnk.srvAddr != null)
    {
      lnk.srvAddr.fecAddr = mod.fecAddr;
      lnk.srvAddr.eqmName = mod.eqmName;
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  }
  public static int addToWatchTable(
      String context,String server, String property, String device,
      int datasiz,int datafmt,int severity,float hiThreshold,float loThreshold)
  {
    TSrvEntry srv = new TSrvEntry(device,server,context);   
    TAlarmWatchEntry[] awe = new TAlarmWatchEntry[1];
    TAlarmWatchThreshold awt = new TAlarmWatchThreshold(5,hiThreshold,(float)(hiThreshold*0.9),loThreshold,(float)(loThreshold*0.9));
    awe[0] = new TAlarmWatchEntry(srv.getEqmName(),device, property, datasiz, datafmt, TArrayType.AT_UNKNOWN,0,severity,awt);
    String dev = "/"+context+"/"+server;
    TLink lnk = new TLink(dev,"ALMWATCHTBL",null,new TDataType(awe),TAccess.CA_WRITE);
    return lnk.executeAndClose();
  }
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  //going out (client-side constructor)
  public TContract(TLink lnk
  {
    int i, padding = 0;
    // get 6-character module name
    TSrvEntry srv;
    srv = new TSrvEntry(lnk);
    if (srv.fecAddr == null) return;
    isLegacy = srv.isLegacy;
    if (lnk.srvAddr != null)
    { // this part is always valid
      lnk.srvAddr.fecAddr = srv.fecAddr;
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  }
  public TContractP5(TLink lnk// going out (client constructor)
  {
    int i;
    // get 6-character module name
    TSrvEntry mod;
    mod = new TSrvEntry(lnk);
    if (mod.fecAddr == null) return;
    if (lnk.srvAddr != null)
    {
      lnk.srvAddr.fecAddr = mod.fecAddr;
      lnk.srvAddr.eqmName = mod.eqmName;
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  //going out (client-side constructor)
  public TContract(TLink lnk
  {
    int i, padding = 0;
    // get 6-character module name
    TSrvEntry srv;
    srv = new TSrvEntry(lnk);
    if (srv.fecAddr == null) return;
    isLegacy = srv.isLegacy;
    if (lnk.srvAddr != null)
    { // this part is always valid
      lnk.srvAddr.fecAddr = srv.fecAddr;
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  }
  public static int addToWatchTable(
      String context,String server, String property, String device,
      int datasiz,int datafmt,int severity,float hiThreshold,float loThreshold)
  {
    TSrvEntry srv = new TSrvEntry(device,server,context);   
    TAlarmWatchEntry[] awe = new TAlarmWatchEntry[1];
    TAlarmWatchThreshold awt = new TAlarmWatchThreshold(5,hiThreshold,(float)(hiThreshold*0.9),loThreshold,(float)(loThreshold*0.9));
    awe[0] = new TAlarmWatchEntry(srv.getEqmName(),device, property, datasiz, datafmt, TArrayType.AT_UNKNOWN,0,severity,awt);
    String dev = "/"+context+"/"+server;
    TLink lnk = new TLink(dev,"ALMWATCHTBL",null,new TDataType(awe),TAccess.CA_WRITE);
    return lnk.executeAndClose();
  }
View Full Code Here

Examples of de.desy.tine.addrUtils.TSrvEntry

  }
  public static int addToWatchTable(
      String context,String server, String property, String device,
      int datasiz,int datafmt,int severity,float hiThreshold,float loThreshold)
  {
    TSrvEntry srv = new TSrvEntry(device,server,context);   
    TAlarmWatchEntry[] awe = new TAlarmWatchEntry[1];
    TAlarmWatchThreshold awt = new TAlarmWatchThreshold(5,hiThreshold,(float)(hiThreshold*0.9),loThreshold,(float)(loThreshold*0.9));
    awe[0] = new TAlarmWatchEntry(srv.getEqmName(),device, property, datasiz, datafmt, TArrayType.AT_UNKNOWN,0,severity,awt);
    String dev = "/"+context+"/"+server;
    TLink lnk = new TLink(dev,"ALMWATCHTBL",null,new TDataType(awe),TAccess.CA_WRITE);
    return lnk.executeAndClose();
  }
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.