OptrisOptrisDocumentation

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

NetworkConfigurationReply

public readonly record struct NetworkConfigurationReply : IEquatable<NetworkConfigurationReply>

What came of ThermalCamera.RequestNetworkConfiguration(…): taken or refused, and on whose word.

NetworkConfigurationReply: constructors

public NetworkConfigurationReply(bool Accepted, bool CameraReported, NetworkConfigurationOutcome Outcome, NetworkConfigurationRefusal Refusal, byte RefusalCode, NetworkConfiguration CameraConfiguration)

What came of ThermalCamera.RequestNetworkConfiguration(…): taken or refused, and on whose word.

  • Accepted: true when the configuration was taken; false when the camera refused it and stored nothing, with Refusal saying why.
  • CameraReported: true when the camera itself stated the verdict and CameraConfiguration: the Xi 640 ETH over USB on firmware reporting 4200..4399. false for a camera whose firmware states none, and for a request not sent because it matched what the camera already has (NetworkConfigurationOutcome.Unchanged); CameraConfiguration is then what you passed.
  • Outcome: What the write did to this connection. Meaningful only when Accepted.
  • Refusal: Why it was refused; NetworkConfigurationRefusal.None when it was not.
  • RefusalCode: The camera's own number for the reason, 0 when not refused, so a reason newer than this SDK is still reported exactly.
  • CameraConfiguration: The configuration the camera holds after the request, as it reported it: the new one when accepted, the one it kept when refused. Over USB the address and mask take effect at the camera's next start.

NetworkConfigurationReply: properties

public bool Accepted { get; init; }

true when the configuration was taken; false when the camera refused it and stored nothing, with Refusal saying why.

public NetworkConfiguration CameraConfiguration { get; init; }

The configuration the camera holds after the request, as it reported it: the new one when accepted, the one it kept when refused. Over USB the address and mask take effect at the camera's next start.

public bool CameraReported { get; init; }

true when the camera itself stated the verdict and CameraConfiguration: the Xi 640 ETH over USB on firmware reporting 4200..4399. false for a camera whose firmware states none, and for a request not sent because it matched what the camera already has (NetworkConfigurationOutcome.Unchanged); CameraConfiguration is then what you passed.

public NetworkConfigurationOutcome Outcome { get; init; }

What the write did to this connection. Meaningful only when Accepted.

public NetworkConfigurationRefusal Refusal { get; init; }

Why it was refused; NetworkConfigurationRefusal.None when it was not.

public byte RefusalCode { get; init; }

The camera's own number for the reason, 0 when not refused, so a reason newer than this SDK is still reported exactly.