FSUIPC Client DLL
.NET interface for FSUIPC
PMDG_NGX_CDU_Screen Class Reference

Represents a CDU screen in a PMDG aircraft. More...

Public Member Functions

 PMDG_NGX_CDU_Screen (int Offset)
 Creates a new PMDG CDU Class. More...
 
void RefreshData ()
 Gets the latest data displayed on the CDU from FSUIPC. More...
 
void RefreshData (byte ClassInstance)
 Gets the latest data displayed on the CDU from FSUIPC. More...
 
override string ToString ()
 Returns the entire screen in a single fixed-length string. More...
 
string ToString (string RowDelimiter)
 Returns the entire screen in a single fixed-length string. More...
 

Properties

bool Powered [get]
 Indicates if this CDU has power or not More...
 
PMDG_NGX_CDU_Row [] Rows [get]
 An array or rows that make up the entire screen More...
 

Detailed Description

Represents a CDU screen in a PMDG aircraft.

Constructor & Destructor Documentation

◆ PMDG_NGX_CDU_Screen()

PMDG_NGX_CDU_Screen ( int  Offset)
inline

Creates a new PMDG CDU Class.

Parameters
OffsetThe base offset address of the CDU data.

See the FSUIPC documentation for the PMDG aircraft installed in the Modules Documents folder.

Member Function Documentation

◆ RefreshData() [1/2]

void RefreshData ( )
inline

Gets the latest data displayed on the CDU from FSUIPC.

◆ RefreshData() [2/2]

void RefreshData ( byte  ClassInstance)
inline

Gets the latest data displayed on the CDU from FSUIPC.

Parameters
ClassInstanceThe number of the Class Instance of WideClient you want to talk to.

◆ ToString() [1/2]

override string ToString ( )
inline

Returns the entire screen in a single fixed-length string.

The order is from left to right starting at the top row and going down.

Returns

◆ ToString() [2/2]

string ToString ( string  RowDelimiter)
inline

Returns the entire screen in a single fixed-length string.

The order is from left to right starting at the top row and going down.

Each row is seperated by the supplied RowDeimiter

Parameters
RowDelimiterA string that will be used to mark the end of each row
Returns

Property Documentation

◆ Powered

bool Powered
get

Indicates if this CDU has power or not

◆ Rows

PMDG_NGX_CDU_Row [] Rows
get

An array or rows that make up the entire screen