C# Class hobd.SensorTrack

Mostra file Open project: cail/hobd

Public Properties

Property Type Description
TrackAccum bool
TrackPassive bool

Protected Properties

Property Type Description
DataPath string
Registry SensorRegistry

Public Methods

Method Description
Attach ( SensorRegistry registry ) : void
Detach ( ) : void
FetchHistory ( Sensor sensor, long &timestamps, double &values ) : bool
LoadConfig ( string configPath ) : void
ParseTimeSpan ( string val ) : int
SensorTrack ( string dataPath ) : System
Store ( ) : void

Protected Methods

Method Description
SensorChanged ( Sensor sensor ) : void
StoreSensor ( Sensor sensor ) : void
StoreSensorData ( SensorTrackData set ) : void

Method Details

Attach() public method

public Attach ( SensorRegistry registry ) : void
registry SensorRegistry
return void

Detach() public method

public Detach ( ) : void
return void

FetchHistory() public method

public FetchHistory ( Sensor sensor, long &timestamps, double &values ) : bool
sensor Sensor
timestamps long
values double
return bool

LoadConfig() public method

public LoadConfig ( string configPath ) : void
configPath string
return void

ParseTimeSpan() public static method

public static ParseTimeSpan ( string val ) : int
val string
return int

SensorChanged() protected method

protected SensorChanged ( Sensor sensor ) : void
sensor Sensor
return void

SensorTrack() public method

public SensorTrack ( string dataPath ) : System
dataPath string
return System

Store() public method

public Store ( ) : void
return void

StoreSensor() protected method

protected StoreSensor ( Sensor sensor ) : void
sensor Sensor
return void

StoreSensorData() protected method

protected StoreSensorData ( SensorTrackData set ) : void
set SensorTrackData
return void

Property Details

DataPath protected_oe property

protected string DataPath
return string

Registry protected_oe property

protected SensorRegistry,hobd Registry
return SensorRegistry

TrackAccum public_oe property

public bool TrackAccum
return bool

TrackPassive public_oe property

public bool TrackPassive
return bool