init
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 851 B |
Binary file not shown.
|
After Width: | Height: | Size: 376 B |
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.RibbonControl
|
||||
{
|
||||
public class RadioButtonData : ControlData
|
||||
{
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
|
||||
set
|
||||
{
|
||||
if (_isChecked == value) return;
|
||||
_isChecked = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs("IsChecked"));
|
||||
}
|
||||
}
|
||||
private bool _isChecked;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface ISensorDbRecord
|
||||
{
|
||||
[Key]
|
||||
int id { get; set; }
|
||||
|
||||
short SensorType { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string SerialNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -0,0 +1,55 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.TestMetaData
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface describing a record in the LabratoryDetails table in the Db
|
||||
/// </summary>
|
||||
public interface ILabratoryDetailsDbRecord
|
||||
{
|
||||
[Key]
|
||||
[Column("LabratoryId")]
|
||||
/// <summary>
|
||||
/// The id/key of the LabratoryDetails record in the db
|
||||
/// </summary>
|
||||
int LabratoryId { get; set; }
|
||||
|
||||
[Column("Name")]
|
||||
string Name { get; set; }
|
||||
|
||||
[Column("LabratoryName")]
|
||||
string LabratoryName { get; set; }
|
||||
|
||||
[Column("LabratoryContactName")]
|
||||
string LabratoryContactName { get; set; }
|
||||
|
||||
[Column("LabratoryContactPhone")]
|
||||
string LabratoryContactPhone { get; set; }
|
||||
|
||||
[Column("LabratoryContactFax")]
|
||||
string LabratoryContactFax { get; set; }
|
||||
|
||||
[Column("LabratoryContactEmail")]
|
||||
string LabratoryContactEmail { get; set; }
|
||||
|
||||
[Column("LabratoryTestRefNumber")]
|
||||
string LabratoryTestRefNumber { get; set; }
|
||||
|
||||
[Column("LabratoryProjectRefNumber")]
|
||||
string LabratoryProjectRefNumber { get; set; }
|
||||
|
||||
[Column("LastModified")]
|
||||
DateTime LastModified { get; set; }
|
||||
|
||||
[Column("LastModifiedBy")]
|
||||
string LastModifiedBy { get; set; }
|
||||
|
||||
[Column("LocalOnly")]
|
||||
bool LocalOnly { get; set; }
|
||||
|
||||
[Column("Version")]
|
||||
int Version { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user