init
This commit is contained in:
4
dependencies/heatExchanger/heatExchanger.js
vendored
4
dependencies/heatExchanger/heatExchanger.js
vendored
@@ -39,9 +39,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const EventEmitter = require('events');
|
const EventEmitter = require('events');
|
||||||
const Logger = require('../../../generalFunctions/helper/logger');
|
const Logger = require('../../../generalfunctions/helper/logger');
|
||||||
const defaultConfig = require('./heatExchangerConfig.json');
|
const defaultConfig = require('./heatExchangerConfig.json');
|
||||||
const ConfigUtils = require('../../../generalFunctions/helper/configUtils');
|
const ConfigUtils = require('../../../generalfunctions/helper/configUtils');
|
||||||
|
|
||||||
class heatExchanger {
|
class heatExchanger {
|
||||||
constructor(config={}) {
|
constructor(config={}) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import * as menuUtils from "/generalFunctions/helper/menuUtils.js";
|
import * as menuUtils from "/generalfunctions/helper/menuUtils.js";
|
||||||
|
|
||||||
RED.nodes.registerType("heatExchanger", {
|
RED.nodes.registerType("heatExchanger", {
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
//this needs to live somewhere and for now we add it to every node file for simplicity
|
//this needs to live somewhere and for now we add it to every node file for simplicity
|
||||||
const projecSettingstURL = "http://localhost:1880/generalFunctions/settings/projectSettings.json";
|
const projecSettingstURL = "http://localhost:1880/generalfunctions/settings/projectSettings.json";
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ module.exports = function (RED) {
|
|||||||
|
|
||||||
//fetch heatExchanger object from source.js
|
//fetch heatExchanger object from source.js
|
||||||
const heatExchanger = require("./dependencies/heatExchanger/heatExchanger");
|
const heatExchanger = require("./dependencies/heatExchanger/heatExchanger");
|
||||||
const OutputUtils = require("../generalFunctions/helper/outputUtils");
|
const OutputUtils = require("../generalfunctions/helper/outputUtils");
|
||||||
|
|
||||||
//load user defined config in the node-red UI
|
//load user defined config in the node-red UI
|
||||||
const heConfig={
|
const heConfig={
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"author": "Rene De Ren",
|
"author": "Rene De Ren",
|
||||||
"license": "SEE LICENSE",
|
"license": "SEE LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"generalFunctions": "git+https://gitea.centraal.wbd-rd.nl/RnD/generalFunctions.git",
|
"generalfunctions": "git+https://gitea.centraal.wbd-rd.nl/RnD/generalfunctions.git",
|
||||||
"convert": "git+https://gitea.centraal.wbd-rd.nl/RnD/convert.git",
|
"convert": "git+https://gitea.centraal.wbd-rd.nl/RnD/convert.git",
|
||||||
"predict": "git+https://gitea.centraal.wbd-rd.nl/RnD/predict.git"
|
"predict": "git+https://gitea.centraal.wbd-rd.nl/RnD/predict.git"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user