Table of Contents

Class EmissionEnrollmentLoggingFrequencyType

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Enum for emission enrollment logging frequency types NOTE: When updating this enum, please DO NOT change the values of the existing enum members, as the values are stored in database.

public sealed class EmissionEnrollmentLoggingFrequencyType : IEquatable<EmissionEnrollmentLoggingFrequencyType>
Inheritance
EmissionEnrollmentLoggingFrequencyType
Implements
Inherited Members

Remarks

Initializes a new instance of the EmissionEnrollmentLoggingFrequencyType class.

Constructors

EmissionEnrollmentLoggingFrequencyType(byte)

Enum for emission enrollment logging frequency types NOTE: When updating this enum, please DO NOT change the values of the existing enum members, as the values are stored in database.

public EmissionEnrollmentLoggingFrequencyType(byte value)

Parameters

value byte

byte value representing a logging frequency type.

Remarks

Initializes a new instance of the EmissionEnrollmentLoggingFrequencyType class.

Fields

Default

Logging frequency configuration value for default (every 7 days).

public const byte Default = 0

Field Value

byte

Disabled

Logging frequency configuration value for disabling reporting.

public const byte Disabled = 252

Field Value

byte

EveryDay

Logging frequency configuration value for reporting every day. Values between 1 and 250 is for configuring reporting every day to every 250 days X = 1~250 -> every X day

public const byte EveryDay = 1

Field Value

byte

EveryIgnition

Logging frequency configuration value for reporting every ignition.

public const byte EveryIgnition = 251

Field Value

byte

Properties

Name

Gets the name for the EmissionEnrollmentLoggingFrequencyType.

public string Name { get; }

Property Value

string

Name

Value

Gets or sets the numeric value for the EmissionEnrollmentLoggingFrequencyType.

public byte Value { get; set; }

Property Value

byte

Value

Methods

Equals(EmissionEnrollmentLoggingFrequencyType?)

Equals methods

public bool Equals(EmissionEnrollmentLoggingFrequencyType? other)

Parameters

other EmissionEnrollmentLoggingFrequencyType

The other EmissionEnrollmentLoggingFrequencyType instance to compare against.

Returns

bool

Boolean

Equals(object?)

Override Equals method

public override bool Equals(object? obj)

Parameters

obj object

The other object to compare against.

Returns

bool

Boolean

GetHashCode()

Override GetHasCode method

public override int GetHashCode()

Returns

int

int value

IsValueValid()

Check if logging frequency value is valid.

public bool IsValueValid()

Returns

bool

bool