The Monnit.Mine namespace contains classes designed to easily integrate Monnit wireless sensors and gateway into any project.
Classes
Class | Description | |
---|---|---|
Gateway |
Base class required to pass data about the gateway and its settings between server and plug-in code. If overridden your object will be used and passed back to you upon completion of its use by the server.
|
|
GatewayMessage |
Class that contains the meta data about the message that a gateway sends to the server
|
|
GatewayMessageEventArgs |
Event data passed when gateway communicates
|
|
HandleLogExceptionEventArgs |
Event data passed when exception has occurred.
|
|
HandlePersistGatewayEventArgs |
Event data passed when fields have been updated on gateway.
|
|
HandlePersistSensorEventArgs |
Event data passed when fields have been updated on a sensor.
|
|
MineServer |
Class that manages communication with gateways and parses communications to and from sensors.
|
|
Sensor |
Base class required to pass data about the sensor and its settings between server and plug in code. If overridden your object will be used and passed back to you upon completion of its use by the server.
|
|
SensorMessage |
Class containing data sent from sensor
|
|
SensorMessagesEventArgs |
Event data passed when sensor data messages are received.
|
Interfaces
Interface | Description | |
---|---|---|
IMonnitMineServiceDataAccess |
Defines the required public methods of a class that can be used for data access by the server from the users chosen data store.
Only one data access class can be configured for the server.
|
|
IMonnitMineServiceDataProcessing |
Defines the required public methods of a class that can be used for data processing by the server from the users chosen data store.
Multiple data processing classes can be run by the server.
|
Enumerations
Enumeration | Description | |
---|---|---|
eConfigSection |
Configuration page of the sensor. All sensor types contain General Config 1, General Config 2, and Profile Config1. Certain profiles also have a second profile configuration page.
|
|
eGatewayBattery |
Pre-configured battery types. To assist in calculating battery life values for gateways
|
|
eGatewayMessageType |
Type of message the gateway sent. This determines how to interpret the data contained in the message
|
|
eGatewayType |
Type of the gateway. Certain settings are interpreted differently for different types of gateways
|
|
eMineListenerProtocol |
Protocol for Server to listen for when opening the socket(s)
|
|
eSensorApplication |
Application type of sensor. Certain settings are interpreted differently for different types of sensors
|
|
eSensorBattery |
Pre-configured battery types. To assist in calculating battery life values for sensors
|