mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-22 13:50:14 +00:00
21 lines
725 B
C#
21 lines
725 B
C#
|
using Microsoft.FlightSimulator.SimConnect;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace MSFSPopoutPanelManager.FsConnector
|
|||
|
{
|
|||
|
public class DataDefinition
|
|||
|
{
|
|||
|
public static List<(string PropName, string SimConnectName, string SimConnectUnit, SIMCONNECT_DATATYPE SimConnectDataType, Type ObjectType)> GetDefinition()
|
|||
|
{
|
|||
|
var def = new List<(string, string, string, SIMCONNECT_DATATYPE, Type)>
|
|||
|
{
|
|||
|
("Title", "Title", null, SIMCONNECT_DATATYPE.STRING256, typeof(string)),
|
|||
|
("ElectricalMasterBattery", "ELECTRICAL MASTER BATTERY", "Bool", SIMCONNECT_DATATYPE.FLOAT64, typeof(bool))
|
|||
|
};
|
|||
|
|
|||
|
return def;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|