-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Set default scheduler cycleTime to 1000ms - Set UI currentData update interval to 2000ms - Update OpenEMS-Backend path - Fix matching of deviceName behind OpenEMS Backend
- Loading branch information
1 parent
291f5d5
commit 38c5965
Showing
20 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Environment } from "../app/shared/type/environment"; | ||
import { Backend } from "../app/shared/type/backend"; | ||
import { DefaultTypes } from "../app/shared/service/defaulttypes"; | ||
|
||
class DefaultEnvironment extends Environment { | ||
public readonly production = false; | ||
public readonly url = "ws://" + location.hostname + ":8085"; | ||
public readonly backend = Backend.OpenEMS_Edge; | ||
public readonly backend: DefaultTypes.Backend = "OpenEMS Backend"; | ||
} | ||
|
||
export const environment = new DefaultEnvironment(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Environment } from "../app/shared/type/environment"; | ||
import { Backend } from "../app/shared/type/backend"; | ||
import { DefaultTypes } from '../app/shared/service/defaulttypes'; | ||
|
||
class OpenemsBackendDevEnvironment extends Environment { | ||
public readonly production = false; | ||
public readonly url = "ws://" + location.hostname + ":8078"; | ||
public readonly backend = Backend.OpenEMS_Backend; | ||
public readonly url = "ws://" + location.hostname + ":8076"; | ||
public readonly backend: DefaultTypes.Backend = "OpenEMS Backend" | ||
} | ||
|
||
export const environment = new OpenemsBackendDevEnvironment(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { Environment } from "../app/shared/type/environment"; | ||
import { Backend } from "../app/shared/type/backend"; | ||
import { DefaultTypes } from '../app/shared/service/defaulttypes'; | ||
|
||
class OpenemsBackendEnvironment extends Environment { | ||
public readonly production = true; | ||
public readonly url = (location.protocol == "https" ? "wss" : "ws") + | ||
"://" + location.hostname + ":" + location.port + "/femsmonitor"; | ||
public readonly backend = Backend.OpenEMS_Backend; | ||
public readonly url = (location.protocol == "https:" ? "wss" : "ws") + | ||
"://" + location.hostname + ":" + location.port + "/openems-backend-ui"; | ||
public readonly backend: DefaultTypes.Backend = "OpenEMS Backend"; | ||
} | ||
|
||
export const environment = new OpenemsBackendEnvironment(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Environment } from "../app/shared/type/environment"; | ||
import { Backend } from "../app/shared/type/backend"; | ||
import { DefaultTypes } from '../app/shared/service/defaulttypes'; | ||
|
||
class OpenemsEnvironment extends Environment { | ||
public readonly production = true; | ||
public readonly url = "ws://" + location.hostname + (location.port ? ":" + location.port : "") + "/websocket"; | ||
public readonly backend = Backend.OpenEMS_Edge; | ||
public readonly backend: DefaultTypes.Backend = "OpenEMS Edge"; | ||
} | ||
|
||
export const environment = new OpenemsEnvironment(); |