Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.UDFACollection Class Reference

Last update: 16.07.2025

Client-side representation of a Logic Object Fortran Array in a TD instance. This holds a collection of individual Fortran arrays. More...

Inheritance diagram for OpenTD.UDFACollection:
OpenTD.RcLogicUDFACollectionDataOpenTD.LogicObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.ITdDerivedOpenTD.IUpdatableOpenTD.IReassignable

Public Types

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

List< UDFAFortranArrays = new List<UDFA>() [get, set]
 
ExpressionData EnabledExpression = new ExpressionData("1") [get, set]
 
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 Fortran Array in a TD instance. This holds a collection of individual Fortran arrays.

See also
OpenTD.ThermalDesktop

Member Enumeration Documentation

◆ LogicType

TD Logic Object types.

Enumerator
TRANSLATECODE 
ARRAY_INTERP 
BIVAR_INTERP 
PID 
USERCODE 
DIFFEQ 
DIFFEQANGULAR 
DIFFEQRPM 
COMPAREDL 
USER_ARRAY 
SUBCOMPLQ 
FORTRANARRAY 
MAXLOGICTYPE 

Member Function Documentation

◆ CreateIn()

override void OpenTD.UDFACollection.CreateIn ( ThermalDesktop td)
inline

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ SetFrom()

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ ToString()

override string OpenTD.LogicObject.ToString ( )
inlineinherited

◆ Update()

override void OpenTD.UDFACollection.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.LogicObject.UpdateFromTD ( )
inlineinherited

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ Comment

string OpenTD.LogicObject.Comment
getsetinherited

◆ EnabledExp

ExpressionData OpenTD.LogicObject.EnabledExp
getsetinherited

◆ EnabledExpression

ExpressionData OpenTD.RcLogicUDFACollectionData.EnabledExpression = new ExpressionData("1")
getsetinherited

◆ FortranArrays

List<UDFA> OpenTD.RcLogicUDFACollectionData.FortranArrays = new List<UDFA>()
getsetinherited

◆ GroupName

string OpenTD.LogicObject.GroupName
getsetinherited

◆ Handle

string OpenTD.LogicObject.Handle
getsetinherited

◆ Submodel

SubmodelNameData OpenTD.LogicObject.Submodel
getsetinherited

◆ Type

LogicType OpenTD.LogicObject.Type
getinherited

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/UDFACollection.cs

Connect with Ansys