Method | Description | |
---|---|---|
ActivateItems ( bool active ) : void |
Sets the active state for a set of items in a group.
|
|
AddItems ( ) : void |
Adds all items to the group that have not already been added.
|
|
ApplyChanges ( ) : bool |
Applys any changes to the group.
|
|
ComDaGroup ( |
Creates an empty group.
|
|
Create ( ) : void |
Creates the group on the server if not already created.
|
|
CreateItem ( string itemId, int samplingInterval, float deadband, bool active ) : |
Creates the item.
|
|
Delete ( ) : void |
Deletes the group on the server if it has been created.
|
|
ModifyGroup ( ) : int |
Modifies the group.
|
|
ModifyItem ( |
Modifies the item.
|
|
RemoveItem ( |
Removes the item from the group.
|
|
RemoveItems ( ) : void |
Removes the items from the group that have been marked as deleted.
|
|
SetMonitoredItems ( |
Sets the monitored items associated with the item.
|
|
SyncRead ( int serverHandles, int count ) : DaValue[] |
Reads the values for a set of items.
|
|
SyncWrite ( int serverHandles, object values, int count ) : int[] |
Writes the values for a set of items.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
ReleaseServer ( ) : void |
Releases all references to the server.
|
Method | Description | |
---|---|---|
GetItemResults ( |
Unmarshals and deallocates a OPCITEMRESULT structures.
|
|
GetItemValues ( |
Unmarshals and deallocates a OPCITEMSTATE structures.
|
|
GetItemValues ( int dwCount, object pvValues, short pwQualities, System pftTimeStamps, int pErrors ) : DaValue[] |
Creates an array of item value result objects from the callback data.
|
|
OnDataChange ( int clientHandles, DaValue values ) : void |
Called when a data change event arrives.
|
|
OnReadComplete ( int requestId, int clientHandles, DaValue values ) : void |
Called when a asynchronous read completes.
|
|
OnWriteComplete ( int requestId, int clientHandles, int errors ) : void |
Called when a asynchronous write completes.
|
public ComDaGroup ( |
||
server | The server that the group belongs to. | |
callbacksRequired | bool | if set to |
return | System |
public CreateItem ( string itemId, int samplingInterval, float deadband, bool active ) : |
||
itemId | string | The item id. |
samplingInterval | int | The sampling interval. |
deadband | float | The deadband. |
active | bool | if set to |
return |
public ModifyItem ( |
||
item | The item. | |
samplingInterval | int | The sampling interval. |
deadband | float | The deadband. |
active | bool | if set to |
return | bool |
public RemoveItem ( |
||
item | The item. | |
return | bool |
public SetMonitoredItems ( |
||
item | The item. | |
monitoredItems | The monitored items. | |
return | void |
public SyncRead ( int serverHandles, int count ) : DaValue[] | ||
serverHandles | int | |
count | int | |
return | DaValue[] |
public SyncWrite ( int serverHandles, object values, int count ) : int[] | ||
serverHandles | int | |
values | object | |
count | int | |
return | int[] |