Class PressureLoad
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Client-side representation of a Pressure entity in a TD instance.
[DataContract]
public class PressureLoad : TdDbEntityData, IUpdatable
Inheritance
object ← OpenTDObject ← DbObject ← TdDbEntityData ← PressureLoad
Implements
Inherited Members
TdDbEntityData.SetFrom(TdDbEntityData), TdDbEntityData.Layer, TdDbEntityData.ColorIndex, TdDbEntityData.ToString(string, string, string), TdDbEntityData.ToString(string, int, string), TdDbEntityData.ToString(), DbObject.SetFrom(DbObject), DbObject.Update(), DbObject.UpdateFromTD(), DbObject.CreateIn(ThermalDesktop), DbObject.Handle, DbObject.TypeName, DbObject.Equals(object), DbObject.GetHashCode(), OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Constructors
PressureLoad()
public PressureLoad()
Properties
AppliedTo
[DataMember]
public List<Connection> AppliedTo { get; set; }
Property Value
Comment
[DataMember]
public string Comment { get; set; }
Property Value
Enabled
[DataMember]
public int Enabled { get; set; }
Property Value
EnabledExp
[DataMember]
public ExpressionData EnabledExp { get; set; }
Property Value
FileName
[DataMember]
public string FileName { get; set; }
Property Value
Submodel
[DataMember]
public string Submodel { get; set; }
Property Value
TimeArray
[DataMember]
public DimensionalList<Time> TimeArray { get; set; }
Property Value
Type
[DataMember]
public PressureLoad.PressureTypes Type { get; set; }
Property Value
Value
[DataMember]
public Dimensional<Pressure> Value { get; set; }
Property Value
ValueArray
[DataMember]
public DimensionalList<Pressure> ValueArray { get; set; }
Property Value
ValueExp
[DataMember]
public ExpressionData ValueExp { get; set; }
Property Value
Methods
CreateIn(ThermalDesktop)
Creates the TD entity in the specified TD instance.
public override void CreateIn(ThermalDesktop td)
Parameters
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.
Update()
Updates the TD entity with the latest client data.
public override void Update()
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public override void UpdateFromTD()