OptrisOptrisDocumentation

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

ActionDropCounts

public readonly record struct ActionDropCounts : IEquatable<ActionDropCounts>

How many alarm actions, and how many action reports, a camera has lost.

The reports ThermalCamera.ActionFailed(…) and ThermalCamera.ActionCompletedAsync(…) deliver are best effort: a chattering alarm in front of a slow consumer can outrun the bounded backlog of undelivered reports, and past it a report is lost. These totals are exact, so an application can say how many never arrived. Read with ThermalCamera.GetActionDropCounts.

ActionDropCounts: constructors

public ActionDropCounts(ulong ActionsDropped, ulong ReportsDropped)

How many alarm actions, and how many action reports, a camera has lost.

  • ActionsDropped: Actions discarded from a full action queue. Each is also reported as ActionOutcome.DroppedQueueFull, unless that report is itself among the lost ones.
  • ReportsDropped: Error and outcome reports lost because too many were already waiting for the application to take them.

The reports ThermalCamera.ActionFailed(…) and ThermalCamera.ActionCompletedAsync(…) deliver are best effort: a chattering alarm in front of a slow consumer can outrun the bounded backlog of undelivered reports, and past it a report is lost. These totals are exact, so an application can say how many never arrived. Read with ThermalCamera.GetActionDropCounts.

ActionDropCounts: properties

public ulong ActionsDropped { get; init; }

Actions discarded from a full action queue. Each is also reported as ActionOutcome.DroppedQueueFull, unless that report is itself among the lost ones.

public ulong ReportsDropped { get; init; }

Error and outcome reports lost because too many were already waiting for the application to take them.