29 lines
963 B
Plaintext
29 lines
963 B
Plaintext
|
|
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
|
||
|
|
}
|
||
|
|
}
|