2022-07-23 19:23:32 +00:00
|
|
|
|
namespace MSFSPopoutPanelManager.SimConnectAgent
|
|
|
|
|
{
|
|
|
|
|
public class SimConnectDataDefinition
|
|
|
|
|
{
|
2023-07-12 22:41:31 +00:00
|
|
|
|
public DATA_DEFINITION DefinitionId { get; set; }
|
2022-07-23 19:23:32 +00:00
|
|
|
|
|
2023-07-12 22:41:31 +00:00
|
|
|
|
public DATA_REQUEST RequestId { get; set; }
|
2022-07-23 19:23:32 +00:00
|
|
|
|
|
|
|
|
|
public string PropName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string VariableName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string SimConnectUnit { get; set; }
|
|
|
|
|
|
|
|
|
|
public DataType DataType { get; set; }
|
|
|
|
|
|
|
|
|
|
public DataDefinitionType DataDefinitionType { get; set; }
|
|
|
|
|
|
|
|
|
|
public object Value { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DataDefinitionType
|
|
|
|
|
{
|
|
|
|
|
AVar,
|
|
|
|
|
LVar,
|
2022-08-01 23:21:42 +00:00
|
|
|
|
SimConnect,
|
|
|
|
|
SimEvent
|
2022-07-23 19:23:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DataType
|
|
|
|
|
{
|
|
|
|
|
String,
|
|
|
|
|
Float64,
|
|
|
|
|
Default
|
|
|
|
|
}
|
|
|
|
|
}
|