    

 ## On this page

  

 

 # Class PressureLoad

 Last update: 09.03.2026 

Namespace: [OpenTD](OpenTD.md)  
Assembly: OpenTD.dll

Client-side representation of a Pressure entity in a TD instance.

```csharp
[MessagePackObject(true)]
public class PressureLoad : TdDbEntityData, IUpdatable

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [OpenTDObject](OpenTD.OpenTDObject.md) ← [DbObject](OpenTD.DbObject.md) ← [TdDbEntityData](OpenTD.TdDbEntityData.md) ← [PressureLoad](OpenTD.PressureLoad.md)

## Implements

[IUpdatable](OpenTD.IUpdatable.md)

## Inherited Members

[TdDbEntityData.SetFrom(TdDbEntityData)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_SetFrom_OpenTD_TdDbEntityData_), [TdDbEntityData.Layer](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_Layer), [TdDbEntityData.ColorIndex](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ColorIndex), [TdDbEntityData.ToString(string, string, string)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString_System_String_System_String_System_String_), [TdDbEntityData.ToString(string, int, string)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString_System_String_System_Int32_System_String_), [TdDbEntityData.ToString()](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString), [DbObject.SetFrom(DbObject)](OpenTD.DbObject.md#OpenTD_DbObject_SetFrom_OpenTD_DbObject_), [DbObject.Update()](OpenTD.DbObject.md#OpenTD_DbObject_Update), [DbObject.UpdateFromTD()](OpenTD.DbObject.md#OpenTD_DbObject_UpdateFromTD), [DbObject.CreateIn(ThermalDesktop)](OpenTD.DbObject.md#OpenTD_DbObject_CreateIn_OpenTD_ThermalDesktop_), [DbObject.Handle](OpenTD.DbObject.md#OpenTD_DbObject_Handle), [DbObject.TypeName](OpenTD.DbObject.md#OpenTD_DbObject_TypeName), [DbObject.Equals(object)](OpenTD.DbObject.md#OpenTD_DbObject_Equals_System_Object_), [DbObject.GetHashCode()](OpenTD.DbObject.md#OpenTD_DbObject_GetHashCode), [OpenTDObject.SetFrom(OpenTDObject)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_SetFrom_OpenTD_OpenTDObject_), [OpenTDObject.Update()](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_Update), [OpenTDObject.UpdateFromTD()](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_UpdateFromTD), [OpenTDObject.UpdateIn(ThermalDesktop)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_UpdateIn_OpenTD_ThermalDesktop_), [OpenTDObject.CreateIn(ThermalDesktop)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_CreateIn_OpenTD_ThermalDesktop_), [OpenTDObject.TdProxy](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_TdProxy), [object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)), [object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### PressureLoad()

```csharp
public PressureLoad()

```

## Properties

### AppliedTo

```csharp
public List<Connection> AppliedTo { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[Connection](OpenTD.Connection.md)&gt;

### Comment

```csharp
public string Comment { get; set; }

```

#### Property Value

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

### Enabled

```csharp
public int Enabled { get; set; }

```

#### Property Value

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

### EnabledExp

```csharp
public ExpressionData EnabledExp { get; set; }

```

#### Property Value

[ExpressionData](OpenTD.ExpressionData.md)

### FileName

```csharp
public string FileName { get; set; }

```

#### Property Value

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

### Submodel

```csharp
public string Submodel { get; set; }

```

#### Property Value

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

### TimeArray

```csharp
public DimensionalList<Time> TimeArray { get; set; }

```

#### Property Value

[DimensionalList](OpenTD.Dimension.DimensionalList-1.md)&lt;[Time](OpenTD.Dimension.Time.md)&gt;

### Type

```csharp
public PressureLoad.PressureTypes Type { get; set; }

```

#### Property Value

[PressureLoad](OpenTD.PressureLoad.md).[PressureTypes](OpenTD.PressureLoad.PressureTypes.md)

### Value

```csharp
public Dimensional<Pressure> Value { get; set; }

```

#### Property Value

[Dimensional](OpenTD.Dimension.Dimensional-1.md)&lt;[Pressure](OpenTD.Dimension.Pressure.md)&gt;

### ValueArray

```csharp
public DimensionalList<Pressure> ValueArray { get; set; }

```

#### Property Value

[DimensionalList](OpenTD.Dimension.DimensionalList-1.md)&lt;[Pressure](OpenTD.Dimension.Pressure.md)&gt;

### ValueExp

```csharp
public ExpressionData ValueExp { get; set; }

```

#### Property Value

[ExpressionData](OpenTD.ExpressionData.md)

## Methods

### CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

```csharp
public override void CreateIn(ThermalDesktop td)

```

#### Parameters

`td` [ThermalDesktop](OpenTD.ThermalDesktop.md)

### ToString()

Returns a string that represents the current object.

```csharp
public override string ToString()

```

#### Returns

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

A string that represents the current object.

### Update()

Updates the TD entity with the latest client data.

```csharp
public override void Update()

```

### UpdateFromTD()

Updates the client-side instance with the latest data from the TD entity.

```csharp
public override void UpdateFromTD()

```

## See Also

[ThermalDesktop](OpenTD.ThermalDesktop.md)