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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,13 @@
using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events.Groups.GroupList
{
/// <summary>
/// The GroupTemplateListGroupTemplateSelectedEvent event.
/// </summary>
///
/// <remarks>called when a template is selected.</remarks>
///
public class GroupListEditGroupEvent : CompositePresentationEvent<int> { }
}

View File

@@ -0,0 +1,49 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System;
namespace DTS.Common.Interface.TestMetaData
{
/// <summary>
/// Interface describing a record in the CustomerDetails table in the Db
/// </summary>
public interface ICustomerDetailsDbRecord
{
[Key]
[Column("CustomerId")]
/// <summary>
/// The id/key of the CustomerDetails record in the db
/// </summary>
int CustomerId { get; set; }
[Column("Name")]
string Name { get; set; }
[Column("CustomerName")]
string CustomerName { get; set; }
[Column("CustomerTestRefNumber")]
string CustomerTestRefNumber { get; set; }
[Column("ProjectRefNumber")]
string ProjectRefNumber { get; set; }
[Column("CustomerOrderNumber")]
string CustomerOrderNumber { get; set; }
[Column("CustomerCostUnit")]
string CustomerCostUnit { get; set; }
[Column("LocalOnly")]
bool LocalOnly { get; set; }
[Column("LastModified")]
DateTime LastModified { get; set; }
[Column("LastModifiedBy")]
string LastModifiedBy { get; set; }
[Column("Version")]
int Version { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using DTS.Common.Enums.Sensors;
// ReSharper disable CheckNamespace
namespace DTS.Common.Interface
{
public interface ITestSetupMetadata
{
string SetupName { get; set; }
DateTime TimeStamp { get; set; }
List<ITestGraphs> TestGraphs { get; set; }
CalibrationBehaviors CalibrationBehavior { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using DTS.Common.Events;
using Microsoft.Practices.ServiceLocation;
using Microsoft.Practices.Prism.Events;
namespace DTS.Common
{
public partial class CommonStyles
{
public void ToolTipEventHandler(object sender, System.Windows.Controls.ToolTipEventArgs e)
{
e.Handled = true;
var eventAggregator = ServiceLocator.Current.GetInstance<IEventAggregator>();
eventAggregator.GetEvent<HelpTextEvent>().Publish(new HelpTextEventArg()
{ Sender = sender, E = e });
}
}
}