Skip to content

Commit

Permalink
fixed save settings of alarm retention and add 3/5 year DAQ storage r…
Browse files Browse the repository at this point in the history
…etention
  • Loading branch information
unocelli committed Oct 10, 2023
1 parent 7664e46 commit be9ee1d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
</div>
</div>
</app-root>
<script src="runtime.8ef63094e52a66ba.js" type="module"></script><script src="polyfills.2696a6f9dc75535e.js" type="module"></script><script src="scripts.1c3385254ff4c93c.js" defer></script><script src="main.c0eb5718476a8395.js" type="module"></script>
<script src="runtime.8ef63094e52a66ba.js" type="module"></script><script src="polyfills.2696a6f9dc75535e.js" type="module"></script><script src="scripts.1c3385254ff4c93c.js" defer></script><script src="main.6434c6fda6a886f3.js" type="module"></script>

</body></html>
1 change: 1 addition & 0 deletions client/dist/main.6434c6fda6a886f3.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/dist/main.c0eb5718476a8395.js

This file was deleted.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa",
"version": "1.1.15-1323",
"version": "1.1.15-1324",
"keywords": [],
"author": "frangoteam <[email protected]>",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
Expand Down
2 changes: 2 additions & 0 deletions client/src/app/_models/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export enum DaqStoreRetentionType {
days30 = 'days30',
days90 = 'days90',
year1 = 'year1',
year3 = 'year3',
year5 = 'year5',
}

export enum AlarmsRetentionType {
Expand Down
4 changes: 4 additions & 0 deletions client/src/app/_services/settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ export class SettingsService {
this.appSettings.logFull = settings.logFull;
dirty = true;
}
if (settings.alarms?.retention !== this.appSettings.alarms?.retention) {
this.appSettings.alarms.retention = settings.alarms.retention;
dirty = true;
}
return dirty;
}

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa-server",
"version": "1.1.15-1323",
"version": "1.1.15-1324",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit be9ee1d

Please sign in to comment.