public class OPCGroupStateMgt extends BaseCOMObject
IOPCGroupStateMgt| Constructor and Description |
|---|
OPCGroupStateMgt(IJIComObject opcGroup) |
| Modifier and Type | Method and Description |
|---|---|
EventHandler |
attach(IOPCDataCallback callback)
Attach a new callback to the group
|
OPCGroupStateMgt |
clone(String name)
Clone the group
|
OPCAsyncIO2 |
getAsyncIO2() |
OPCItemMgt |
getItemManagement() |
OPCGroupState |
getState() |
OPCSyncIO |
getSyncIO() |
void |
setName(String name)
Rename to group
|
int |
setState(Integer requestedUpdateRate,
Boolean active,
Integer timeBias,
Float percentDeadband,
Integer localeID,
Integer clientHandle)
Set the group state Leaving any of the parameters
null will keep the current value untouched. |
getCOMObjectpublic OPCGroupStateMgt(IJIComObject opcGroup) throws IllegalArgumentException, UnknownHostException, JIException
public OPCGroupState getState() throws JIException
JIExceptionpublic int setState(Integer requestedUpdateRate, Boolean active, Integer timeBias, Float percentDeadband, Integer localeID, Integer clientHandle) throws JIException
null will keep the current value untouched.requestedUpdateRate - the requested update rateactive - Flag if the group is active or nottimeBias - The time biaspercentDeadband - the deadband percentlocaleID - the locale IDclientHandle - the client handleJIExceptionpublic OPCItemMgt getItemManagement() throws JIException
JIExceptionpublic void setName(String name) throws JIException
name - the new nameJIExceptionpublic OPCGroupStateMgt clone(String name) throws JIException, IllegalArgumentException, UnknownHostException
name - the name of the cloned groupJIExceptionUnknownHostExceptionIllegalArgumentExceptionpublic EventHandler attach(IOPCDataCallback callback) throws JIException
callback - The callback to attachJIExceptionpublic OPCAsyncIO2 getAsyncIO2()
public OPCSyncIO getSyncIO()
Copyright © 2017 LSST. All rights reserved.