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? /// /// calculate electrical zero using an average over time /// [Description("ZeroMethod_AverageOverTime")] AverageOverTime = 0, /// /// calculate zero using time in pre-event /// //[Description("Use Diagnostics Zero")] [Description("ZeroMethod_DiagnosticLevel")] UsePreEventDiagnosticsZero = 1, /// /// calculate zero using injected value /// //[Description("Absolute Zero")] [Description("ZeroMethod_None")] None = 2 } /// /// Original version of all available zero method types. /// public enum OriginalZeroMethodType { /// /// calculate electrical zero using an average over time /// //[Description("Average Over Time")] AverageOverTime, /// /// calculate zero using time in pre-event /// //[Description("Use Diagnostics Zero")] UsePreCalZero, /// /// calculate zero using injected value /// //[Description("Absolute Zero")] None } }