changed some old comment

This commit is contained in:
znetsixe
2025-09-23 15:51:16 +02:00
parent b0c18e7bae
commit 000bee7190

View File

@@ -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'}`);