From 000bee71900ffd5457057db59ac3e8c98ae9f85d Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:51:16 +0200 Subject: [PATCH] changed some old comment --- src/specificClass.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/specificClass.js b/src/specificClass.js index 614f77d..69e399c 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -502,9 +502,8 @@ _callMeasurementHandler(measurementType, value, position, context) { } } - // ENHANCED: Your existing handler but with rich context + // rich context handler for pressure updates updateMeasuredPressure(value, position, context = {}) { - // Your existing operational check if (!this._isOperationalState()) { this.logger.warn(`Machine not operational, skipping pressure update from ${context.childName || 'unknown'}`); return; @@ -523,7 +522,7 @@ _callMeasurementHandler(measurementType, value, position, context) { this.logger.debug(`Using pressure: ${pressure} for calculations`); } - // NEW: Flow handler (following your pattern) + // NEW: Flow handler updateMeasuredFlow(value, position, context = {}) { if (!this._isOperationalState()) { this.logger.warn(`Machine not operational, skipping flow update from ${context.childName || 'unknown'}`);