Class Conversion
Describes a transformation from raw sensor data to engineering values (e.g. kph or degrees).
Inheritance
System.Object
Conversion
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MAT.AtlasSessionApi
Assembly: MAT.AtlasSessionApi.dll
Syntax
public class Conversion
Constructors
Conversion(String, String, String)
Initializes a new instance of the Conversion class.
Declaration
public Conversion(string identifier, string units, string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | The identifier; cannot be empty. |
System.String | units | The units. |
System.String | format | The format. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If any argument is null, or the identifier is empty. |
Fields
format
Declaration
protected readonly string format
Field Value
Type | Description |
---|---|
System.String |
identifier
Declaration
protected readonly string identifier
Field Value
Type | Description |
---|---|
System.String |
units
Declaration
protected readonly string units
Field Value
Type | Description |
---|---|
System.String |
Properties
Format
Gets the format.
Declaration
public string Format { get; }
Property Value
Type | Description |
---|---|
System.String | The format. |
Identifier
Gets the identifier.
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
Units
Gets the units.
Declaration
public string Units { get; }
Property Value
Type | Description |
---|---|
System.String | The units. |
Methods
Equals(Conversion)
Declaration
protected bool Equals(Conversion other)
Parameters
Type | Name | Description |
---|---|---|
Conversion | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()