'Declaration
Public Function New( _ ByVal machineName As String, _ ByVal serverClass As String, _ ByVal qualifiedSourceName As String, _ ByVal conditionName As String, _ ByVal activeTime As Date, _ ByVal cookie As Long _ )
'Usage
Dim machineName As String Dim serverClass As String Dim qualifiedSourceName As String Dim conditionName As String Dim activeTime As Date Dim cookie As Long Dim instance As New AEAcknowledgeConditionArguments(machineName, serverClass, qualifiedSourceName, conditionName, activeTime, cookie)
public AEAcknowledgeConditionArguments( string machineName, string serverClass, string qualifiedSourceName, string conditionName, DateTime activeTime, long cookie )
public: AEAcknowledgeConditionArguments( String^ machineName, String^ serverClass, String^ qualifiedSourceName, String^ conditionName, DateTime activeTime, int64 cookie )
Parameters
- machineName
- Name of the machine. Determines the computer on which the OPC server is located. May be an empty string, in which case the OPC server is assumed to exist on the local computer or at the computer specified for it by DCOM configuration.
- serverClass
- Contains ProgID of the OPC server.
- qualifiedSourceName
- Fully qualified source name. Identifies the source of the condition that is being acknowledged, e.g. FIC101.
- conditionName
- A condition name, identifying the condition that is being acknowledged. Condition Names are unique within the scope of the event server. Examples of Condition Names might be "LevelAlarm" or "Deviation".
- activeTime
- An active time corresponding to the Source and Condition Name pair. This parameter uniquely identifies a specific transition of the condition to the active state or into a different sub-condition and is the same as the OpcLabs.EasyOpc.AlarmsAndEvents.AEConditionState.SubconditionActiveTime condition attribute. Active Times are passed to the client in the event notification. If the condition has become active again or transitioned into a different sub-condition at a later time, this acknowledgment will be ignored.
- cookie
- A server supplied "cookie" corresponding to the Source and Condition Name pair that in addition to the Active Time uniquely identifies a specific event notification. Cookies are passed to the client in the event notification. The client is responsible for returning the same cookie parameter, received in the event notification, back to the server in the condition acknowledgment.