Objects and properties

Each dimension in the measured data is defined using properties in one or several objects. A number of standard objects are defined and new objects can be built, by combining the standard objects using the ”point” as combination symbol.

 

Standard objects: Station, Parameter, Item(), Export, Import, Common, AsciiCode, TimeDefinition

 

The following properties are defined (the first property is the default property, assumed if no property is given):

 

Object

Property

Station

Name, X-co-ordinate, Y-co-ordinate, Z-co-ordinate:

Stations (objekt collection)

Count

Parameter:

CodeName, Value, Position, OffsetToSI, FactorToSI

Parameters: (object collection)

Count

Export:

File, Format, Name

Import:

File, Format, Name

Common:

Resolution, MissingValues, IntegrationPeriod, TimeDefinition, AsciiCode

AsciiCode:

Separator, Decimal

TimeDefinition:

Normal, Local, Summer, UTC

 

In addition, Item, Parameter, Export and Import are sub-objects to the object collection Stations.  A specific object in the object collection Stations is referred as: Stations.Item(1)  It’s property Name is set by:

Stations.Item(1).Name=Froson (we define the name of the first station)

Note that Item(1) can be simplified as (1) i.e.:

 

                   Stations(1).Name= Froson

 

Example: Define parameter number 1, measured at station Froson and inform where to find the parameter value in the data block as well as define the measuring unit:

Stations(1).Name=Froson
Stations(1).Parameters(1).CodeName=Temperatur        
Stations(1).Parameters(1).Position=1       
Stations(1).Parameters(1).OffsetToSI=-273.15
Stations(1).Parameters(1).FactorToSI=1  

Note that Position is referring to the position where to find the parameter value for each row in the data block.

The advantage using this object approach:

      Unique definition of all information and how to read and interpret the data

      Increasing the number of objects do not affect earlier definitions (backward compatibility)