Click or drag to resize

ModuleDriver Class

As NexpaqCore cannot contain code to work with any of thousands modules it uses Module Drivers that can be exported and imported as JSON
Inheritance Hierarchy
SystemObject
  NexpaqModuleDriver

Namespace:  Nexpaq
Assembly:  NexpaqCore (in NexpaqCore.dll) Version: 1.0.6767.24310
Syntax
C#
public class ModuleDriver

The ModuleDriver type exposes the following members.

Properties
  NameDescription
Public propertyCommands
Gets the commands module driver supports.
Public propertyDataItems
Gets all rules of the driver.
Top
Fields
  NameDescription
Public fieldCode exampleType
The type of module driver in reverse domain notaion.
Public fieldVersion
The version of module driver.
Top
Examples
Usage of ModuleDriver
{
    "type": "string type of your module", // example: moduware.module.led
    "version": "version of your module driver", // example: 1.1.1
    "commands": [ // Commands we can send to module, an object of ModuleDriverCommand
        ...,
        ...
        ],
    "data": [ // Data that comes from module, an object of ModuleDriverDataItem class
        ...,
        ...
        ]
}
See Also