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

View File

@@ -0,0 +1,71 @@
using DTS.Common.Enums.Hardware;
using DTS.Common.Interface.DASFactory.Diagnostics;
using System.Collections.ObjectModel;
using System.Windows.Media;
namespace DTS.Common.Interface.Hardware.AddEditHardware
{
/// <summary>
/// describes interface used in AddEditHardware
/// </summary>
public interface IAddEditHardwareHardware
{
/// <summary>
/// the das type
/// </summary>
HardwareTypes HardwareType{ get; set; }
/// <summary>
/// the serial number for the das
/// </summary>
string SerialNumber { get; set; }
/// <summary>
/// the firmware version of the das
/// </summary>
string FirmwareVersion { get; set; }
/// <summary>
/// the ipaddress of the das (if supported)
/// </summary>
string IPAddress { get; set; }
/// <summary>
/// whether the das supports an ip address
/// </summary>
bool SupportsIPAddress { get; }
/// <summary>
/// whether the das supports rack sizes
/// </summary>
bool SupportsRackSize { get; }
/// <summary>
/// the configuration of the das (if supported)
/// </summary>
bool SupportsConfiguration { get; }
/// <summary>
/// the configuration of the das
/// </summary>
SLICEConfigurations SLICEConfiguration { get; set; }
/// <summary>
/// the size of the rack (if supported)
/// </summary>
RackSizes RackSize { get; set; }
/// <summary>
/// an image representing the das
/// </summary>
ImageSource DASImage { get; }
ObservableCollection<IAddEditHardwareDASModule> Modules { get; set; }
void RemoveModule(IAddEditHardwareDASModule module);
void AddModule();
/// <summary>
/// returns a new ISOHardware representation of the hardware
/// </summary>
IISOHardware ToISOHardware();
/// <summary>
/// whether this is actual physical hardware or just stand in hardware/not real hardware
/// </summary>
bool StandIn { get; set; }
bool IsModule { get; set; }
/// <summary>
/// indicates whether this record already exists in the database or is a new entry
/// </summary>
bool IsAdd { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface ISensorDatabaseViewModel:IBaseViewModel
{
}
}

View File

@@ -0,0 +1,61 @@
using System.ComponentModel;
using DTS.Common.Base.Classes;
using DTS.Common.Converters;
namespace DTS.Common.Enums
{
// Implement DSP IIR/FIR Profile API http://manuscript.dts.local/f/cases/17913/Implement-DSP-IIR-FIR-Profile-API
// Options for Digital Filters on S6A
//
// The API:
// System Attribute 168 uint32[6]. The first value is the DSP profile which follows the setting example in FWTU version 1.0850.xxx or later in realtime page.
// There are only 4 settings supported at this time.The enum is defined in FWTU as well.
// NO_DSP_DILTER = default option as currently is in older firmware.
// CH10_IIR_6TH_OPTION_80x = Selection for Boeing chapter10 and TmNS streaming.
// CH10_FIR_45T65T_OPTION_80x = Selection for Boeing rate/bandwidth but using FIR filter.Not IIR.This is for customer who is interested in linear Phase Response.
// ALL_RT_IIR_6TH_OPTION_80x = Selection for Boeing chapter10 and TmNS streaming including DTS realtime stream.
// ALL_RT_FIR_45T65T_OPTION_80x = Selection for Boeing rate/bandwidth but using FIR filter.Not IIR.This is for customer who is interested in linear Phase Response including DTS realtime stream.
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
public enum StreamDigitalFilterTypes
{
[DescriptionResource("StreamDigitalFilterTypes_NO_DSP_FILTER")]
NO_DSP_FILTER = 0, /*! 0 disable and run all realtime stream as legacy */
//[Description("Manual Mode IIR - File")]
//TESTMODE_CH10_IIR = 1, /*! 1 manual mode with IIR enable. Looks for parameters from file and filled other with defaults */
//[Description("Manual Mode FIR - File")]
//TESTMODE_CH10_FIR = 2, /*! 2 manual mode with FIR enable. Looks for parameters from file and filled other with defaults */
//[Description("Manual Mode IIR - All Streaming")]
//TESTMODE_ALL_RT_IIR = 3, /*! 3 manual mode with IIR for all stream including legacy RT */
//[Description("Manual Mode FIR - All Streaming")]
//TESTMODE_ALL_RT_FIR = 4, /*! 4 manual mode with FIR for all stream including legacy RT */
[DescriptionResource("StreamDigitalFilterTypes_CH10_IIR_6TH_OPTION_80X")]
CH10_IIR_6TH_OPTION_80X = 5, /*! 5 support BA rates with 6th IIR butterworth response */
[DescriptionResource("StreamDigitalFilterTypes_CH10_FIR_45T65T_OPTION_80X")]
CH10_FIR_45T65T_OPTION_80X = 6, /*! 6 support BA rates with dual-step 45T -> 65T FIR flat phase response */
//_TDB_CH10_FIR_85T_6X_SAMPLING = 7, /*! 7 FIR OPTION_1 FIR with automatic select sampling rate = 6x of realtime. Medium BPI */
//_TDB_CH10_FIR_105T_6X_SAMPLING = 8, /*! 8 FIR OPTION_2 FIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_CH10_FIR_125T_8X_SAMPLING = 9, /*! 9 FIR OPTION_3 FIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_DTS_IIR_OPTION_1 = 10, /*! 10 */
//_TDB_DTS_IIR_OPTION_2 = 11, /*! 11 */
//_TDB_DTS_IIR_OPTION_3 = 12, /*! 12 */
[DescriptionResource("StreamDigitalFilterTypes_ALL_RT_IIR_6TH_OPTION_80X")]
ALL_RT_IIR_6TH_OPTION_80X = 13, /*! 13 support BA rates with 6th IIR butterworth response */
[DescriptionResource("StreamDigitalFilterTypes_ALL_RT_FIR_45T65T_OPTION_80X")]
ALL_RT_FIR_45T65T_OPTION_80X = 14, /*! 14 support BA rates with dual-step 45T -> 65T FIR flat phase response */
//_TDB_ALL_RT_FIR_85T_6X_SAMPLING = 15, /*! 15 FIR OPTION_1 FIR with automatic select sampling rate = 6x of realtime. Medium BPI */
//_TDB_ALL_RT_FIR_105T_6X_SAMPLING = 16, /*! 16 FIR OPTION_2 FIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_ALL_RT_FIR_125T_8X_SAMPLING = 17, /*! 17 FIR OPTION_3 FIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_ALL_RT_DTS_IIR_OPTION_1 = 18, /*! 18 */
//_TDB_ALL_RT_DTS_IIR_OPTION_2 = 19, /*! 19 */
//_TDB_ALL_RT_DTS_IIR_OPTION_3 = 20, /*! 20 */
//_TDB_CH10_IIR_6TH_6X_SAMPLING = 21, /*! 21 IIR OPTION_1 DTS DBG IIR with automatic select sampling rate = 6x of realtime. Medium BPI */
//_TDB_CH10_IIR_6TH_8X_SAMPLING = 22, /*! 22 IIR OPTION_2 DTS DBG IIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_ALL_RT_IIR_6TH_6X_SAMPLING = 23, /*! 23 IIR OPTION_1 DTS DBG IIR with automatic select sampling rate = 6x of realtime. Medium BPI */
//_TDB_ALL_RT_IIR_6TH_8X_SAMPLING = 24, /*! 24 IIR OPTION_2 DTS DBG IIR with automatic select sampling rate = 8x of realtime. Narrow BPI */
//_TDB_DSP_FILTER_OPTION_MAX = 25
}
}

View File

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

View File

@@ -0,0 +1,19 @@
using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// Event to inform app that it should mark itself busy or available
/// </summary>
/// <remarks>
///
/// </remarks>
public class DBConnectionEvent : CompositePresentationEvent<DBConnectionArg> { }
public class DBConnectionArg
{
public bool Connected { get; set; }
public string DBName { get; set; }
public string Server { get; set; }
}
}

View File

@@ -0,0 +1,5 @@
// ReSharper disable CheckNamespace
namespace DTS.Common.Base
{
public interface IBaseClass : IBasePropertyChanged { }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB