UNPKG
node-red-contrib-msl
Version:
latest (1.0.43)
1.0.43
1.0.42
1.0.41
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A node-red module to simplify the access of msl4 channel data.
node-red-contrib-msl
/
config
/
msl-device-config.js
8 lines
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
module
.
exports
=
function
(
RED
) {
function
SetMSLDevice
(
config
) {
RED
.
nodes
.
createNode
(
this
,config);
this
.
hostname
= config.
hostname
;
this
.
device
= config.
device
; }
RED
.
nodes
.
registerType
(
"msl-device-config"
,
SetMSLDevice
); }