Class TableConversion
Describes the information about table conversion. The table conversion is generally one that cannot be represented as a formula using a rational conversion.
Inherited Members
Namespace: MAT.AtlasSessionApi
Assembly: MAT.AtlasSessionApi.dll
Syntax
public class TableConversion : Conversion
Constructors
TableConversion(String, String, String, Double[], Double[], Boolean)
Construct the table conversion object and validate inputs before constructing object. Throw an exception if input validity failed.
Declaration
public TableConversion(string identifier, string units, string format, double[] rawValues, double[] calibratedValues, bool interpolated)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter identifier. |
System.String | units | Unit of the parameter. |
System.String | format | Format to display the data. |
System.Double[] | rawValues | Raw values array. |
System.Double[] | calibratedValues | Calibrated values array. |
System.Boolean | interpolated | Flag for interpolation On/Off. |
Properties
CalibratedValues
Calibrated values of table conversion.
Declaration
public double[] CalibratedValues { get; }
Property Value
Type | Description |
---|---|
System.Double[] |
Interpolated
Flag for interpolated.
Declaration
public bool Interpolated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RawValues
Raw values of table conversion.
Declaration
public double[] RawValues { get; }
Property Value
Type | Description |
---|---|
System.Double[] |
Methods
Equals(Object)
Compare objects for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Dynamic object to check the object equality. |
Returns
Type | Description |
---|---|
System.Boolean | True if input object is same else false. |
Overrides
GetHashCode()
Get the hash code for algorithms that need quick checks of object equality.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code number. |
Overrides
ToString()
Convert table conversion object to it's equivalent string representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Details of the object. |
Overrides
Operators
Equality(TableConversion, TableConversion)
Are two conversions equal?
Declaration
public static bool operator ==(TableConversion left, TableConversion right)
Parameters
Type | Name | Description |
---|---|---|
TableConversion | left | Left table conversion object. |
TableConversion | right | Right table conversion object. |
Returns
Type | Description |
---|---|
System.Boolean | true in case both objects are same else false. |
Inequality(TableConversion, TableConversion)
Are two conversions unequal?
Declaration
public static bool operator !=(TableConversion left, TableConversion right)
Parameters
Type | Name | Description |
---|---|---|
TableConversion | left | Left table conversion object. |
TableConversion | right | Right table conversion object. |
Returns
Type | Description |
---|---|
System.Boolean | true in case both objects are not same else false. |