'Declaration
Public Function GetConditionState( _ ByVal serverDescriptor As ServerDescriptor, _ ByVal sourceDescriptor As AENodeDescriptor, _ ByVal conditionName As String, _ ByVal attributes() As Long _ ) As AEConditionState
'Usage
Dim instance As EasyAEClient Dim serverDescriptor As ServerDescriptor Dim sourceDescriptor As AENodeDescriptor Dim conditionName As String Dim attributes() As Long Dim value As AEConditionState value = instance.GetConditionState(serverDescriptor, sourceDescriptor, conditionName, attributes)
public AEConditionState GetConditionState( ServerDescriptor serverDescriptor, AENodeDescriptor sourceDescriptor, string conditionName, long[] attributes )
public: AEConditionState^ GetConditionState( ServerDescriptor^ serverDescriptor, AENodeDescriptor^ sourceDescriptor, String^ conditionName, array<int64>^ attributes )
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- sourceDescriptor
- Contains fully qualified source name, as returned by browsing. The state of the condition instance associated with this source is returned.
- conditionName
- A condition name, as returned by querying. The state of this condition is returned.
- attributes
- Specifies the event attributes to be returned.
Return Value
If successful, the function returns a AEConditionState object. The object contains information about the state of the condition.