Type Alias Condition

Condition: Message<"moddef.v1.Condition"> & {
    mask: bigint;
    max: bigint;
    min: bigint;
    op: ConditionOp;
    value: bigint;
}

§11.7 Exit condition evaluated against the raw (pre-transform) integer value of the polled point. Structural validity per op: MDE507.

Type declaration

  • mask: bigint

    MASK; MUST NOT be zero

    from field: int64 mask = 3;

  • max: bigint

    RANGE; MUST be >= min

    from field: int64 max = 5;

  • min: bigint

    RANGE

    from field: int64 min = 4;

  • op: ConditionOp

    from field: moddef.v1.ConditionOp op = 1;

  • value: bigint

    EQ / NE / MASK

    from field: int64 value = 2;

from message moddef.v1.Condition