AP&C API Reference
Protected Member Functions | List of all members
Apac.Dallas.OneWire.OneWireDevice10.TempCalculatorF Class Reference
Inheritance diagram for Apac.Dallas.OneWire.OneWireDevice10.TempCalculatorF:
Apac.Data.MeasurementFormula Apac.Configuration.Plugin< MeasurementFormulaAttribute, FormulaDescriptor > Apac.Data.IMeasurementFormula

Protected Member Functions

 TempCalculatorF (SerializationInfo info, StreamingContext context)
 
override decimal OnProcessMeasurement (Apac.Monitoring.Measurement measurement, decimal resolution, Apac.Settings.Configuration config)
 Called when the formula should process the incoming measurement (readings). More...
 
- Protected Member Functions inherited from Apac.Data.MeasurementFormula
 MeasurementFormula (Monitoring.MeasurementUnit units)
 Initializes a new instance of the MeasurementFormula<T> class. More...
 
 MeasurementFormula (SerializationInfo info, StreamingContext context)
 Initializes a new instance of the MeasurementFormula<T> class. More...
 

Additional Inherited Members

- Public Member Functions inherited from Apac.Data.MeasurementFormula
decimal ProcessMeasurement (Apac.Monitoring.Measurement measurement, decimal resolution, Apac.Settings.Configuration config)
 Processes the measurement. More...
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 
- Public Member Functions inherited from Apac.Data.IMeasurementFormula
decimal ProcessMeasurement (Monitoring.Measurement measurement, decimal resolution, Apac.Settings.Configuration config)
 Should process the measurement at the given resolution and return a value according to the encoded formula. More...
 
- Properties inherited from Apac.Data.MeasurementFormula
Apac.Monitoring.MeasurementUnit Units [get]
 Gets the units. More...
 
- Properties inherited from Apac.Configuration.Plugin< MeasurementFormulaAttribute, FormulaDescriptor >
virtual log4net.ILog Log [get]
 Gets the log. It lazy loads as necessary. More...
 
Guid Id [get]
 Gets the id of the formula from the subclass's PluginAttribute. More...
 
string Name [get]
 Gets the name of the formula from the subclass's PluginAttribute. More...
 
string Description [get]
 Gets the description from the subclass's PluginAttribute. More...
 
string Instructions [get]
 Gets the instructions from the subclass's PluginAttribute. More...
 
Descriptor [get]
 Gets the descriptor so it can be serialized to remote clients.. More...
 
Attribute [get]
 Gets the attribute, lazy loads it as necessary. More...
 
- Properties inherited from Apac.Data.IMeasurementFormula
Apac.Monitoring.MeasurementUnit Units [get]
 Indicates the units to be applied to the result of ProcessMeasurement. More...
 
Configuration.FormulaDescriptor Descriptor [get]
 Presents the metadata about this formula for use during configuration and troubleshooting scenarios. More...
 

Member Function Documentation

◆ OnProcessMeasurement()

override decimal Apac.Dallas.OneWire.OneWireDevice10.TempCalculatorF.OnProcessMeasurement ( Apac.Monitoring.Measurement  measurement,
decimal  resolution,
Apac.Settings.Configuration  config 
)
inlineprotectedvirtual

Called when the formula should process the incoming measurement (readings).

Parameters
measurementThe measurement.
resolutionThe resolution.
configThe config.
Returns
Returns the result of the formula.

Implements Apac.Data.MeasurementFormula.


The documentation for this class was generated from the following file: