diff --git a/Workshop/AlarmCondition/Client/FilterDefinition.cs b/Workshop/AlarmCondition/Client/FilterDefinition.cs index 9fd59b8d..587b7615 100644 --- a/Workshop/AlarmCondition/Client/FilterDefinition.cs +++ b/Workshop/AlarmCondition/Client/FilterDefinition.cs @@ -125,7 +125,7 @@ public SimpleAttributeOperandCollection ConstructSelectClauses( // this can be done by specifying an operand with an empty browse path. SimpleAttributeOperand operand = new SimpleAttributeOperand(); - operand.TypeDefinitionId = ObjectTypeIds.BaseEventType; + operand.TypeDefinitionId = ObjectTypeIds.ConditionType; operand.AttributeId = Attributes.NodeId; operand.BrowsePath = new QualifiedNameCollection(); diff --git a/Workshop/Common/FilterDefinition.cs b/Workshop/Common/FilterDefinition.cs index e0def048..f1f63d1c 100644 --- a/Workshop/Common/FilterDefinition.cs +++ b/Workshop/Common/FilterDefinition.cs @@ -120,7 +120,7 @@ public SimpleAttributeOperandCollection ConstructSelectClauses( // this can be done by specifying an operand with an empty browse path. SimpleAttributeOperand operand = new SimpleAttributeOperand(); - operand.TypeDefinitionId = ObjectTypeIds.BaseEventType; + operand.TypeDefinitionId = ObjectTypeIds.ConditionType; operand.AttributeId = Attributes.NodeId; operand.BrowsePath = new QualifiedNameCollection();