init
This commit is contained in:
48
Common/DTS.Common/Enums/DASFactory/ConstantsAndEnums.cs
Normal file
48
Common/DTS.Common/Enums/DASFactory/ConstantsAndEnums.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
namespace DTS.Common.Enums.DASFactory
|
||||
{
|
||||
public static class ConstantsAndEnums
|
||||
{
|
||||
/// <summary>
|
||||
/// This tells us what type of device it is
|
||||
/// </summary>
|
||||
public enum DASType
|
||||
{
|
||||
NONE,
|
||||
HID_SLICE,
|
||||
WINUSB_SLICE,
|
||||
G5,
|
||||
SIM,
|
||||
TOM,
|
||||
DIM,
|
||||
TSR,
|
||||
HEADS,
|
||||
MINIDAU,
|
||||
ETHERNET_SLICE,
|
||||
ETHERNET_RIBEYE,
|
||||
SLICE_DB,
|
||||
TSR2,
|
||||
ETHERNET_TDAS,
|
||||
CDCUSB_SLICE,
|
||||
ETHERNET_SLICE2,
|
||||
WINUSB_SLICE1_5,
|
||||
ETHERNET_SLICE1_5,
|
||||
ETHERNET_SLICE6,
|
||||
ETHERNET_SLICE6AIR,
|
||||
WINUSB_SLICE6,
|
||||
WINUSB_SLICE6AIR,
|
||||
ETHERNET_SLICE6DB,
|
||||
SERIAL_TDAS
|
||||
}
|
||||
public enum VoltageStatusColor
|
||||
{
|
||||
Green,
|
||||
Red,
|
||||
Yellow,
|
||||
Off
|
||||
}
|
||||
|
||||
public const int EVENT_NUMBER_PRETEST_DIAG = -1;
|
||||
public const int EVENT_NUMBER_POSTTEST_DIAG = -2;
|
||||
public const int EVENT_NUMBER_MEASURE_BRIDGE = -3;
|
||||
}
|
||||
}
|
||||
1412
Common/DTS.Common/Enums/DASFactory/DFConstantsAndEnums.cs
Normal file
1412
Common/DTS.Common/Enums/DASFactory/DFConstantsAndEnums.cs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,34 @@
|
||||
namespace DTS.Common.Enums.DASFactory
|
||||
{
|
||||
public enum S6DBDiagnosticChannelList
|
||||
{
|
||||
//These match previous Base channels
|
||||
InputVoltage = 0,
|
||||
BackupVoltage = 1,
|
||||
TemperatureC = 2,
|
||||
BatterySoc = 3,
|
||||
|
||||
//These are the rest of the DB diag channels
|
||||
DiagInputVoltage = 100,
|
||||
DiagMcuTemperature = 101,
|
||||
DiagChargerPower = 102,
|
||||
DiagChargerInputCurrent = 103,
|
||||
//DiagChargerDischargeCurrent = 104,
|
||||
DiagEnv_1_Temperature = 104, //Internal
|
||||
DiagEnv_1_Humidity = 105, //Internal
|
||||
DiagEnv_2_Temperature = 106,
|
||||
DiagEnv_2_Humidity = 107,
|
||||
DiagEnv_3_Temperature = 108,
|
||||
DiagEnv_3_Humidity = 109,
|
||||
DiagEnv_4_Temperature = 110,
|
||||
DiagEnv_4_Humidity = 111,
|
||||
DiagEnv_5_Temperature = 112,
|
||||
DiagEnv_5_Humidity = 113,
|
||||
DiagBatterySoc = 114,
|
||||
DiagBatteryPackVoltage = 115,
|
||||
DiagBatteryPackCurrent = 116,
|
||||
DiagBatteryFgTemperature = 117,
|
||||
DiagBatteryThermistor1Temperature = 118,
|
||||
DiagBatteryThermistor2Temperature = 119,
|
||||
};
|
||||
}
|
||||
24
Common/DTS.Common/Enums/DASFactory/UseCasesTSRAIR.cs
Normal file
24
Common/DTS.Common/Enums/DASFactory/UseCasesTSRAIR.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.ComponentModel;
|
||||
using DTS.Common.Converters;
|
||||
|
||||
namespace DTS.Common.Enums.DASFactory
|
||||
{
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum UseCasesTSRAIR : byte
|
||||
{
|
||||
[Description("Aerospace")]
|
||||
AEROSPACE,
|
||||
[Description("Aerospace with motion")]
|
||||
AEROSPACE_with_motion,
|
||||
[Description("Vibration")]
|
||||
VIBRATION,
|
||||
[Description("Scheduled")]
|
||||
SCHEDULED,
|
||||
[Description("Interval")]
|
||||
INTERVAL,
|
||||
[Description("Streaming")]
|
||||
STREAMING,
|
||||
[Description("Pretrigger test")]
|
||||
PRETRIGGER_TEST,
|
||||
}
|
||||
}
|
||||
13
Common/DTS.Common/Enums/DASFactory/WakeupTriggers.cs
Normal file
13
Common/DTS.Common/Enums/DASFactory/WakeupTriggers.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using DTS.Common.Base.Classes;
|
||||
using DTS.Common.Converters;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.Enums.DASFactory
|
||||
{
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum WakeupTriggers
|
||||
{
|
||||
[Description("WakeupTriggers_MotionDetect")]
|
||||
MotionDetect,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user