    

 ## On this page

  

 

 # Class TemperatureUnit

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_Thermal_TemperatureUnit"></a>

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 ← [FunctionUnitBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/FunctionUnit.cs) ← [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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/FunctionUnit.cs), [FunctionUnitBase.Shift](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/FunctionUnit.cs), [FunctionUnitBase.Factor](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/FunctionUnit.cs)

#### 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

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit__ctor"></a> TemperatureUnit()

Initializes a new instance of the  class.

```csharp
public TemperatureUnit()

```

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit__ctor_VM_Models_Pre_ILinkContainer_"></a> TemperatureUnit(ILinkContainer)

Initializes a new instance of the  class.

```csharp
public TemperatureUnit(ILinkContainer lc)

```

#### Parameters

`lc` ILinkContainer

The owner.

## Properties

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit_Factor"></a> Factor

Gets the factor.

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

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit_Scale"></a> Scale

Gets the scale.

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

```

#### Property Value

double

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit_Shift"></a> Shift

Gets the shift.

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

```

#### Property Value

double

### <a id="VM_Managed_DAFUL_Thermal_TemperatureUnit_UnitOfTemperature"></a> 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)