1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-29 09:10:09 +00:00
msfs-popout-panel-manager/SimconnectAgent/SimConnectDataDefinition.cs

52 lines
1 KiB
C#
Raw Normal View History

2022-07-23 19:23:32 +00:00
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,
2022-08-01 23:21:42 +00:00
SimConnect,
SimEvent
2022-07-23 19:23:32 +00:00
}
public enum DataType
{
String,
Float64,
Default
}
}