From 2073207df17a6b0caed7875fcd65124bb6aa4225 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:10:45 +0200 Subject: [PATCH 1/2] removed old readme --- src/specificClass.js | 50 ++------------------------------------------ 1 file changed, 2 insertions(+), 48 deletions(-) diff --git a/src/specificClass.js b/src/specificClass.js index 823f60c..c5e1a74 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -1,48 +1,3 @@ -/** - * @file machine.js - * - * Permission is hereby granted to any person obtaining a copy of this software - * and associated documentation files (the "Software"), to use it for personal - * or non-commercial purposes, with the following restrictions: - * - * 1. **No Copying or Redistribution**: The Software or any of its parts may not - * be copied, merged, distributed, sublicensed, or sold without explicit - * prior written permission from the author. - * - * 2. **Commercial Use**: Any use of the Software for commercial purposes requires - * a valid license, obtainable only with the explicit consent of the author. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, - * OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * Ownership of this code remainregisterChilds solely with the original author. Unauthorized - * use of this Software is strictly prohibited. - * - * @summary A class to interact and manipulate machines with a non-euclidian curve - * @description A class to interact and manipulate machines with a non-euclidian curve - * @module machine - * @exports machine - * @version 0.1.0 - * @since 0.1.0 - * - * Author: - * - Rene De Ren - * Email: - * - r.de.ren@brabantsedelta.nl - * - * Add functionality later - // -------- Operational Metrics -------- // -maintenanceAlert: this.state.checkMaintenanceStatus() - - -*/ - -//load local dependencies const EventEmitter = require('events'); const {loadCurve,logger,configUtils,configManager,state, nrmse, MeasurementContainer, predict, interpolation , childRegistrationUtils} = require('generalFunctions'); const { name } = require('../../generalFunctions/src/convert/lodash/lodash._shimkeys'); @@ -517,13 +472,12 @@ _callMeasurementHandler(measurementType, value, position, context) { } } - // rich context handler for pressure updates + // context handler for pressure updates updateMeasuredPressure(value, position, context = {}) { - // Enhanced logging with child context this.logger.debug(`Pressure update: ${value} at ${position} from ${context.childName || 'child'} (${context.childId || 'unknown-id'})`); - // Store in parent's measurement container (your existing logic) + // Store in parent's measurement container this.measurements.type("pressure").variant("measured").position(position).value(value, context.timestamp, context.unit); // Determine what kind of value to use as pressure (upstream , downstream or difference) -- 2.49.1 From d2a0274eb36e2bee80e7db5b6fbe69e98f250487 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Tue, 14 Oct 2025 13:52:39 +0200 Subject: [PATCH 2/2] changed colours and icon based on s88 --- rotatingMachine.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/rotatingMachine.html b/rotatingMachine.html index 97d3265..6d54b66 100644 --- a/rotatingMachine.html +++ b/rotatingMachine.html @@ -1,3 +1,13 @@ + @@ -5,7 +15,7 @@