mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-13 20:46:34 +00:00
Merge pull request #107 from PepperDash/feature/device-initialize-method
Add Device Initialize Method
This commit is contained in:
commit
a3da45c8b3
1 changed files with 8 additions and 1 deletions
|
|
@ -119,7 +119,14 @@ namespace PepperDash.Core
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public virtual bool Deactivate() { return true; }
|
public virtual bool Deactivate() { return true; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// Call this method to start communications with a device. Overriding classes do not need to call base.Initialize()
|
||||||
|
/// </summary>
|
||||||
|
public virtual void Initialize()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
/// Helper method to check object for bool value false and fire an Action method
|
/// Helper method to check object for bool value false and fire an Action method
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="o">Should be of type bool, others will be ignored</param>
|
/// <param name="o">Should be of type bool, others will be ignored</param>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue