C# Class HA4IoT.Telemetry.ComponentStateHistoryTracker

Mostra file Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
ComponentStateHistoryTracker ( IComponent component ) : System
Reset ( ) : void

Private Methods

Method Description
AppendDataPoint ( ComponentStateChangedEventArgs eventArgs ) : void
ConvertCsvLineToJsonObject ( string line ) : Newtonsoft.Json.Linq.JObject
CreateDataPointAsync ( object sender, ComponentStateChangedEventArgs e ) : void
HandleApiCommand ( IApiContext apiContext ) : void
HandleApiRequest ( IApiContext apiContext ) : void

Method Details

ComponentStateHistoryTracker() public method

public ComponentStateHistoryTracker ( IComponent component ) : System
component IComponent
return System

Reset() public method

public Reset ( ) : void
return void