init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using static DTS.Common.Enums.DASFactory.DFConstantsAndEnums;
|
||||
|
||||
namespace DTS.Common.Interface.TestSetups
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface describing records for test setup hardware
|
||||
/// </summary>
|
||||
public interface ITestSetupHardwareRecord
|
||||
{
|
||||
int DASId { get; set; }
|
||||
int TestSetupId { get; set; }
|
||||
bool AddDAS { get; set; }
|
||||
int SamplesPerSecond { get; set; }
|
||||
bool IsClockMaster { get; set; }
|
||||
int AntiAliasFilterRate { get; set; }
|
||||
byte PTPDomainId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace DTS.Common.Converters
|
||||
{
|
||||
public class BooleanToBorderBrushConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return value != null && (bool)value ? BrushesAndColors.Brush_Warning : Brushes.Transparent;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ICheckTriggerViewModel : IBaseViewModel { }
|
||||
}
|
||||
Reference in New Issue
Block a user