58 lines
2.7 KiB
C#
58 lines
2.7 KiB
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
using DTS.Common.Interface;
|
|||
|
|
// ReSharper disable CheckNamespace
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Classes.Viewer.TestMetadata
|
|||
|
|
{
|
|||
|
|
public class TestModule : ITestModule
|
|||
|
|
{
|
|||
|
|
public string SerialNumber { get; set; }
|
|||
|
|
public string BaseSerialNumber { get; set; }
|
|||
|
|
public int AaFilterRateHz { get; set; }
|
|||
|
|
public int Number { get; set; }
|
|||
|
|
public int NumberOfSamples { get; set; }
|
|||
|
|
public int UnsubsampledNumberOfSamples { get; set; }
|
|||
|
|
public double RequestedPostTriggerSeconds { get; set; }
|
|||
|
|
public double RequestedPreTriggerSeconds { get; set; }
|
|||
|
|
public double PostTriggerSeconds { get; set; }
|
|||
|
|
public double PreTriggerSeconds { get; set; }
|
|||
|
|
public string RecordingMode { get; set; }
|
|||
|
|
public int SampleRateHz { get; set; }
|
|||
|
|
public int StartRecordSampleNumber { get; set; }
|
|||
|
|
public int NumberOfChannels { get; set; }
|
|||
|
|
public bool InlineSerializedData { get; set; }
|
|||
|
|
public int StartRecordTimestampSec { get; set; }
|
|||
|
|
public int StartRecordTimestampNanoSec { get; set; }
|
|||
|
|
public int TriggerTimestampSec { get; set; }
|
|||
|
|
public int TriggerTimestampNanoSec { get; set; }
|
|||
|
|
public List<ulong> TriggerSampleNumbers { get; set; }
|
|||
|
|
public bool PTPMasterSync { get; set; }
|
|||
|
|
public int TiltSensorAxisXDegreesPre { get; set; }
|
|||
|
|
public int TiltSensorAxisYDegreesPre { get; set; }
|
|||
|
|
public int TiltSensorAxisZDegreesPre { get; set; }
|
|||
|
|
public int TiltSensorAxisXDegreesPost { get; set; }
|
|||
|
|
public int TiltSensorAxisYDegreesPost { get; set; }
|
|||
|
|
public int TiltSensorAxisZDegreesPost { get; set; }
|
|||
|
|
public int TemperatureLocation1Pre { get; set; }
|
|||
|
|
public int TemperatureLocation2Pre { get; set; }
|
|||
|
|
public int TemperatureLocation3Pre { get; set; }
|
|||
|
|
public int TemperatureLocation4Pre { get; set; }
|
|||
|
|
public int TemperatureLocation1Post { get; set; }
|
|||
|
|
public int TemperatureLocation2Post { get; set; }
|
|||
|
|
public int TemperatureLocation3Post { get; set; }
|
|||
|
|
public int TemperatureLocation4Post { get; set; }
|
|||
|
|
public List<ITestChannel> Channels { get; set; }
|
|||
|
|
public List<ITestChannel> CalculatedChannels { get; set; }
|
|||
|
|
public bool IsSelected { get; set; }
|
|||
|
|
|
|||
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|||
|
|
|
|||
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
|||
|
|
{
|
|||
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|