Method | Description | |
---|---|---|
CloneClient ( ) : |
Creates a new instance of the client with the same configuration.
|
|
ComDaClient ( |
Initializes a new instance of the ComDaClient class.
|
|
CreateBrowser ( string itemId ) : IDaElementBrowser |
Creates a browser.
|
|
CreateGroup ( int groupId, int samplingInterval, float deadband, int &groupHandle, int &revisedSamplingInterval ) : object |
Creates a group.
|
|
FindElement ( string itemId ) : DaElement |
Finds the branch or item.
|
|
FindElementParentId ( string itemId ) : string |
Finds the item id for the parent of the element.
|
|
FindProperty ( string itemId, int propertyId ) : DaProperty |
Finds the property metadata for the specified item id.
|
|
GetStatus ( ) : OPCSERVERSTATUS? |
Reads the status from the server.
|
|
Read ( ReadRequestCollection requests ) : void |
Reads the item and property values from the server.
|
|
ReadAvailableProperties ( string itemId, bool updateCache ) : DaProperty[] |
Read the available non-built in properties from the server.
|
|
ReadPropertyValues ( List |
Reads the property values and stores the results in the request objects.
|
|
RemoveGroup ( int groupHandle ) : void |
Removes a group.
|
|
Write ( WriteRequestCollection requests ) : void |
Writes the item and property values to the server.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
OnConnected ( ) : void |
Called immediately after connecting to the server.
|
Method | Description | |
---|---|---|
ChangeBrowsePosition ( OPCBROWSEDIRECTION direction, string name ) : bool |
Changes the browse position.
|
|
CreateElement ( string itemId, string name, string parentId ) : DaElement |
Creates a new element.
|
|
CreateEnumerator ( bool branches ) : |
Creates an enumerator for the current browse position.
|
|
Da20ReadItemValues ( List |
Reads the item values and stores the results in the request object.
|
|
Da20WriteItemValues ( List |
Writes the item values to servers.
|
|
Da30ReadItemValues ( List |
Reads the values using the DA3 interfaces.
|
|
Da30WriteItemValues ( List |
Writes the values using the DA3 interfaces.
|
|
FindElement ( string itemId, string name, string parentId ) : DaElement |
Finds the element and updates the name if it is not already cached.
|
|
GetItemId ( string browseName ) : string |
Looks up the item id for the node relative to the current browse position.
|
|
GetPropertyItemIds ( string itemId, DaProperty properties ) : void |
Gets the property item ids.
|
|
ReadPropertyValues ( string itemId ) : DaValue[] |
Reads the values of the properties from the server.
|
|
SaveElementInCache ( DaElement element ) : void |
Saves the element in cache.
|
|
UpdateElement ( DaElement element, string name, string parentId ) : void |
Updates a element.
|
public ComDaClient ( |
||
configuration | ||
return | System |
public CreateBrowser ( string itemId ) : IDaElementBrowser | ||
itemId | string | The item id. |
return | IDaElementBrowser |
public CreateGroup ( int groupId, int samplingInterval, float deadband, int &groupHandle, int &revisedSamplingInterval ) : object | ||
groupId | int | |
samplingInterval | int | |
deadband | float | |
groupHandle | int | |
revisedSamplingInterval | int | |
return | object |
public FindElement ( string itemId ) : DaElement | ||
itemId | string | The item id. |
return | DaElement |
public FindElementParentId ( string itemId ) : string | ||
itemId | string | The item id. |
return | string |
public FindProperty ( string itemId, int propertyId ) : DaProperty | ||
itemId | string | The item id. |
propertyId | int | The property id. |
return | DaProperty |
public Read ( ReadRequestCollection requests ) : void | ||
requests | ReadRequestCollection | The requests. |
return | void |
public ReadAvailableProperties ( string itemId, bool updateCache ) : DaProperty[] | ||
itemId | string | The item id. |
updateCache | bool | if set to |
return | DaProperty[] |
public ReadPropertyValues ( List |
||
requests | List |
The requests. |
return | void |
public RemoveGroup ( int groupHandle ) : void | ||
groupHandle | int | |
return | void |
public Write ( WriteRequestCollection requests ) : void | ||
requests | WriteRequestCollection | The requests. |
return | void |