C# Class OSAE.Nest.Nest

Inheritance: OSAEPluginBase
Show file Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
ProcessCommand ( OSAEMethod method ) : void

OSA Plugin Interface - Commands the be processed by the plugin

RunInterface ( string pluginName ) : void

OSA Plugin Interface - called on start up to allow plugin to do any tasks it needs

Shutdown ( ) : void

OSA Plugin Interface - The plugin has been asked to shut down

Timer_Tick ( object sender, EventArgs eArgs ) : void
convertDate ( string last_connection ) : string
update ( ) : void

Private Methods

Method Description
GetAccessToken ( string authorizationCode ) : string
GetNestData ( string accessToken ) : System.Boolean
IsMyStructureHome ( OSAEObject myobject ) : bool
IsTempOK ( string temptype, string temp, OSAEObject myobject ) : bool
Ititialize ( string calledfrom ) : void
SubscribeToNestDataUpdates ( string accessToken ) : void
UpdateNestData ( string type, string id, string data, string accessToken ) : string

Method Details

ProcessCommand() public method

OSA Plugin Interface - Commands the be processed by the plugin
public ProcessCommand ( OSAEMethod method ) : void
method OSAEMethod Method containging the command to run
return void

RunInterface() public method

OSA Plugin Interface - called on start up to allow plugin to do any tasks it needs
public RunInterface ( string pluginName ) : void
pluginName string The name of the plugin from the system
return void

Shutdown() public method

OSA Plugin Interface - The plugin has been asked to shut down
public Shutdown ( ) : void
return void

Timer_Tick() public method

public Timer_Tick ( object sender, EventArgs eArgs ) : void
sender object
eArgs System.EventArgs
return void

convertDate() public method

public convertDate ( string last_connection ) : string
last_connection string
return string

update() public method

public update ( ) : void
return void