    

 ## On this page

  

 

 # Class TemperatureUnit

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Thermal](VM.Managed.DAFUL.Thermal.md)  
Assembly: VMThermalBase.dll

This class is to represent the unit of temperature.

```csharp
public class TemperatureUnit : ThermalUnitBase

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← FunctionUnitBase ← [ThermalUnitBase](VM.Managed.DAFUL.Thermal.ThermalUnitBase.md) ← [TemperatureUnit](VM.Managed.DAFUL.Thermal.TemperatureUnit.md)

#### Inherited Members

[ThermalUnitBase.SetModified()](VM.Managed.DAFUL.Thermal.ThermalUnitBase.md#VM_Managed_DAFUL_Thermal_ThermalUnitBase_SetModified), FunctionUnitBase.Scale, FunctionUnitBase.Shift, FunctionUnitBase.Factor

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### TemperatureUnit()

Initializes a new instance of the  class.

```csharp
public TemperatureUnit()

```

### TemperatureUnit(ILinkContainer)

Initializes a new instance of the  class.

```csharp
public TemperatureUnit(ILinkContainer lc)

```

#### Parameters

`lc` ILinkContainer

The owner.

## Properties

### Factor

Gets the factor.

```csharp
public override string Factor { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Scale

Gets the scale.

```csharp
public override double Scale { get; }

```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### Shift

Gets the shift.

```csharp
public override double Shift { get; }

```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### UnitOfTemperature

Gets or sets the unit.

```csharp
public TemperatureUnit.Temperature UnitOfTemperature { get; set; }

```

#### Property Value

[TemperatureUnit](VM.Managed.DAFUL.Thermal.TemperatureUnit.md).[Temperature](VM.Managed.DAFUL.Thermal.TemperatureUnit.Temperature.md)