com.alarexgroup.m2mplf.adapters.hw
Interface CriticalTemperatureAdapterListener

All Known Implementing Classes:
SerialDemo
public interface CriticalTemperatureAdapterListener

Listener for handling events from temperature monitoring of module.

Method Summary
 void onCriticalTemperatureEvent(int source, int code)
          Method is automatically called when the temperature parameters have changed
 

Method Detail

onCriticalTemperatureEvent

void onCriticalTemperatureEvent(int source,
                                int code)
Method is automatically called when the temperature parameters have changed

Parameters:
source - source of change
CriticalTemperatureAdapter.SOURCE_BATTERY,CriticalTemperatureAdapter.SOURCE_BOARD
code - type of change
CriticalTemperatureAdapter.BELLOW_LOWEST_LIMIT, CriticalTemperatureAdapter.BELLOW_LOW_ALERT_LIMIT CriticalTemperatureAdapter.NORMAL, CriticalTemperatureAdapter.ABOVE_UPPER_ALERT_LIMIT CriticalTemperatureAdapter.ABOVE_UPPERMOST_LIMIT