The Monnit.Mine namespace contains classes designed to easily integrate Monnit wireless sensors and gateway into any project.

Classes

  Class Description
Public class 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.
Public class GatewayMessage
Class that contains the meta data about the message that a gateway sends to the server
Public class GatewayMessageEventArgs
Event data passed when gateway communicates
Public class HandleLogExceptionEventArgs
Event data passed when exception has occurred.
Public class HandlePersistGatewayEventArgs
Event data passed when fields have been updated on gateway.
Public class HandlePersistSensorEventArgs
Event data passed when fields have been updated on a sensor.
Public class MineServer
Class that manages communication with gateways and parses communications to and from sensors.
Public class 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.
Public class SensorMessage
Class containing data sent from sensor
Public class SensorMessagesEventArgs
Event data passed when sensor data messages are received.

Interfaces

  Interface Description
Public interface 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.
Public interface 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
Public enumeration 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.
Public enumeration eGatewayMessageType
Type of message the gateway sent. This determines how to interpret the data contained in the message
Public enumeration eGatewayType
Type of the gateway. Certain settings are interpreted differently for different types of gateways
Public enumeration eMineListenerProtocol
Protocol for Server to listen for when opening the socket(s)
Public enumeration eSensorApplication
Application type of sensor. Certain settings are interpreted differently for different types of sensors