MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.db.temporal.RawValueData Class Reference

The RawValueData class contains a single raw value item. More...

Public Member Functions

 RawValueData (STREAM_CLASS_TYPE classType, STREAM_VALUE_TYPE valueType, DateTime? dt, float fVal, float? fValNorm=null)
 The constructor. More...
 
 RawValueData (STREAM_CLASS_TYPE classType, STREAM_VALUE_TYPE valueType, int nStrmId)
 The constructor. More...
 
void Save (BinaryWriter bw)
 Save the raw value item to a binary writer. More...
 

Static Public Member Functions

static RawValueData Load (DateTime? dt, BinaryReader br)
 Load a raw value item from a binary reader. More...
 

Properties

STREAM_CLASS_TYPE ClassType [get]
 Returns the raw value item class. More...
 
STREAM_VALUE_TYPE ValueType [get]
 Returns the raw value item value type. More...
 
int StreamID [get]
 Returns the stream ID. More...
 
DateTime? TimeStamp [get]
 Returns the time of the data point or null if static data. More...
 
float Value [getset]
 Returns the raw value item data. More...
 
float? ValueNormalized [getset]
 Returns the raw value item normalized data if it exists. More...
 

Detailed Description

The RawValueData class contains a single raw value item.

Definition at line 1027 of file DatabaseTemporal.cs.

Constructor & Destructor Documentation

◆ RawValueData() [1/2]

MyCaffe.db.temporal.RawValueData.RawValueData ( STREAM_CLASS_TYPE  classType,
STREAM_VALUE_TYPE  valueType,
DateTime?  dt,
float  fVal,
float?  fValNorm = null 
)

The constructor.

Parameters
classTypeSpecifies the raw value item class.
valueTypeSpecifies the raw value item value type.
dtSpecifies the time stamp of the data, or null if static.
fValSpecifies the raw value item data.
fValNormOptionally, specifies the raw value item normalized data.

Definition at line 1044 of file DatabaseTemporal.cs.

◆ RawValueData() [2/2]

MyCaffe.db.temporal.RawValueData.RawValueData ( STREAM_CLASS_TYPE  classType,
STREAM_VALUE_TYPE  valueType,
int  nStrmId 
)

The constructor.

Parameters
classTypeSpecifies the raw value item class.
valueTypeSpecifies the raw value item value type.
nStrmIdSpecifies the stream ID.

Definition at line 1059 of file DatabaseTemporal.cs.

Member Function Documentation

◆ Load()

static RawValueData MyCaffe.db.temporal.RawValueData.Load ( DateTime?  dt,
BinaryReader  br 
)
static

Load a raw value item from a binary reader.

Parameters
dtOptionally, specifies the time of the raw value data (or null when static).
brSpecifies the binary reader.
Returns
The new RawValueData is returned.

Definition at line 1088 of file DatabaseTemporal.cs.

◆ Save()

void MyCaffe.db.temporal.RawValueData.Save ( BinaryWriter  bw)

Save the raw value item to a binary writer.

Parameters
bwSpecifies the binary writer.

Definition at line 1071 of file DatabaseTemporal.cs.

Property Documentation

◆ ClassType

STREAM_CLASS_TYPE MyCaffe.db.temporal.RawValueData.ClassType
get

Returns the raw value item class.

Definition at line 1104 of file DatabaseTemporal.cs.

◆ StreamID

int MyCaffe.db.temporal.RawValueData.StreamID
get

Returns the stream ID.

Definition at line 1120 of file DatabaseTemporal.cs.

◆ TimeStamp

DateTime? MyCaffe.db.temporal.RawValueData.TimeStamp
get

Returns the time of the data point or null if static data.

Definition at line 1128 of file DatabaseTemporal.cs.

◆ Value

float MyCaffe.db.temporal.RawValueData.Value
getset

Returns the raw value item data.

Definition at line 1136 of file DatabaseTemporal.cs.

◆ ValueNormalized

float? MyCaffe.db.temporal.RawValueData.ValueNormalized
getset

Returns the raw value item normalized data if it exists.

Definition at line 1145 of file DatabaseTemporal.cs.

◆ ValueType

STREAM_VALUE_TYPE MyCaffe.db.temporal.RawValueData.ValueType
get

Returns the raw value item value type.

Definition at line 1112 of file DatabaseTemporal.cs.


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