Compare commits

...

1 Commits

Author SHA1 Message Date
znetsixe
b2eb8fe900 minor updates 2025-07-01 17:02:51 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ class nodeClass {
} }
/** /**
* Bind Measurement events to Node-RED status updates. Using internal emitter. --> REMOVE LATER WE NEED ONLY COMPLETE CHILDS AND THEN CHECK FOR UPDATES * Bind events to Node-RED status updates. Using internal emitter. --> REMOVE LATER WE NEED ONLY COMPLETE CHILDS AND THEN CHECK FOR UPDATES
*/ */
_bindEvents() { _bindEvents() {
this.source.emitter.on('mAbs', (val) => { this.source.emitter.on('mAbs', (val) => {

View File

@@ -53,6 +53,7 @@ class Machine {
//basic setup //basic setup
this.emitter = new EventEmitter(); // Own EventEmitter this.emitter = new EventEmitter(); // Own EventEmitter
this.logger = new logger(machineConfig.general.logging.enabled,machineConfig.general.logging.logLevel, machineConfig.general.name); this.logger = new logger(machineConfig.general.logging.enabled,machineConfig.general.logging.logLevel, machineConfig.general.name);
this.configManager = new configManager(); this.configManager = new configManager();
this.defaultConfig = this.configManager.getConfig('rotatingMachine'); // Load default config for rotating machine ( use software type name ? ) this.defaultConfig = this.configManager.getConfig('rotatingMachine'); // Load default config for rotating machine ( use software type name ? )