-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3126 from ControlSystemStudio/CSSTUDIO-1650
Support taking snapshots based on archiver data
- Loading branch information
Showing
13 changed files
with
285 additions
and
196 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
31 changes: 31 additions & 0 deletions
31
...nd-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/SnapshotMode.java
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (C) 2024 European Spallation Source ERIC. | ||
*/ | ||
|
||
package org.phoebus.applications.saveandrestore.ui; | ||
|
||
import org.phoebus.applications.saveandrestore.Messages; | ||
|
||
public enum SnapshotMode { | ||
|
||
/** | ||
* Classic mode: read data from IOC | ||
*/ | ||
READ_PVS(Messages.snapshotFromPvs), | ||
|
||
/** | ||
* Read PV data from archiver | ||
*/ | ||
FROM_ARCHIVER(Messages.snapshotFromArchiver); | ||
|
||
private final String name; | ||
|
||
SnapshotMode(final String name) { | ||
this.name = name; | ||
} | ||
|
||
@Override | ||
public String toString(){ | ||
return name; | ||
} | ||
} |
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
Oops, something went wrong.