Files
DP44/Common/DTS.Common.DataModel/DataModelSettings.cs
2026-04-17 14:55:32 -04:00

50 lines
3.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.DataModel
{
public static class DataModelSettings
{
public static bool UseISOCodeForDiadem200 { get; set; } = false;
public static byte SampleRateAAFilterRatio { get; set; } = 5;
public static string SupportedSquibFireModes { get; set; } = "CAP,CONSTANT";
public static bool ShowCompactHardware { get; set; } = true;
public static double AllowedVoltageInsertionErrorPercent { get; set; } = 1;
public static double AllowedExcitationErrorPercent { get; set; } = 2;
public static double AllowedShuntErrorPercent { get; set; } = 5;
public static double ShuntToleranceHighOhmPercent { get; set; } = 10;
public static double AllowedGainErrorPercent { get; set; } = 2;
public static double AllowedGainErrorPercent_SLICE6andSLICE6A { get; set; } = 5;
public static double AutoZeroPercentDeviationAllowed { get; set; } = 5;
public static double ShuntToleranceHighOhmResistance { get; set; } = 4000;
public static string DownloadFolder { get; set; } = "..\\..\\Data";
public static bool RequireXCrashCompatibilityForISOExports { get; set; } = true;
public static bool DisplayDuplicateUDPStreamOutWarning { get; set; } = true;
public static bool SLICETurnOffAAFRealtime { get; set; } = true;
public static bool UseTestChannelOrder { get; set; } = false;
public static byte RealtimeSampleRateAAFilterRatio { get; set; } = 1;
public static bool ArmChecklistRequiredIfTOM { get; set; } = true;
public static bool TestsRequireLevelTriggers { get; set; } = false;
public static int CheckUnitsIntervalMillisecond { get; set; } = 50;
public static double SemaphoreDelay { get; set; } = 10;
public static int SemaphoreSpots { get; set; } = 3;
public static int SLICEConcurrentSpots { get; set; } = 999;
public static int SLICEConcurrentDelayMs { get; set; } = 0;
public static int MulticastAutoDiscoveryReceiveTimeoutMS { get; set; } = 1500;
public static uint LocalKeepAliveRetryIntervalMS { get; set; } = 1000;
public static uint LocalKeepAliveTimeOutMS { get; set; } = 5000;
public static uint RemoteKeepAliveRetryIntervalSeconds { get; set; } = 5;
public static uint RemoteKeepAliveSeconds { get; set; } = 60;
public static int ReceiveBufferSizeBytes { get; set; } = 65536;
public static int SendBufferSizeBytes { get; set; } = 65536;
public static int HeartbeatAsyncConnectTimeoutMS { get; set; } = 10000;
public static string DefaultTDCSensorDatabaseFolder { get; set; } = "..\\SensorDatabase";
public static string DefaultTDCSensorDatabaseFile { get; set; } = "SensorDatabase.CSV";
public static bool TDCSensorDatabaseExportUseCurrentLocale { get; set; } = false;
public static string TDCSensorDatabaseImportEncoding { get; set; } = "Shift-JIS";
}
}