Class OPCGroupStateMgt

java.lang.Object
org.openscada.opc.dcom.common.impl.BaseCOMObject
org.openscada.opc.dcom.da.impl.OPCGroupStateMgt

public class OPCGroupStateMgt extends BaseCOMObject
Implementation of IOPCGroupStateMgt
Author:
Jens Reimann jens.reimann@th4-systems.com
  • Constructor Details

  • Method Details

    • getState

      public OPCGroupState getState() throws org.jinterop.dcom.common.JIException
      Throws:
      org.jinterop.dcom.common.JIException
    • setState

      public int setState(Integer requestedUpdateRate, Boolean active, Integer timeBias, Float percentDeadband, Integer localeID, Integer clientHandle) throws org.jinterop.dcom.common.JIException
      Set the group state Leaving any of the parameters null will keep the current value untouched.
      Parameters:
      requestedUpdateRate - the requested update rate
      active - Flag if the group is active or not
      timeBias - The time bias
      percentDeadband - the deadband percent
      localeID - the locale ID
      clientHandle - the client handle
      Returns:
      the granted update rate
      Throws:
      org.jinterop.dcom.common.JIException
    • getItemManagement

      public OPCItemMgt getItemManagement() throws org.jinterop.dcom.common.JIException
      Throws:
      org.jinterop.dcom.common.JIException
    • setName

      public void setName(String name) throws org.jinterop.dcom.common.JIException
      Rename to group
      Parameters:
      name - the new name
      Throws:
      org.jinterop.dcom.common.JIException
    • clone

      public OPCGroupStateMgt clone(String name) throws org.jinterop.dcom.common.JIException, IllegalArgumentException, UnknownHostException
      Clone the group
      Parameters:
      name - the name of the cloned group
      Returns:
      The cloned group
      Throws:
      org.jinterop.dcom.common.JIException
      UnknownHostException
      IllegalArgumentException
    • attach

      public EventHandler attach(IOPCDataCallback callback) throws org.jinterop.dcom.common.JIException
      Attach a new callback to the group
      Parameters:
      callback - The callback to attach
      Returns:
      The event handler information
      Throws:
      org.jinterop.dcom.common.JIException
    • getAsyncIO2

      public OPCAsyncIO2 getAsyncIO2()
    • getSyncIO

      public OPCSyncIO getSyncIO()