OptrisOptrisDocumentation

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

ReconnectPhase

public enum ReconnectPhase

Where an automatic reconnect attempt got to.

Value
Started 0 The link was declared dead and recovery has started. Reported once per drop, before the first wait.
Attempting 1 An attempt is about to be made. ReconnectEvent.Attempt counts from 1.
AttemptFailed 2 An attempt failed. ReconnectEvent.Message says why.
Recovered 3 The camera is open again.
GaveUp 4 The attempt budget ran out, or a handler registered with ThermalCamera.OnReconnectAttempt(…) refused an attempt. No further attempt is made until the application asks again, and ThermalCamera.IsAutoReconnectEnabled reads false from here on.
WaitingForDevice 5 The camera is not present, so no attempt was made and none was spent.