379 lines
14 KiB
Plaintext
379 lines
14 KiB
Plaintext
// ReSharper disable once CheckNamespace
|
|
namespace DTS.Slice.Users.UserSettings
|
|
{
|
|
/// <summary>
|
|
/// this class holds enums used for user properties/settings
|
|
/// </summary>
|
|
public abstract class PropertyEnums
|
|
{
|
|
/// <summary>
|
|
/// here are all the categories that user settings can come in currently
|
|
/// this is used to group properties in a propertygrid
|
|
/// </summary>
|
|
public enum PropertyCategories
|
|
{
|
|
TestInfo,
|
|
TestDetails,
|
|
DiagnosticOptions,
|
|
RealtimeOptions,
|
|
ArmChecklist,
|
|
ExportOptions,
|
|
UploadOptions,
|
|
UserHistory,
|
|
ClockSyncOptions,
|
|
UARTOptions,
|
|
EmbeddedSensorSampleRateOptions,
|
|
WakeMethodOptions,
|
|
EmbeddedSensorTriggerOptions,
|
|
TestHistoryOptions
|
|
}
|
|
|
|
/// <summary>
|
|
/// used to order the properties within a category
|
|
///
|
|
/// </summary>
|
|
public enum PropertyOrders
|
|
{
|
|
|
|
//test info
|
|
AutoExpandInfoSections,
|
|
AllowAdvanceRecordingModes,
|
|
AllowTSRAIRRecordingModes,
|
|
AllowUARTRecordingModes,
|
|
AllowActiveRamRecordingModes,
|
|
UseAdvancedStreamingProfiles,
|
|
DefaultRecordingMode,
|
|
DefaultNumberOfEvents,
|
|
DefaultSampleRate,
|
|
DefaultPreTriggerSeconds,
|
|
DefaultPostTriggerSeconds,
|
|
AllowStreamingModes,
|
|
DefaultStreaming,
|
|
DefaultAutoArm,
|
|
DefaultAutoArmRepeatEnable,
|
|
DefaultAutoArmPreserveDiagnostics,
|
|
DefaultDownloadROI,
|
|
DefaultROIStart,
|
|
DefaultROIEnd,
|
|
DefaultViewROI,
|
|
DefaultDownloadAll,
|
|
DefaultViewAll,
|
|
DefaultWarnMissingTrigger,
|
|
DefaultTestSetupTag,
|
|
|
|
//test details
|
|
DefaultCheckoutMode,
|
|
AlignUDPToPPS,
|
|
DefaultSuppressMissingSensorsWarning,
|
|
DefaultSensorCalibrationBehavior,
|
|
SupressQuitTestWarning,
|
|
SuppressViewAllRealtime,
|
|
SupressViewAllViewer,
|
|
DefaultCommonStatusLine,
|
|
DefaultTriggerCheckStep,
|
|
DefaultMeasureSquibResistancesStep,
|
|
DefaultAutomaticMode,
|
|
DefaultTestSetupAutomaticProgressDelaySeconds,
|
|
DefaultWarnOnFailedBattery,
|
|
DefaultIgnoreShortedStart,
|
|
DefaultIgnoreShortedTrigger,
|
|
|
|
//diagnostic options
|
|
DefaultRequireAllUnitsPassDiagnostics,
|
|
DefaultRequireUserConfirmationOnErrors,
|
|
DefaultAllowMissingSensors,
|
|
DefaultRequireSensorIdFound,
|
|
DefaultTestExcitationWarmupSeconds,
|
|
DefaultTestExcitationTOMWarmupDelayMS,
|
|
DefaultTestExcitationIEPEWarmupDelayMS,
|
|
DefaultRunPostTestDiagnostics,
|
|
DefaultTreeModeDiagnostics,
|
|
ArmTriggerDiagnosticsRunOnNextStep,
|
|
|
|
//RealtimeOptions
|
|
DefaultViewRealtime,
|
|
DefaultRealtimeGraphCount,
|
|
RealtimeChartWidthInSeconds,
|
|
DefaultUDPStreamProfile,
|
|
DefaultUDPStreamAddress,
|
|
DefaultUDPStreamTimeChannelId,
|
|
DefaultUDPStreamDataChannelId,
|
|
DefaultUDPStreamTmNSConfig,
|
|
DefaultIRIGTimeDataPacketIntervalMs,
|
|
DefaultUDPStreamMaskEUMetaData,
|
|
//15959 Realtime Sample Rate needs to be per seat instead of site wide
|
|
RealtimeSampleRateEthernetSLICE,
|
|
RealtimeSampleRateSLICE6,
|
|
RealtimeSampleRateUSBSLICE,
|
|
RealtimeSampleRateTDAS,
|
|
RealtimeSampleRateTDASSIM,
|
|
|
|
//armchecklist
|
|
DefaultArmCheckListStep,
|
|
DefaultCheckListBatteryVoltageCheck,
|
|
DefaultCheckListInputVoltageCheck,
|
|
ArmChecklistRequiredIfTOM,
|
|
DefaultCheckListSquibResistanceCheck,
|
|
DefaultCheckListSensorIdCheck,
|
|
DefaultCheckListTriggerStartCheck,
|
|
DefaultCheckListTiltSensorCheck,
|
|
DefaultCheckListTemperatureCheck,
|
|
DefaultCheckListClockSyncCheck,
|
|
DefaultCheckListMustPass,
|
|
|
|
//ExportOptions
|
|
DefaultExport,
|
|
ExportCSVUnfiltered,
|
|
ExportCSVFiltered,
|
|
ExportCSVMV,
|
|
ExportCSVADC,
|
|
ExportDiademADC,
|
|
ExportISOUnFiltered,
|
|
ExportISOFiltered,
|
|
ExportTDASADC,
|
|
ExportToyotaUnfiltered,
|
|
ExportToyotaFiltered,
|
|
ExportTSVUnfiltered,
|
|
ExportTSVFiltered,
|
|
ExportRDFADC,
|
|
ExportTDMSADC,
|
|
ExportChryslerDDAS,
|
|
ExportHDFUnfiltered,
|
|
ExportHDFFiltered,
|
|
ExportHDFMV,
|
|
ExportHDFADC,
|
|
ExportXLSXUnfiltered,
|
|
ExportXLSXFiltered,
|
|
ExportSomatUnfiltered,
|
|
ExportSomatFiltered,
|
|
ExportASC,
|
|
|
|
//UploadOptions
|
|
UploadData,
|
|
DefaultUploadFolder,
|
|
DefaultUploadExportsOnly,
|
|
|
|
//clock sync
|
|
DefaultClockSyncProfileMaster,
|
|
DefaultClockSyncProfileSlave,
|
|
DefaultPTPDomainID,
|
|
|
|
//uart
|
|
DefaultUARTBaudRate,
|
|
DefaultUARTDataBits,
|
|
DefaultUARTStopBits,
|
|
DefaultUARTParity,
|
|
DefaultUARTFlowControl,
|
|
DefaultUARTDataFormat,
|
|
|
|
//embedded sensors
|
|
DefaultEmbeddedLowGLinearAccelerometerSampleRate,
|
|
DefaultEmbeddedHighGLinearAccelerometerSampleRate,
|
|
DefaultEmbeddedAngularAccelerometerSampleRate,
|
|
DefaultEmbeddedAngularAccelerometerAndRateSensorSampleRate,
|
|
DefaultEmbeddedAtmosphericSensorSampleRate,
|
|
//power management
|
|
//wake up
|
|
DefaultMotionDetectDelayMs,
|
|
DefaultMotionQualificationPeriodMs,
|
|
DefaultMotionDetectInactivityS,
|
|
DefaultTimeSessionDuration,
|
|
//embedded sensor triggers
|
|
DefaultEmbeddedHighGLinearAccelerometerTrigger,
|
|
DefaultEmbeddedHighGLinearAccelerometerTriggerAboveAndBelow,
|
|
DefaultTimedIntervalTrigger,
|
|
DefaultIntervalBetweenEventStartsMinutes,
|
|
DefaultTimedIntervalUnit,
|
|
DefaultTimedIntervalEventDurationMs,
|
|
DefaultTimedIntervalNumberOfEvents,
|
|
DefaultRTCScheduleTrigger,
|
|
DefaultRTCScheduleStartTime,
|
|
DefaultRTCScheduleDuration,
|
|
DefaultStoreTestHistoryInDb,
|
|
DefaultStoreSensorTestHistoryInDb,
|
|
DefaultStoreTestSetupXmlInDb
|
|
}
|
|
|
|
/// <summary>
|
|
/// this is used to define the id for all known properties, which is used
|
|
/// in serializing/deserializing to the db
|
|
/// it's also used to handle displayname and description translations
|
|
/// </summary>
|
|
public enum PropertyIds
|
|
{
|
|
DefaultUploadEnabled = 102,
|
|
DefaultTestSampleRate = 103,
|
|
DefaultPostTriggerSeconds = 104,
|
|
DefaultPreTriggerSeconds = 105,
|
|
DefaultTriggerCheckStep = 106,
|
|
DefaultRealtimeGraphCount = 107,
|
|
DefaultROIStart = 108,
|
|
DefaultROIEnd = 109,
|
|
DefaultDownloadROI = 110,
|
|
DefaultViewROI = 111,
|
|
DefaultDownloadAll = 112,
|
|
DefaultViewAll = 113,
|
|
DefaultRequireAllUnitsPassDiagnostics = 115,
|
|
DefaultRequireUserConfirmationOnErrors = 116,
|
|
DefaultAllowMissingSensors = 117,
|
|
DefaultRunPostTestDiagnostics = 124,
|
|
DefaultArmCheckListStep = 126,
|
|
DefaultCheckListInputVoltageCheck = 127,
|
|
DefaultCheckListBatteryVoltageCheck = 128,
|
|
DefaultCheckListSquibResistanceCheck = 129,
|
|
DefaultCheckListSensorIdCheck = 130,
|
|
DefaultCheckListTriggerStartCheck = 131,
|
|
DefaultRequireSensorIdFound = 132,
|
|
DefaultCheckListMustPass = 133,
|
|
DefaultViewRealtime = 134,
|
|
DefaultExport = 135,
|
|
DefaultExportFormat = 137,
|
|
DefaultCheckListTiltSensorCheck = 138,
|
|
ExportCSVUnfiltered = 139,
|
|
ExportCSVFiltered = 140,
|
|
ExportISOUnFiltered = 141,
|
|
ExportISOFiltered = 142,
|
|
ExportSomatUnfiltered = 143,
|
|
ExportSomatFiltered = 144,
|
|
ExportTDMSADC = 145,
|
|
ExportToyotaUnfiltered = 146,
|
|
ExportToyotaFiltered = 147,
|
|
ExportTSVUnfiltered = 148,
|
|
ExportTSVFiltered = 149,
|
|
ExportTDASADC = 150,
|
|
ExportRDFADC = 151,
|
|
ExportChryslerDDAS = 152,
|
|
ExportHDFUnfiltered = 153,
|
|
ExportHDFFiltered = 154,
|
|
ExportHDFMV = 155,
|
|
ExportHDFADC = 156,
|
|
ExportXLSXUnfiltered = 157,
|
|
ExportXLSXFiltered = 158,
|
|
DefaultCheckoutMode = 159,
|
|
SupressQuitTestWarning = 160,
|
|
SuppressViewAllRealtime = 161,
|
|
SupressViewAllViewer = 162,
|
|
DefaultCommonStatusLine = 163,
|
|
DefaultAutomaticMode = 164,
|
|
DefaultTestSetupAutomaticProgressDelaySeconds = 165,
|
|
DefaultWarnOnFailedBattery = 166,
|
|
DefaultUploadFolder = 167,
|
|
DefaultAutoArm = 168,
|
|
AllowAdvancedRecordingModes = 169,
|
|
DefaultRecordingMode = 170,
|
|
ExportDiademADC = 171,
|
|
DefaultTestExcitationWarmupSeconds = 172,
|
|
DefaultCheckListTemperatureCheck = 173,
|
|
DefaultUploadExportsOnly = 174,
|
|
ExportCSVMV = 175,
|
|
ExportCSVADC = 176,
|
|
DefaultTestExcitationTOMWarmupDelayMS = 177,
|
|
DefaultTestExcitationIEPEWarmupDelayMS = 178,
|
|
RealtimeChartWidthInSeconds = 301,
|
|
DefaultTreeModeDiagnostics = 302,
|
|
ArmChecklistRequiredIfTOM = 303,
|
|
DefaultSuppressMissingSensorsWarning = 304,
|
|
ArmTriggerDiagnosticsRunOnNextStep = 305,
|
|
DefaultSensorCalibrationBehavior = 306,
|
|
RealtimeSampleRateEthernetSLICE = 307,
|
|
RealtimeSampleRateSLICE6 = 308,
|
|
RealtimeSampleRateUSBSLICE = 309,
|
|
RealtimeSampleRateTDAS = 310,
|
|
RealtimeSampleRateTDASSIM = 311,
|
|
UsersCurrentTestSetup = 401,
|
|
LastRunTestSetup = 402,
|
|
LastUsedSampleRate = 403,
|
|
ApplySensorDataToBlankChannels = 404,
|
|
ShowOptionsWhenApplyingSensorToBlankChannel = 405,
|
|
DefaultStreaming = 406,
|
|
DefaultCheckListClockSyncCheck = 407,
|
|
DefaultClockSyncProfileMaster = 408,
|
|
DefaultClockSyncProfileSlave = 409,
|
|
AllowUARTRecordingModes = 410,
|
|
DefaultUARTBaudRate = 411,
|
|
DefaultUARTDataBits = 412,
|
|
DefaultUARTStopBits = 413,
|
|
DefaultUARTParity = 414,
|
|
DefaultUARTFlowControl = 415,
|
|
DefaultUDPStreamProfile = 416,
|
|
DefaultUDPStreamTimeChannelId = 417,
|
|
DefaultUDPStreamDataChannelId = 418,
|
|
DefaultUDPStreamTmNSConfig = 419,
|
|
DefaultIRIGTimeDataPacketIntervalMs = 420,
|
|
DefaultAutoArmRepeatEnable = 421,
|
|
DefaultAutoArmPreserveDiagnostics = 422,
|
|
DefaultMeasureSquibResistancesStep = 423,
|
|
DefaultNumberOfEvents = 424,
|
|
//17566 Config option to "Auto expand" test info sections.
|
|
AutoExpandInfoSections = 425,
|
|
ExpandMainInfo = 426,
|
|
ExpandTestInfo = 427,
|
|
ExpandTestDiag = 428,
|
|
ExpandTestRealtime = 429,
|
|
ExpandTestClockSync = 430,
|
|
ExpandTestArmChecklist = 431,
|
|
ExpandTestUpload = 432,
|
|
ExpandTestExport = 433,
|
|
ApplyHardwareAssignmentInHardwareDisco = 434,
|
|
|
|
DefaultEmbeddedLowGLinearAccelerometerSampleRate = 435,
|
|
DefaultEmbeddedHighGLinearAccelerometerSampleRate = 436,
|
|
DefaultEmbeddedAngularAccelerometerSampleRate = 437,
|
|
DefaultEmbeddedAngularAccelerometerAndRateSensorSampleRate = 438,
|
|
DefaultEmbeddedAtmosphericSensorSampleRate = 439,
|
|
|
|
DefaultWakeMethod = 441,
|
|
DefaultMotionDetectDelayMs = 442,
|
|
DefaultMotionQualificationPeriodMs = 443,
|
|
DefaultMotionDetectInactivityS = 444,
|
|
|
|
DefaultTimeSessionDuration = 447,
|
|
|
|
DefaultEmbeddedHighGLinearAccelerometerTrigger = 453,
|
|
DefaultEmbeddedHighGLinearAccelerometerTriggerAboveAndBelow = 454,
|
|
DefaultTimedIntervalTrigger = 468,
|
|
DefaultIntervalBetweenEventStartsMinutes = 469,
|
|
DefaultTimedIntervalUnit = 470,
|
|
DefaultTimedIntervalEventDurationMs = 471,
|
|
DefaultTimedIntervalNumberOfEvents = 472,
|
|
DefaultRTCScheduleTrigger = 473,
|
|
DefaultRTCScheduleStartTime = 474,
|
|
DefaultRTCScheduleDuration = 475,
|
|
|
|
DefaultStoreTestHistoryInDb = 476,
|
|
DefaultStoreSensorTestHistoryInDb = 477,
|
|
DefaultStoreTestSetupXmlInDb = 478,
|
|
DefaultWarnMissingTrigger = 479,
|
|
|
|
AllowStreamingModes = 480,
|
|
//whether to remember test id prefix/suffix
|
|
//18028 Remember test id suffix drop down state
|
|
StoreTestIdAffixes = 481,
|
|
TestIdPrefix = 482,
|
|
TestIdSuffix = 483,
|
|
|
|
//18361
|
|
DefaultUARTDataFormat = 484,
|
|
//18362
|
|
DefaultUDPStreamAddress = 485,
|
|
DefaultUDPStreamMaskEUMetaData = 486,
|
|
DefaultTestSetupTag = 487,
|
|
AllowTSRAIRRecordingModes = 488,
|
|
ExportASC = 489,
|
|
|
|
//29835
|
|
DefaultIgnoreShortedStart = 490,
|
|
DefaultIgnoreShortedTrigger = 491,
|
|
|
|
//31840
|
|
DefaultUseAdvancedUDPStreamProfiles = 492,
|
|
//30513
|
|
DefaultPTPDomainID = 493,
|
|
//31841
|
|
AllowActiveRamRecordingModes = 494,
|
|
//39470
|
|
AlignUDPToPPS = 495
|
|
}
|
|
}
|
|
}
|