This commit is contained in:
Stephen 2017-02-22 14:15:34 +08:00
Родитель 0370e7a8f0
Коммит 7daeca02df
4 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -116,6 +116,7 @@ of this sample.
"interval": "2000",
"macAddress": "01:01:01:01:01:01",
"deviceType": "powerMeter",
"sqliteEnabled": "0",
"operations": [
{
"unitId": "1",
@ -205,6 +206,7 @@ of this sample.
"interval": "2000",
"macAddress": "01:01:01:01:01:01",
"deviceType": "powerMeter",
"sqliteEnabled": "0",
"operations": [
{
"unitId": "1",

Просмотреть файл

@ -42,6 +42,7 @@ The arguments to this module is a JSON object with the following information:
"interval": "<the interval value in ms between each cell's update>",
"deviceType": "<string value to describe the type of the modbus device>",
"macAddress": "<mac address in canonical form>",
"sqliteEnabled": "<0/1 to specify whether to enable SQLite module command>",
"operations": [
{
"unitId": "<station/slave address of modbus device>",
@ -72,6 +73,7 @@ The following Gateway config file describes an instance of the "modbus_read" mod
"interval": "10000",
"deviceType": "powerMeter",
"macAddress": "01:01:01:01:01:01",
"sqliteEnabled": "0",
"operations": [
{
"unitId": "1",

Просмотреть файл

@ -56,6 +56,7 @@
"interval": "2000",
"macAddress": "01:01:01:01:01:01",
"deviceType": "powerMeter",
"sqliteEnabled": "0",
"operations": [
{
"unitId": "1",

Просмотреть файл

@ -56,6 +56,7 @@
"interval": "2000",
"macAddress": "01:01:01:01:01:01",
"deviceType": "powerMeter",
"sqliteEnabled": "0",
"operations": [
{
"unitId": "1",