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

View File

@@ -0,0 +1,39 @@
using DTS.Common.Enums.Sensors;
using System;
namespace DTS.Common.Interface.Sensors
{
/// <summary>
/// the essential part of any sensor chagne (who did it, when, which sensor)
/// </summary>
public interface ISensorChangeRecord
{
int RecordId { get; }
int SensorId { get; }
DateTime TimeStamp { get; }
string UserName { get; }
}
/// <summary>
/// what the actual change was (type of change, values)
/// there can be up to 4 values that change here for ease and to prevent the need for parsing
/// </summary>
public interface ISensorChange : ISensorChangeRecord
{
SensorChangeTypes ChangeType { get; }
string Value1 { get; }
string Value2 { get; }
string Value3 { get; }
string Value4 { get; }
}
/// <summary>
/// the only type of change we really have right now
/// </summary>
public interface IOffsetToleranceChange : ISensorChange
{
double LowMvValue { get; }
double HighMvValue { get; }
double LowEUValue { get; }
double HighEUValue { get; }
}
}