[PhotonClient] Vite and Typescript complete refactor (#884)

This commit is contained in:
Sriman Achanta
2023-08-21 01:51:35 -04:00
committed by GitHub
parent 8397b43bef
commit f623e4a1cc
119 changed files with 11821 additions and 19318 deletions

View File

@@ -455,9 +455,15 @@ public class VisionModule {
void saveAndBroadcastSelective(WsContext originContext, String propertyName, Object value) {
logger.trace("Broadcasting PSC mutation - " + propertyName + ": " + value);
saveModule();
HashMap<String, Object> map = new HashMap<>();
HashMap<String, Object> subMap = new HashMap<>();
subMap.put(propertyName, value);
map.put("cameraIndex", this.moduleIndex);
map.put("mutatePipelineSettings", subMap);
DataChangeService.getInstance()
.publishEvent(
OutgoingUIEvent.wrappedOf("mutatePipeline", propertyName, value, originContext));
.publishEvent(new OutgoingUIEvent<>("mutatePipeline", map, originContext));
}
public void setCameraNickname(String newName) {