Click or drag to resize

DfsItemDecoratorBase Class

Abstract class for decorating an IDfsItemInfo. If used as is, it returns exactly what the decorated ItemInfo does.

All methods are implemented virtual. Hence you can override just one method, if just that is to be changed, and the remainder will work as always.

Used by DfsDynamicItemDecoratorBase and Used by DfsStaticItemDecoratorBase and

Inheritance Hierarchy

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public abstract class DfsItemDecoratorBase : IDfsItemInfo, 
	IDfsSimpleItemInfo

The DfsItemDecoratorBase type exposes the following members.

Properties
  NameDescription
Public propertyAxisConversionType
Type of conversion for the axis
Public propertyAxisConversionUnit
Desired unit to convert axis to
Public propertyConversionType
Type of conversion for the data values
Public propertyConversionUnit
Desired unit to convert to
Public propertyDataType
Type of data stored in item.
Public propertyElementCount
Number of data elements in the axis.
Public propertyItemNumber
Item number, in list of items. 1 based.
Public propertyName
Name of item.
Public propertyOrientationAlpha
Orientation alpha

A rotation in the x-y plane, measured counter-clockwise.

Public propertyOrientationPhi
Orientation Phi

A rotation in the x-z plane, measured counter-clockwise.

Public propertyOrientationTheta
Orientation Theta

A rotation in the y-z plane, measured counter-clockwise.

Public propertyQuantity
EUM quantity of item
Public propertyReferenceCoordinateX
Reference coordinate X
Public propertyReferenceCoordinateY
Reference coordinate Y
Public propertyReferenceCoordinateZ
Reference coordinate Z
Public propertySpatialAxis
Spatial axis of item.
Public propertyUsedElementCount
Number of used data elements in the axis. For compressed files, this can differ from ElementCount
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodSetAxisUnitConversion
Sets the unit axis conversion for a specific item.
Public methodSetOrientation
Update the orientation of the spatial axis.
Public methodSetReferenceCoordinates
Update the reference coordinates of the spatial axis.
Public methodSetUnitConversion
Sets the unit conversion for a specific item.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also