Table of Contents

Class UnitOfMeasureSystem

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

Represents a system supported unit of measure which cannot be changed.

public abstract class UnitOfMeasureSystem : UnitOfMeasure, IEntity, IComparable, IIdentifiable
Inheritance
UnitOfMeasureSystem
Implements
Derived
Inherited Members

Constructors

UnitOfMeasureSystem(Id, string)

Initializes a new instance of the UnitOfMeasureSystem class. Initializes a new instance of the UnitOfMeasure class.

protected UnitOfMeasureSystem(Id id, string name)

Parameters

id Id

The. Id

name string

The description of the UOM.

Properties

Id

Gets or sets the entity identifier.

public override Id? Id { get; set; }

Property Value

Id

The Id .

Name

Gets or sets the entity name.

public override string? Name { get; set; }

Property Value

string

The string The name.

Methods

Equals(object?)

Determines whether the specified object is equal to the current object .

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object .

Returns

bool

true if the specified object is equal to the current object ; otherwise, false.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsSystemEntity()

Denotes whether an instance is user created or system supported.

public override bool IsSystemEntity()

Returns

bool

true for all system units of measurement.