DiagnosticsValue Class |
Namespace: DHI.Mike1D.Generic
public class DiagnosticsValue
The DiagnosticsValue type exposes the following members.
| Name | Description | |
|---|---|---|
| DiagnosticsValue(Double) |
Construct a value with the specified double as value
| |
| DiagnosticsValue(Int32) |
Construct a value with the specified integer as value
| |
| DiagnosticsValue(String) |
Construct a value with the specified string as value
| |
| DiagnosticsValue(Double, eumItem) |
Construct a value with the specified eum item type
|
| Name | Description | |
|---|---|---|
| AsString |
Return value as a string
| |
| AsStringWithUnit |
Return value as a with unit
| |
| Description |
Description of this value. Used as a headline for displaying values in a table
| |
| UserUnitAsString |
User unit as a string
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| _itemType |
Type of value attached to a diagnostic value. Mostly only relevant for double values.
| |
| _stringValue | String value attached to a diagnostic value. | |
| _value | Numerical value attached to a diagnostic value. | |
| _valueInt | Integer value attached to a diagnostic value. | |
| Token |
Token to substitute out of diagnostics string when inserting this value.
Default is {0}, {1} etc.
|