OptrisOptrisDocumentation

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

ActionOutcome

public enum ActionOutcome

What became of an alarm action that did not fail.

Two of these are neither errors nor successes: a snapshot its own minimum interval skipped, and one dropped from a full action queue. Both leave an activation with no picture, which an application has to be able to say out loud instead of guessing from a file that is not there.

Value
Unknown 0 Nobody said. Zero, so an outcome nobody filled reads as "no verdict" rather than as a claim that something was written. It has no producer, deliberately: the SDK never reports it, so an ActionCompleted the SDK delivered always carries one of the others.
Written 1 The file is complete on disk under ActionCompleted.Path. Reported after the writer returned success, so it is a confirmation. An attachment provider being asked is not this -- that happens while the still is being assembled, before any bytes are written.
SkippedByMinimumInterval 2 The action's own SnapshotAction.MinimumInterval declined it. Not an error: the spacing the caller asked for, doing its job. ActionCompleted.Path is empty, and that is not an omission -- the name is generated after this decision, so no file was ever named.
DroppedQueueFull 3 The action queue was full and this action was discarded. Not an error either; the activation simply has no picture. A recording start or stop is never dropped. ActionCompleted.Path is empty, for the same reason as above.
DroppedFrameBudget 4 The still was dropped because the frame that fired the rule could not be kept. Not an error either.