OpenTD.PressureLoad Class Reference
Last update: 16.07.2025Client-side representation of a Pressure entity in a TD instance. More...
Inheritance diagram for OpenTD.PressureLoad:

Public Types | |
| enum | PressureTypes { CONSTANT , TIME , FILE } |
| How pressures are defined for a PressureLoad. More... | |
Public Member Functions | |
| PressureLoad () | |
| override void | Update () |
| Updates the TD entity with the latest client data. | |
| override void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
| override void | CreateIn (ThermalDesktop td) |
| Creates the TD entity in the specified TD instance. | |
| override string | ToString () |
| void | SetFrom (TdDbEntityData x) |
| void | SetFrom (DbObject x) |
| void | SetFrom (OpenTDObject x) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| void | UpdateIn (ThermalDesktop td) |
| Updates the TD entity corresponding to this object in the specified TD instance, if possible. | |
Static Public Member Functions | |
| static bool | operator== (DbObject first, DbObject second) |
| static bool | operator!= (DbObject first, DbObject second) |
Protected Member Functions | |
| string | ToString (string Submodel, string Id, string Comment) |
| string | ToString (string Submodel, int Id, string Comment) |
Protected Attributes | |
| ITdCommander | TdProxy |
Properties | |
| List< Connection > | AppliedTo [get, set] |
| string | Comment [get, set] |
| string | Submodel [get, set] |
| string | FileName [get, set] |
| PressureTypes | Type [get, set] |
| Dimensional< Pressure > | Value [get, set] |
| ExpressionData | ValueExp [get, set] |
| DimensionalList< Time > | TimeArray [get, set] |
| DimensionalList< Pressure > | ValueArray [get, set] |
| int | Enabled [get, set] |
| ExpressionData | EnabledExp [get, set] |
| string | Layer [get, set] |
| int | ColorIndex [get, set] |
| Specifies a color. See the AutoCAD Layer Properties Manager for valid values. | |
| string | Handle [get, set] |
| string | TypeName [get, set] |
| string | TdClassName [get] |
Detailed Description
Client-side representation of a Pressure entity in a TD instance.
- See also
- OpenTD.ThermalDesktop
Member Enumeration Documentation
◆ PressureTypes
How pressures are defined for a PressureLoad.
| Enumerator | |
|---|---|
| CONSTANT | |
| TIME | |
| FILE | |
Constructor & Destructor Documentation
◆ PressureLoad()
|
inline |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ Equals()
|
inlineinherited |
◆ GetHashCode()
|
inlineinherited |
◆ operator!=()
◆ operator==()
◆ SetFrom() [1/3]
|
inlineinherited |
◆ SetFrom() [2/3]
|
inlineinherited |
◆ SetFrom() [3/3]
|
inlineinherited |
◆ ToString() [1/3]
|
inline |
◆ ToString() [2/3]
|
inlineprotectedinherited |
◆ ToString() [3/3]
|
inlineprotectedinherited |
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
◆ UpdateIn()
|
inlineinherited |
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
Implements OpenTD.IReassignable.
Member Data Documentation
◆ TdProxy
|
protectedinherited |
Property Documentation
◆ AppliedTo
|
getset |
◆ ColorIndex
|
getsetinherited |
Specifies a color. See the AutoCAD Layer Properties Manager for valid values.
◆ Comment
|
getset |
◆ Enabled
|
getset |
◆ EnabledExp
|
getset |
◆ FileName
|
getset |
◆ Handle
|
getsetinherited |
◆ Layer
|
getsetinherited |
◆ Submodel
|
getset |
◆ TdClassName
|
getinherited |
◆ TimeArray
|
getset |
◆ Type
|
getset |
◆ TypeName
|
getsetinherited |
◆ Value
|
getset |
◆ ValueArray
|
getset |
◆ ValueExp
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/PressureLoad.cs