template-for-typescript-projects
    Preparing search index...

    Encapsulates threshold breach details and presentation helpers.

    The identifier of the threshold.

    The human-readable threshold name.

    The utility type (e.g., WATER, GAS).

    The threshold type identifier.

    The optional period type for the threshold.

    The configured limit value for the threshold.

    The measured value that triggered the breach.

    Index

    Constructors

    • Parameters

      • thresholdId: string
      • thresholdName: string
      • utilityType: string
      • thresholdType: string
      • periodType: string | undefined
      • limitValue: number
      • detectedValue: number

      Returns BreachDetails

    Properties

    detectedValue: number
    limitValue: number
    periodType: string | undefined
    thresholdId: string
    thresholdName: string
    thresholdType: string
    utilityType: string

    Methods

    • Builds a human-readable message describing the breach.

      Returns string

      A formatted message containing detected and limit values.