1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-21 21:30:12 +00:00
msfs-popout-panel-manager/SimconnectAgent/SimConnectDataDefinition.cs
2022-08-01 22:08:43 -04:00

51 lines
1 KiB
C#

namespace MSFSPopoutPanelManager.SimConnectAgent
{
public class SimConnectDataDefinition
{
public SIMCONNECT_DEFINE_ID DefineId = SIMCONNECT_DEFINE_ID.Dummy;
public SIMCONNECT_REQUEST RequestId = SIMCONNECT_REQUEST.Dummy;
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 DefaultValue { get; set; }
public string JavaScriptFormatting { get; set; }
public object Value { get; set; }
}
public enum SIMCONNECT_DEFINE_ID
{
Dummy = 0
}
public enum SIMCONNECT_REQUEST
{
Dummy = 0,
SimConnectStruct
};
public enum DataDefinitionType
{
AVar,
LVar,
SimConnect,
SimEvent
}
public enum DataType
{
String,
Float64,
Default
}
}