Click or drag to resize

DfsStaticItemDecoratorBase Class

Class for decorating an IDfsStaticItem. If used as is, it returns exactly what the decorated StaticItem 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.

Inheritance Hierarchy
SystemObject
  DHI.Generic.MikeZero.DFSDfsItemDecoratorBase
    DHI.Generic.MikeZero.DFSDfsStaticItemDecoratorBase

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 class DfsStaticItemDecoratorBase : DfsItemDecoratorBase, 
	IDfsStaticItem, IDfsItemInfo, IDfsSimpleItemInfo

The DfsStaticItemDecoratorBase type exposes the following members.

Constructors
  NameDescription
Public methodDfsStaticItemDecoratorBase
Default constructor
Top
Properties
  NameDescription
Public propertyAxisConversionType
Type of conversion for the axis
(Inherited from DfsItemDecoratorBase.)
Public propertyAxisConversionUnit
Desired unit to convert axis to
(Inherited from DfsItemDecoratorBase.)
Public propertyConversionType
Type of conversion for the data values
(Inherited from DfsItemDecoratorBase.)
Public propertyConversionUnit
Desired unit to convert to
(Inherited from DfsItemDecoratorBase.)
Public propertyData
Data.

Can be cast to one of the basic array types, depending on DataType

Public propertyDataType
Type of data stored in item.
(Inherited from DfsItemDecoratorBase.)
Public propertyElementCount
Number of data elements in the axis.
(Inherited from DfsItemDecoratorBase.)
Public propertyItemNumber
Item number, in list of items. 1 based.
(Inherited from DfsItemDecoratorBase.)
Public propertyName
Name of item.
(Inherited from DfsItemDecoratorBase.)
Public propertyOrientationAlpha
Orientation alpha

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

(Inherited from DfsItemDecoratorBase.)
Public propertyOrientationPhi
Orientation Phi

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

(Inherited from DfsItemDecoratorBase.)
Public propertyOrientationTheta
Orientation Theta

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

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