Click or drag to resize

DiagnosticsValue Class

A diagnostics value class. A diagnostics value contains a value and a type
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericDiagnosticsValue

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class DiagnosticsValue

The DiagnosticsValue type exposes the following members.

Constructors
  NameDescription
Public methodDiagnosticsValue(Double)
Construct a value with the specified double as value
Public methodDiagnosticsValue(Int32)
Construct a value with the specified integer as value
Public methodDiagnosticsValue(String)
Construct a value with the specified string as value
Public methodDiagnosticsValue(Double, eumItem)
Construct a value with the specified eum item type
Top
Properties
  NameDescription
Public propertyAsString
Return value as a string
Public propertyAsStringWithUnit
Return value as a with unit
Public propertyDescription
Description of this value. Used as a headline for displaying values in a table
Public propertyUserUnitAsString
User unit as a string
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected field_itemType
Type of value attached to a diagnostic value. Mostly only relevant for double values.
Protected field_stringValue
String value attached to a diagnostic value.
Protected field_value
Numerical value attached to a diagnostic value.
Protected field_valueInt
Integer value attached to a diagnostic value.
Public fieldToken
Token to substitute out of diagnostics string when inserting this value. Default is {0}, {1} etc.
Top
See Also