OptrisOptrisDocumentation

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

TemperatureUnit

public enum TemperatureUnit

The unit a person reads a temperature in.

The unit of every number the SDK takes and returns is Sdk.TemperatureUnit's, Celsius by default: with Fahrenheit chosen there, every temperature crossing the API is in degrees Fahrenheit and every temperature difference in Fahrenheit degrees (frames, regions, alarm limits, PIF mappings, the colour scale, radiation parameters, values read back from recordings). The SDK stores and computes in Celsius, so a stored limit or a recording never depends on the unit somebody was looking at. A TemperatureUnit is also how a camera's own text is labelled (ThermalCamera.DisplayTemperatureUnit), how a number is shown to a person or typed by one (Temperatures, which always converts from and to Celsius), and the unit of the CSV snapshot, the one file the SDK writes as text for a person to read (CsvOptions.TemperatureUnit).

This enum is : int to match the C ABI.

Value
Celsius 0 Degrees Celsius, the SDK's default unit.
Fahrenheit 1 Degrees Fahrenheit.