C# Class Plugins.pH

pH input data using the pH kit from Atlast Scientific http://atlas-scientific.com/product_pages/kits/ph-kit.html The pH stamp provides simple UART based serial communication for data. It also provides temperature compensation, so the pH plugin has both an Input Callback and and Output Callback, to allow the temperature input plugin to update the pH plugin.
Inheritance: Controller.InputPlugin
Afficher le fichier Open project: h07r0d/Netduino-Aquarium-Controller

Méthodes publiques

Méthode Description
Dispose ( ) : void
EventHandler ( object _sender, IPluginData _data ) : void

Records the last temperature reading from the Temperature Plugin

TimerCallback ( object state ) : void
pH ( ) : System
pH ( object _config ) : System

Private Methods

Méthode Description
CalculatePH ( ) : float

Takes reading from Atlas Scientific pH Stamp

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EventHandler() public méthode

Records the last temperature reading from the Temperature Plugin
public EventHandler ( object _sender, IPluginData _data ) : void
_sender object Object that raised the callback
_data IPluginData Last reading
Résultat void

TimerCallback() public méthode

public TimerCallback ( object state ) : void
state object
Résultat void

pH() public méthode

public pH ( ) : System
Résultat System

pH() public méthode

public pH ( object _config ) : System
_config object
Résultat System