OptrisOptrisDocumentation

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

TemperatureRange

public readonly record struct TemperatureRange : IEquatable<TemperatureRange>

A temperature range the camera can measure in.

Both bounds are whole degrees in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit). The camera's ranges are whole Celsius degrees, so in Fahrenheit a range reads converted (-20 to 100 C is -4 to 212 F), and a range asked for in Fahrenheit is rounded to the nearest whole Celsius degree before it is matched against the camera's own.

TemperatureRange: constructors

public TemperatureRange(int Minimum, int Maximum)

A temperature range the camera can measure in.

  • Minimum: Lower bound, in whole degrees of the SDK's temperature unit.
  • Maximum: Upper bound, in whole degrees of the SDK's temperature unit.

Both bounds are whole degrees in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit). The camera's ranges are whole Celsius degrees, so in Fahrenheit a range reads converted (-20 to 100 C is -4 to 212 F), and a range asked for in Fahrenheit is rounded to the nearest whole Celsius degree before it is matched against the camera's own.

TemperatureRange: properties

public int Maximum { get; init; }

Upper bound, in whole degrees of the SDK's temperature unit.

public int Minimum { get; init; }

Lower bound, in whole degrees of the SDK's temperature unit.