Describes the units of a report value.
Namespace: HidSharp.Reports.Units
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax
The Unit type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Unit |
Initializes a new instance of the Unit class.
|
Methods
Name | Description | |
---|---|---|
DecodeExponent |
Decodes an encoded HID unit exponent.
| |
EncodeExponent |
Encodes an exponent in HID unit form.
| |
Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
Equals(Unit) | ||
GetExponent | ||
GetHashCode | (Overrides ValueTypeGetHashCode.) | |
SetExponent |
Operators
Name | Description | |
---|---|---|
Equality | ||
Inequality |
Properties
Name | Description | |
---|---|---|
CurrentExponent |
Gets or sets the exponent of the report value's units of current.
| |
CurrentUnit |
Gets the units of current corresponding to System.
| |
LengthExponent |
Gets or sets the exponent of the report value's units of length.
| |
LengthUnit |
Gets the units of length corresponding to System.
| |
LuminousIntensityExponent |
Gets or sets the exponent of the report value's units of luminous intensity.
| |
LuminousIntensityUnit |
Gets the units of luminous intensity corresponding to System.
| |
MassExponent |
Gets or sets the exponent of the report value's units of mass.
| |
MassUnit |
Gets the units of mass corresponding to System.
| |
RawValue |
Gets or sets the raw HID value describing the units.
| |
System |
Gets or sets the unit system.
| |
TemperatureExponent |
Gets or sets the exponent of the report value's units of temperature.
| |
TemperatureUnit |
Gets the units of temperature corresponding to System.
| |
TimeExponent |
Gets or sets the exponent of the report value's units of time.
| |
TimeUnit |
Gets the units of time corresponding to System.
|
See Also