DeltaBlock

Description

This block is used to apply a delta between values. 


Implementation

  • Drag and drop a delta block from the palette in a data strategy


image2024-12-4_11-56-3.png


 Properties

  • Artifacts: Artifacts created by this block
    Tables: the resulting table.

  • Target: the table on which the delta will be applied.

  • StatusPolicy {Union, Intersection}: Define how the delta on the status will be computed:Union:  Sum of the two statuses. Ex: the union of {fault, down, alarm} and {alarm} is {fault, alarm, down}Intersection: Common parts of the two statuses. Ex: the intersection of {fault, down, alarm} and {alarm} is {alarm}

Advanced Properties

  • DeltaPolicy {Previous, Next}:  How the delta will be computedPrevious: the result in a given row will be the delta of the current row and the previous oneNext: the result in a given row will be the delta of the next row and the current one