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
ファイルを表示 Open project: h07r0d/Netduino-Aquarium-Controller

Public Methods

Method 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

Method Description
CalculatePH ( ) : float

Takes reading from Atlas Scientific pH Stamp

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EventHandler() public method

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
return void

TimerCallback() public method

public TimerCallback ( object state ) : void
state object
return void

pH() public method

public pH ( ) : System
return System

pH() public method

public pH ( object _config ) : System
_config object
return System