Cocop.MessageSerialiser.Meas (C#)  2.0.0
API to encode industrial data as standard-based messages
Public Member Functions | Properties | List of all members
Cocop.MessageSerialiser.Meas.Observation Class Reference

Observation class to associate metadata to actual measurement objects. More...

Public Member Functions

 Observation (Item r)
 Constructor. Use this populate the observation manually. More...
 
 Observation (byte[] xmlBytes)
 Constructor to populate the information from XML. More...
 
byte [] ToXmlBytes ()
 Serialises the object to XML. More...
 

Properties

string Name [get, set]
 Gets observation name. More...
 
string Description [get, set]
 Description. More...
 
DateTime PhenomenonTime [get, set]
 Phenomenon time. More...
 
DateTime ResultTime [get, set]
 Result time. More...
 
string Procedure [get, set]
 Procedure. More...
 
string ObservedProperty [get, set]
 Observed property. More...
 
string FeatureOfInterest [get, set]
 Feature of interest. More...
 
Item_DataRecord FeatureOfInterestDetails [get, set]
 The details of the feature of interest. More...
 
DataQuality ResultQuality [get, set]
 Result quality. More...
 
Item Result [get]
 Result. More...
 

Detailed Description

Observation class to associate metadata to actual measurement objects.

In this module, the code has been derived from Observations and Measurements - XML Implementation (OGC 10-025r1; please see the file "ref_and_license_ogc_om.txt").

Constructor & Destructor Documentation

◆ Observation() [1/2]

Cocop.MessageSerialiser.Meas.Observation.Observation ( Item  r)

Constructor. Use this populate the observation manually.

Parameters
rResult object.
Exceptions
XNeut.InvalidMessageExceptionThrown if an error is encountered.

◆ Observation() [2/2]

Cocop.MessageSerialiser.Meas.Observation.Observation ( byte []  xmlBytes)

Constructor to populate the information from XML.

Parameters
xmlBytesSerialised XML document.
Exceptions
XNeut.InvalidMessageExceptionThrown if an error is encountered.

Member Function Documentation

◆ ToXmlBytes()

byte [] Cocop.MessageSerialiser.Meas.Observation.ToXmlBytes ( )

Serialises the object to XML.

Returns
Object as XML.

Property Documentation

◆ Description

string Cocop.MessageSerialiser.Meas.Observation.Description
getset

Description.

◆ FeatureOfInterest

string Cocop.MessageSerialiser.Meas.Observation.FeatureOfInterest
getset

Feature of interest.

◆ FeatureOfInterestDetails

Item_DataRecord Cocop.MessageSerialiser.Meas.Observation.FeatureOfInterestDetails
getset

The details of the feature of interest.

◆ Name

string Cocop.MessageSerialiser.Meas.Observation.Name
getset

Gets observation name.

◆ ObservedProperty

string Cocop.MessageSerialiser.Meas.Observation.ObservedProperty
getset

Observed property.

◆ PhenomenonTime

DateTime Cocop.MessageSerialiser.Meas.Observation.PhenomenonTime
getset

Phenomenon time.

Exceptions
XNeut.DateTimeExceptionThrown if there is an attempt to set a non-UTC value.

◆ Procedure

string Cocop.MessageSerialiser.Meas.Observation.Procedure
getset

Procedure.

◆ Result

Item Cocop.MessageSerialiser.Meas.Observation.Result
get

Result.

◆ ResultQuality

DataQuality Cocop.MessageSerialiser.Meas.Observation.ResultQuality
getset

Result quality.

◆ ResultTime

DateTime Cocop.MessageSerialiser.Meas.Observation.ResultTime
getset

Result time.

Exceptions
XNeut.DateTimeExceptionThrown if there is an attempt to set a non-UTC value.

The documentation for this class was generated from the following file: