using DTS.Common.Enums.Sensors; using System; namespace DTS.Common.Interface.Sensors { /// /// the essential part of any sensor chagne (who did it, when, which sensor) /// public interface ISensorChangeRecord { int RecordId { get; } int SensorId { get; } DateTime TimeStamp { get; } string UserName { get; } } /// /// 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 /// public interface ISensorChange : ISensorChangeRecord { SensorChangeTypes ChangeType { get; } string Value1 { get; } string Value2 { get; } string Value3 { get; } string Value4 { get; } } /// /// the only type of change we really have right now /// public interface IOffsetToleranceChange : ISensorChange { double LowMvValue { get; } double HighMvValue { get; } double LowEUValue { get; } double HighEUValue { get; } } }