namespace DTS.Common.Enums { /// /// different variables to optimize or change the behavior of das factory based on whether a test /// is currently executing or not /// public abstract class RunTestVariables { /// /// whether to show ADC unsigned or not /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool ShowADCUnsigned { get; set; } = false; /// /// The realtime sample rate for TDAS /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double RealtimeSampleRateTDAS { get; set; } = 1000; /// /// The default udp stream time channel id /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int DefaultUDPStreamTimeChannelId { get; set; } = 1; /// /// the default udp stream data channel id /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int DefaultUDPStreamDataChannelId { get; set; } = 3; /// /// the default irig time data packet interval in ms /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int DefaultIRIGTimeDataPacketIntervalMs { get; set; } = 1000; /// /// the default udp stream tmns config property as a string /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static string DefaultUDPStreamTmNSConfig { get; set; } = ""; /// /// The ISO view mode /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static IsoViewMode ISOViewMode { get; set; } = IsoViewMode.ISOOnly; /// /// the realtime level trigger percentage /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double RealtimeLevelTriggerPercentage { get; set; } = 100; /// /// the realtime level trigger beep interval in ms /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int RealtimeLevelTriggerBeepIntervalMS { get; set; } = 10; /// /// the realtime level trigger beep count /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int RealtimeLevelTriggerBeepCount { get; set; } = 10; /// /// whether to auto advance in realtime level trigger /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool RealtimeLevelTriggerAutoAdvance { get; set; } = false; /// /// how long to freeze after a level trigger in realtime in seconds /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int RealtimeLevelTriggerFreezeTimeSec { get; set; } = 3; /// /// whether to require completion of realtime level trigger checks or not /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool RealtimeLevelTriggerRequireCheckCompletion { get; set; } = false; /// /// realtime level trigger qualifying number of samples for a level trigger /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int RealtimeLevelTriggerQualifyingSamples { get; set; } = 5; /// /// whether to beep in realtime level trigger while idle /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool RealtimeLevelTriggerIdleBeep { get; set; } = false; /// /// realtime level trigger idle beep interval in ms /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int RealtimeLevelTriggerIdleBeepIntervalMS { get; set; } = 1000; /// /// whether to use realtime in metermode table mode /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool UseMeterModeTable { get; set; } = false; /// /// whether to save realtime snapshots to clipboard or not /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool SaveSnapshotToClipboard { get; set; } = false; /// /// the default UDP stream address /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static string RealtimeUDPStreamAddress { get; set; } = ""; /// /// whether to use UDP for realtime streaming /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool UseUDPStreaming { get; set; } = false; /// /// the number of realtime charts to show /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static int NumberOfRealtimeCharts { get; set; } = 6; /// /// realtime sample rate for SLICE6 /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double RealtimeSampleRateSLICE6 { get; set; } = 1000; /// /// realtime sample rate /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double RealtimeSampleRate { get; set; } = 1000; /// /// realtime sample rate for USB SLICE /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double RealtimeSampleRateUSBSLICE { get; set; } = 1000; public static double RealtimeSampleRateEthSLICE { get; set; } = 120; /// /// default realtime chart width in seconds /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static double ChartWidthInSeconds { get; set; } = 2; /// /// whether to enable dynamic realtime optimization /// This is just a property to hold the value during run test /// http://manuscript.dts.local/f/cases/33110/Eliminate-DB-communication-while-in-realtime /// public static bool EnableDynamicRealtimeOptimization { get; set; } = false; /// /// the number of ADC samples per data packet /// http://manuscript.dts.local/f/cases/31754/ /// public static int ADCSamplesPerPacket { get; set; } = 100; /// /// whether to remove leap seconds from streaming timestamps /// note that this property does not retrieve the setting from the database, and only holds the value /// between operations, it must be updated separately /// public static bool RemoveLeapSeconds { get; set; } = false; /// /// whether to output reports in XLSM format or XLSX /// 20152 DataPRO Test Summary Preview - .xlsm support /// note that Test Summary is the only one requested so far, so that's the only one we do /// public static bool OutputXLSMReports { get; set; } = false; /// /// controls whether to mask EU meta data when streaming /// 25597 Add option in System Settings to populate TMATs without offset values or scalefactors; "Stream without EU Metadata in TMATs" /// does not query setting, only holds the setting in memory for use /// across modules /// public static bool MaskEUMetaData { get; set; } = false; /// /// the protocol version S6 are assumed to be when running a test (protocol version not queried) /// public static byte AssumedProtocolVersionForSlice6InRunTest { get; set; } = 0; /// /// whether to query cal date when running a test /// public static bool QueryCalDateInRunTest { get; set; } = false; /// /// whether currently running a test or not /// public static bool InRunTest { get; set; } = false; /// /// whether to query connected devices when running a test or not /// public static bool QueryConnectedDevicesInRunTest { get; set; } = false; /// /// the minimum time between different ATDs when connecting /// public static int PerBucketOffsetMS { get; set; } = 2000; /// /// the maximum time variance within the bucket itself for an ATD (so 2000, 1000 means all units in ATD2 should have their chance to start between 2 and 3s) /// public static int BucketVariance { get; set; } = 1000; /// /// performance improvement possibility, skip QueryProtocolVersion in RunTest and just /// assume the protocol version of devices /// a value of -1 means the version will still be queried /// public static byte Assumed_S6DB_ProtocolVersion = 13; /// /// performance improvement, skip QueryBaseHardwareRevision and use this assumed value in RunTest /// a value of -1 means it will be queried anyhow /// public static int AssumedBaseHardwareRevisionSLICE6 = 0; /// /// performance improvement, skip QueryBaseType in RunTest for S6 and just use this value as the /// assumed base type, a value of -1 means it will be queried anyhow /// public static int AssumeBaseTypeSLICE6 = 6; /// /// performance improvement, skip QueryEventData in run test or not /// public static bool OptimizeQueryEventData = true; /// /// performance improvement, skip setting polarity in run test /// public static bool DontSetPolarityInRunTest = false; /// /// performance improvement, whether to cache voltage settings in runtest /// rather than always retrieving from db /// public static bool CacheVoltageSettingsInRunTest = true; /// /// performance improvment, skip getting TiltSensorScaleFactor from S6 /// as they aren't currently calibrated and use the same scalefactor /// public static float TiltSensorScaleFactor = 0.0009765625F; /// /// performance improvment, whether to check for autoarmed in runtest or not /// public static bool CheckForAutoArmedInRunTest = true; /// /// performance, whether to avoid executing PrepareDataCollection when arming /// [per LP since arming does same work] /// public static bool EliminatePrepareForDataCollection = true; /// /// performance improvement, whether to check hardware first use date in run test /// public static bool CheckHardwareFirstUseDateInRunTest = true; } }