This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,11 @@
using Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// Show/Hide T0 Cursor
/// </summary>
public class ShowT0CursorEvent : PubSubEvent<bool> { }
}

View File

@@ -0,0 +1,16 @@
using Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// The SetSaveButton event
/// </summary>
public class SetSaveButton : PubSubEvent<SaveButtonUsability> { }
/// <summary>
/// The SaveButtonUsability is used by <see cref="ShowStatus">SetSaveButton</see> event to enable/disable the Save button.
/// </summary>
public class SaveButtonUsability
{
public bool IsUsable { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
namespace DTS.Common.Enums.SliceSimpleArm
{
public enum SSACommand
{
ConfigureDevice,
Diagnostics,
Arm,
StartRecord,
CheckForArmed,
Disarm,
Download,
SetLowPowerMode,
Trigger,
}
public enum SSAResponse
{
Unknown,
Status,
Pass,
Fail,
SystemNotArmed,
NoSensorsFound,
NoEIDsFound,
UnknownEIDFound,
NoDASConnected,
ExceptionThrown,
DiagnosticsFailedOffsetTolerance,
DiagnosticsFailedShuntCheck,
}
}

View File

@@ -0,0 +1,48 @@
using System;
using System.Globalization;
using System.IO;
using System.Windows.Data;
using DTS.Common.Classes.Groups;
namespace DTS.Common.Converters
{
/// <summary>
/// Converter which converts percentage to String.
/// </summary>
public class GroupImportErrorToStringConverter : IValueConverter
{
/// <summary>
///
/// </summary>
/// <param name="value">The decimal value to convert. This value can be a standard decimal value or a nullable decimal value.</param>
/// <param name="targetType">This parameter is not used.</param>
/// <param name="parameter">This parameter is not used.</param>
/// <param name="culture">The culture to use in the format operation.</param>
/// <returns>The value to be passed to the target dependency property.</returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var error = value as GroupImportError;
if (null == error)
{
return string.Empty;
}
return error.ExtraInfo;
}
/// <summary>
/// Conversion back is not supported.
/// </summary>
/// <param name="value">A currency value.</param>
/// <param name="targetType">This parameter is not used.</param>
/// <param name="parameter">This parameter is not used.</param>
/// <param name="culture">This parameter is not used.</param>
/// <returns>The value to be passed to the source object.</returns>
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,6 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface ILabDetailsView : IBaseView { }
}