added port handling and pipline change sync wth ui

- added port hash map
- putting port into hashmap from camera class
- added sending port from full settings and camera change 
- nt pipe change now sends pipe name to ui
This commit is contained in:
ori agranat
2019-09-21 18:52:28 +03:00
parent 4c315ac554
commit d97f3c1e1a
5 changed files with 14 additions and 6 deletions

View File

@@ -12,11 +12,12 @@ import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
public class SettingsManager {
public static final Path SettingsPath = Paths.get(System.getProperty("user.dir"), "Settings");
public static com.chameleonvision.vision.GeneralSettings GeneralSettings;
// public static HashMap<String, String> CameraPorts = new HashMap<>();//TODO Implement ports
public static HashMap<String, Integer> CameraPorts = new HashMap<>();
private SettingsManager() {}