init
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using DTS.Common.Converters;
|
||||
using DTS.Common.Interface.Sensors.AnalogDiagnostics;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.Interface.DASFactory.Diagnostics
|
||||
{
|
||||
public interface ITCDiagnosticResult
|
||||
{
|
||||
string ChannelName { get; set; }
|
||||
int ChannelIndex { get; set; }
|
||||
double? CurrentReading { get; set; }
|
||||
DiagnosticStatus Status { get; set; }
|
||||
ConnectionStatuses ConnectionStatus { get; set; }
|
||||
void Copy(ITCDiagnosticResult source);
|
||||
}
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum ConnectionStatuses
|
||||
{
|
||||
[Description("ConnectionStatus_NotTested")]
|
||||
NotTested,
|
||||
[Description("ConnectionStatus_SensorConnected")]
|
||||
Connected,
|
||||
[Description("ConnectionStatus_SensorNotConnected")]
|
||||
NotConnected,
|
||||
[Description("ConnectionStatus_ModuleNotConnected")]
|
||||
ModuleNotConnected
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user