OpenTD.PID Class Reference
Last update: 16.07.2025Client-side representation of a Logic Object PID in a TD instance. More...
Inheritance diagram for OpenTD.PID:

Public Types | |
| enum | InputType2 { REGISTER2 , USER2 } |
| PID input variable type. More... | |
| enum | LogicType { TRANSLATECODE = -1 , ARRAY_INTERP , BIVAR_INTERP , PID , USERCODE , DIFFEQ , DIFFEQANGULAR , DIFFEQRPM , COMPAREDL , USER_ARRAY , SUBCOMPLQ , FORTRANARRAY , MAXLOGICTYPE } |
| TD Logic Object types. More... | |
Public Member Functions | |
| override void | Update () |
| Updates the TD entity with the latest client data. | |
| override void | CreateIn (ThermalDesktop td) |
| Creates the TD entity in the specified TD instance. | |
| override void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
| override string | ToString () |
| void | SetFrom (OpenTDObject x) |
| void | UpdateIn (ThermalDesktop td) |
| Updates the TD entity corresponding to this object in the specified TD instance, if possible. | |
Protected Attributes | |
| ITdCommander | TdProxy |
Properties | |
| InputType2 | InputType = InputType2.REGISTER2 [get, set] |
| InputType2 | InputYType = InputType2.REGISTER2 [get, set] |
| string | InputSymbol = string.Empty [get, set] |
| string | InputYSymbol = string.Empty [get, set] |
| string | OutputSymbol = string.Empty [get, set] |
| string | User = string.Empty [get, set] |
| string | UserY = string.Empty [get, set] |
| UnitsData.UnitsType | XUnits = UnitsData.UnitsType.DIMENSIONLESS [get, set] |
| UnitsData.UnitsType | YUnits = UnitsData.UnitsType.DIMENSIONLESS [get, set] |
| UnitsData.UnitsType | DataUnits = UnitsData.UnitsType.DIMENSIONLESS [get, set] |
| int | RoutineType = 0 [get, set] |
| double | GP [get, set] |
| ExpressionData | GPExpression = new ExpressionData() [get, set] |
| double | GI [get, set] |
| ExpressionData | GIExpression = new ExpressionData() [get, set] |
| double | GD [get, set] |
| ExpressionData | GDExpression = new ExpressionData() [get, set] |
| double | DT [get, set] |
| ExpressionData | DTExpression = new ExpressionData() [get, set] |
| double | DTSS [get, set] |
| ExpressionData | DTSSExpression = new ExpressionData() [get, set] |
| bool | Discrete = false [get, set] |
| bool | SteadyState = true [get, set] |
| bool | Transient = true [get, set] |
| bool | Windup = false [get, set] |
| bool | CVLimit = false [get, set] |
| int | PIDInt = 0 [get, set] |
| double | CVMin = -1e30 [get, set] |
| ExpressionData | CVMinExpression = new ExpressionData() [get, set] |
| double | CVMax = 1e30 [get, set] |
| ExpressionData | CVMaxExpression = new ExpressionData() [get, set] |
| string | TdClassName [get] |
| string | Handle [get, set] |
| string | Comment [get, set] |
| SubmodelNameData | Submodel [get, set] |
| ExpressionData | EnabledExp [get, set] |
| string | GroupName [get, set] |
| LogicType | Type [get] |
Detailed Description
Client-side representation of a Logic Object PID in a TD instance.
- See also
- OpenTD.ThermalDesktop
Member Enumeration Documentation
◆ InputType2
|
inherited |
PID input variable type.
| Enumerator | |
|---|---|
| REGISTER2 | |
| USER2 | |
◆ LogicType
|
inherited |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ SetFrom()
|
inlineinherited |
◆ ToString()
|
inlineinherited |
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inlineinherited |
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
◆ Comment
|
getsetinherited |
◆ CVLimit
|
getsetinherited |
◆ CVMax
|
getsetinherited |
◆ CVMaxExpression
|
getsetinherited |
◆ CVMin
|
getsetinherited |
◆ CVMinExpression
|
getsetinherited |
◆ DataUnits
|
getsetinherited |
◆ Discrete
|
getsetinherited |
◆ DT
|
getsetinherited |
◆ DTExpression
|
getsetinherited |
◆ DTSS
|
getsetinherited |
◆ DTSSExpression
|
getsetinherited |
◆ EnabledExp
|
getsetinherited |
◆ GD
|
getsetinherited |
◆ GDExpression
|
getsetinherited |
◆ GI
|
getsetinherited |
◆ GIExpression
|
getsetinherited |
◆ GP
|
getsetinherited |
◆ GPExpression
|
getsetinherited |
◆ GroupName
|
getsetinherited |
◆ Handle
|
getsetinherited |
◆ InputSymbol
|
getsetinherited |
◆ InputType
|
getsetinherited |
◆ InputYSymbol
|
getsetinherited |
◆ InputYType
|
getsetinherited |
◆ OutputSymbol
|
getsetinherited |
◆ PIDInt
|
getsetinherited |
◆ RoutineType
|
getsetinherited |
◆ SteadyState
|
getsetinherited |
◆ Submodel
|
getsetinherited |
◆ TdClassName
|
getinherited |
◆ Transient
|
getsetinherited |
◆ Type
|
getinherited |
◆ User
|
getsetinherited |
◆ UserY
|
getsetinherited |
◆ Windup
|
getsetinherited |
◆ XUnits
|
getsetinherited |
◆ YUnits
|
getsetinherited |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/PID.cs