'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function GetConditionState( _ ByVal client As IEasyAEClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal sourceDescriptor As AENodeDescriptor, _ ByVal conditionName As String _ ) As AEConditionState
'Usage
Dim client As IEasyAEClient Dim serverDescriptor As ServerDescriptor Dim sourceDescriptor As AENodeDescriptor Dim conditionName As String Dim value As AEConditionState value = IEasyAEClientExtension.GetConditionState(client, serverDescriptor, sourceDescriptor, conditionName)
[Extension()] [NotNull()] public static AEConditionState GetConditionState( IEasyAEClient client, ServerDescriptor serverDescriptor, AENodeDescriptor sourceDescriptor, string conditionName )
[Extension()] [NotNull()] public: static AEConditionState^ GetConditionState( IEasyAEClient^ client, ServerDescriptor^ serverDescriptor, AENodeDescriptor^ sourceDescriptor, String^ conditionName )
Parameters
- client
- The client object that will perform the operation.
- 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.
Return Value
If successful, the function returns a AEConditionState object. The object contains information about the state of the condition.