feat(workbench): align v2 GIS and SCADA API
Generic Container CI/CD / test-build-publish (push) Successful in 26s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 26s

This commit is contained in:
2026-09-08 18:18:40 +08:00
parent 28287a1447
commit f9c71cc076
45 changed files with 1025 additions and 254 deletions
@@ -259,11 +259,12 @@ export function MapWorkbenchPage({
});
}
const { mapRef, mapReady, mapError, sourceStatuses, fitNetworkBounds } = useWorkbenchMap({
const { mapRef, mapReady, mapError, sourceStatuses, fitNetworkBounds, getScadaFeatures } = useWorkbenchMap({
containerRef: mapContainerRef,
impactVisible,
onSelectFeature: handleSelectFeature,
selectedFeature: detailFeature
selectedFeature: detailFeature,
getAccessToken
});
const { controller: mapController, state: mapControllerState } = useWorkbenchMapController({
mapRef,
@@ -271,7 +272,8 @@ export function MapWorkbenchPage({
leftPanelOpen: false,
rightPanelOpen,
conditionPanelExpanded: rightPanelExpanded,
agentPanelWidth
agentPanelWidth,
getScadaFeatures
});
const activeAgentUiResults = useMemo(