init
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using System.ComponentModel;
|
||||
using DTS.Common.Converters;
|
||||
|
||||
namespace DTS.Common.Enums.Sensors
|
||||
{
|
||||
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum ZeroMethodType
|
||||
{
|
||||
// Lots of legacy compatibility (e.g. importing GM ISF) depends on the order/value of this enum.
|
||||
// also 14906 Can the parameter names in the test match the sensors tile names?
|
||||
/// <summary>
|
||||
/// calculate electrical zero using an average over time
|
||||
/// </summary>
|
||||
[Description("ZeroMethod_AverageOverTime")]
|
||||
AverageOverTime = 0,
|
||||
/// <summary>
|
||||
/// calculate zero using time in pre-event
|
||||
/// </summary>
|
||||
//[Description("Use Diagnostics Zero")]
|
||||
[Description("ZeroMethod_DiagnosticLevel")]
|
||||
UsePreEventDiagnosticsZero = 1,
|
||||
/// <summary>
|
||||
/// calculate zero using injected value
|
||||
/// </summary>
|
||||
//[Description("Absolute Zero")]
|
||||
[Description("ZeroMethod_None")]
|
||||
None = 2
|
||||
}
|
||||
/// <summary>
|
||||
/// Original version of all available zero method types.
|
||||
/// </summary>
|
||||
public enum OriginalZeroMethodType
|
||||
{
|
||||
/// <summary>
|
||||
/// calculate electrical zero using an average over time
|
||||
/// </summary>
|
||||
//[Description("Average Over Time")]
|
||||
AverageOverTime,
|
||||
/// <summary>
|
||||
/// calculate zero using time in pre-event
|
||||
/// </summary>
|
||||
//[Description("Use Diagnostics Zero")]
|
||||
UsePreCalZero,
|
||||
/// <summary>
|
||||
/// calculate zero using injected value
|
||||
/// </summary>
|
||||
//[Description("Absolute Zero")]
|
||||
None
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user