init
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using DTS.Common.Enums;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.IO.Ports;
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface ICANRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// the database id of the sensor
|
||||
/// </summary>
|
||||
[Key]
|
||||
int Id { get; set; }
|
||||
/// <summary>
|
||||
/// Serial number of sensor
|
||||
/// [required to be unique]
|
||||
/// </summary>
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string SerialNumber { get; set; }
|
||||
DateTime LastModified { get; set; }
|
||||
string LastUpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// bytes representing a delimited string of tag ids
|
||||
/// </summary>
|
||||
byte[] TagsBlobBytes { get; set; }
|
||||
bool DoNotUse { get; set; }
|
||||
bool Broken { get; set; }
|
||||
bool CanIsFD { get; set; }
|
||||
int CanArbBaseBitrate { get; set; }
|
||||
int CanArbBaseSJW { get; set; }
|
||||
int CanDataBitrate { get; set; }
|
||||
int CanDataSJW { get; set; }
|
||||
string CanFileType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interactivity
|
||||
{
|
||||
public interface IInteractionRequestAware
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="INotification"/> passed when the interaction request was raised.
|
||||
/// </summary>
|
||||
INotification Notification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An <see cref="Action"/> that can be invoked to finish the interaction.
|
||||
/// </summary>
|
||||
Action FinishInteraction { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModuleView : IBaseView { }
|
||||
}
|
||||
Reference in New Issue
Block a user