Previous Table of Contents Next


5.2.7.3 Condition Logic


    The reduced XPath language as defined in Section 3.1.12, “Logical Expressions and Navigation,? on page 3-25 is used to describe the condition_logic. This allows description of a path through a data structure picking up property values to be used in a logical expression.

   A common case is property values at objects associated with a source, hence the starting point for navigation is the source. An example from the CIM model where the Measurement is the source can be found in Figure 4-3 on page 4-6.

   Examples how to use DAIS_Expressions starting from a source are shown below:

   Measurement.value < 500 assuming that the tested value is an element at the source.

   MeasurementValue[id(MeasurementValue.MeasurementValueSource)/label='telemetry']/ MeasurementValue.value < id(Measurement.LimitSets)[LimitSet.label = 'summer']/Limit[label = 'highalarm']/Limit.value

    Based on the model in Figure 4-3 on page 4-6, the XML example in Section 3.1.12, “Logical Expressions and Navigation,? on page 3-25 and the source as a Measurement.