UNPKG
@fw-systeme/node-red-msl
Version:
latest (1.0.43)
1.0.43
1.0.41
A node-red module to simplify the access of msl4 channel data.
@fw-systeme/node-red-msl
/
config
/
msl-channel-config.js
9 lines
•
305 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
module
.
exports
=
function
(
RED
) {
function
MSLConfigNode
(
config
) {
RED
.
nodes
.
createNode
(
this
,config);
this
.
device
= config.
device
;
this
.
subdevice
= config.
subdevice
;
this
.
channels
= config.
channels
; }
RED
.
nodes
.
registerType
(
"msl-channel-config"
,
MSLConfigNode
); }