init
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using DTS.Common.Enums.Sensors;
|
||||
using DTS.Common.Interface.Sensors;
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Events.Sensors
|
||||
{
|
||||
/// <summary>
|
||||
/// this event is used to notify that the sensor filter ( or the iso code filter field) has changed
|
||||
/// this is used to update the ISOCodes or filters
|
||||
/// </summary>
|
||||
public class SensorFilterTypeChangedEvent : CompositePresentationEvent<SensorFilterTypeChangedEventArgs> { }
|
||||
|
||||
public class SensorFilterTypeChangedEventArgs
|
||||
{
|
||||
public char ISOCodeChar { get; private set; }
|
||||
public enum EventTypes { ISOCodeChar, FilterClass };
|
||||
public EventTypes EventType { get; private set; }
|
||||
public FilterClassType FilterClass{ get; private set; }
|
||||
public ISensorCalibration Calibration { get; private set; }
|
||||
public ISensorData Sensor { get; private set; }
|
||||
public bool UseISOCodeFilterMapping{ get; private set; }
|
||||
public bool UseZeroForUnfiltered { get; private set; }
|
||||
public SensorFilterTypeChangedEventArgs(char code, ISensorData sensor, ISensorCalibration sensorCalibration, bool useISOCodeFilterMapping, bool bUseZeroForUnfiltered)
|
||||
{
|
||||
ISOCodeChar = code;
|
||||
EventType = EventTypes.ISOCodeChar;
|
||||
Sensor = sensor;
|
||||
Calibration = sensorCalibration;
|
||||
UseISOCodeFilterMapping = useISOCodeFilterMapping;
|
||||
UseZeroForUnfiltered = bUseZeroForUnfiltered;
|
||||
}
|
||||
public SensorFilterTypeChangedEventArgs( FilterClassType filterClassType, ISensorData sensor, ISensorCalibration sensorCalibration, bool useISOCodeFilterMapping, bool bUseZeroForUnfiltered)
|
||||
{
|
||||
FilterClass = filterClassType;
|
||||
Sensor = sensor;
|
||||
Calibration = sensorCalibration;
|
||||
EventType = EventTypes.FilterClass;
|
||||
UseISOCodeFilterMapping = useISOCodeFilterMapping;
|
||||
UseZeroForUnfiltered = bUseZeroForUnfiltered;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,17 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IISOSettingsData : IBaseClass
|
||||
{
|
||||
bool UniqueISOCodesRequired { get; set; }
|
||||
IsoViewMode ISOViewMode {get;set;}
|
||||
bool ShowISOStringBuilder { get; set; }
|
||||
bool ShowChannelCodeLookupHelper { get; set; }
|
||||
bool UseISOCodeFilterMapping { get; set; }
|
||||
bool ShowISOCodes { get; }
|
||||
bool ShowUserCodes { get; }
|
||||
bool ChannelNamesOnly { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface.Pagination;
|
||||
|
||||
namespace DTS.Common.Interface.TestSetups.TestSetupsList
|
||||
{
|
||||
public interface ITestSetupsListViewModel : IBaseViewModel, IFilterableListView
|
||||
{
|
||||
ITestSetupsListView View { get; set; }
|
||||
ITestSetup [] TestSetups { get; set; }
|
||||
void SetTestSetups(ITestSetup[] allTestSetups);
|
||||
void Sort(object sortBy, bool bColumnClick);
|
||||
void Unset();
|
||||
void Filter(string currentFilter);
|
||||
void MouseDoubleClick(int index);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user