Fixing GUI
This commit is contained in:
parent
515b112ec8
commit
3b5821ed2d
@ -2,7 +2,7 @@
|
||||
* @author Martin Karkowski
|
||||
* @email m.karkowski@zema.de
|
||||
* @create date 2021-02-09 10:12:37
|
||||
* @modify date 2021-02-12 17:38:30
|
||||
* @modify date 2021-02-26 08:53:56
|
||||
* @desc [description]
|
||||
*/
|
||||
|
||||
@ -12,6 +12,8 @@ import { createFile } from "../../../lib/helpers/fileMethods";
|
||||
|
||||
const name = hostname();
|
||||
|
||||
const num: number = +(name.split("-")[1]);
|
||||
|
||||
const config = {
|
||||
functions: [],
|
||||
packages: [
|
||||
@ -44,7 +46,7 @@ const config = {
|
||||
amsPortSource: 32905,
|
||||
amsPortTarget: 851,
|
||||
timeout: 5000,
|
||||
amsNetIdTarget: "1.1.1.1.1.1",
|
||||
amsNetIdTarget: "1.1.1.1.1." + num.toString(),
|
||||
amsNetIdSource: "2.2.2.2.2.2",
|
||||
host: "localhost",
|
||||
twinCatVersion: 3
|
||||
@ -81,7 +83,7 @@ const config = {
|
||||
defaultInstances: [
|
||||
{
|
||||
options: {
|
||||
identifier: ("wamo-" + name + "-mqtt-broker").toLowerCase(),
|
||||
identifier: ("wamo-" + name + "-updater").toLowerCase(),
|
||||
params: [],
|
||||
type: "UpdaterModule"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user