init
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -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> { }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user