OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

AlarmRuntime

public readonly record struct AlarmRuntime : IEquatable<AlarmRuntime>

What a rule is reporting, and why it is reporting it.

Returned by ThermalCamera.GetAlarmRuntime.

AlarmRuntime: constructors

public AlarmRuntime(AlarmState State, bool IsHeldByLatch)

What a rule is reporting, and why it is reporting it.

  • State: What ThermalCamera.GetAlarmState would report.
  • IsHeldByLatch: True only when State is AlarmState.Active and the condition itself has released, so the latch is the only thing keeping it active. Acknowledging then clears the alarm; when this is false, acknowledging an active alarm re-arms the latch and changes nothing.

Returned by ThermalCamera.GetAlarmRuntime.

AlarmRuntime: properties

public bool IsHeldByLatch { get; init; }

True only when State is AlarmState.Active and the condition itself has released, so the latch is the only thing keeping it active. Acknowledging then clears the alarm; when this is false, acknowledging an active alarm re-arms the latch and changes nothing.

public AlarmState State { get; init; }

What ThermalCamera.GetAlarmState would report.