init
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Windows.Data;
|
||||
//FB 44625 Converter used in Xamal to Dectect Yes/No/NotSet
|
||||
namespace DTS.Common.Converters
|
||||
{
|
||||
public class YesNoRadioButtonsConventer : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return parameter.ToString() == value.ToString();
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return (bool)value ? parameter : Binding.DoNothing;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 420 B |
@@ -0,0 +1,8 @@
|
||||
namespace DTS.Common.Enums
|
||||
{
|
||||
public enum GPSSentenceTypes
|
||||
{
|
||||
GPGGA,
|
||||
GPRMC
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user