init
This commit is contained in:
60
Common/DTS.Common/Interface/Channels/IChannelDbRecord.cs
Normal file
60
Common/DTS.Common/Interface/Channels/IChannelDbRecord.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.Channels
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface describing a Channel in the Db
|
||||
/// </summary>
|
||||
public interface IChannelDbRecord
|
||||
{
|
||||
[Key]
|
||||
[Column("Id")]
|
||||
/// <summary>
|
||||
/// The id/key of the Channel record in the db
|
||||
/// </summary>
|
||||
long Id { get; set; }
|
||||
|
||||
[Column("GroupId")]
|
||||
int GroupId { get; set; }
|
||||
|
||||
[Column("IsoCode")]
|
||||
string IsoCode { get; set; }
|
||||
|
||||
[Column("IsoChannelName")]
|
||||
string IsoChannelName { get; set; }
|
||||
|
||||
[Column("UserCode")]
|
||||
string UserCode { get; set; }
|
||||
|
||||
[Column("UserChannelName")]
|
||||
string UserChannelName { get; set; }
|
||||
|
||||
[Column("DASId")]
|
||||
int DASId { get; set; }
|
||||
|
||||
[Column("DASChannelIndex")]
|
||||
/// <summary>
|
||||
/// The physical channel index of the channel among channels on the DAS
|
||||
/// </summary>
|
||||
int DASChannelIndex { get; set; }
|
||||
|
||||
[Column("GroupChannelOrder")]
|
||||
int GroupChannelOrder { get; set; }
|
||||
|
||||
[Column("TestSetupOrder")]
|
||||
int TestSetupOrder { get; set; }
|
||||
|
||||
int SensorId { get; set; }
|
||||
|
||||
[Column("Disabled")]
|
||||
bool Disabled { get; set; }
|
||||
|
||||
[Column("LastModified")]
|
||||
DateTime LastModified { get; set; }
|
||||
|
||||
[Column("LastModifiedBy")]
|
||||
string LastModifiedBy { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user