This MVP release provides a complete full-stack solution for managing action mappings in Geutebruck's GeViScope and GeViSoft video surveillance systems. ## Features ### Flutter Web Application (Port 8081) - Modern, responsive UI for managing action mappings - Action picker dialog with full parameter configuration - Support for both GSC (GeViScope) and G-Core server actions - Consistent UI for input and output actions with edit/delete capabilities - Real-time action mapping creation, editing, and deletion - Server categorization (GSC: prefix for GeViScope, G-Core: prefix for G-Core servers) ### FastAPI REST Backend (Port 8000) - RESTful API for action mapping CRUD operations - Action template service with comprehensive action catalog (247 actions) - Server management (G-Core and GeViScope servers) - Configuration tree reading and writing - JWT authentication with role-based access control - PostgreSQL database integration ### C# SDK Bridge (gRPC, Port 50051) - Native integration with GeViSoft SDK (GeViProcAPINET_4_0.dll) - Action mapping creation with correct binary format - Support for GSC and G-Core action types - Proper Camera parameter inclusion in action strings (fixes CrossSwitch bug) - Action ID lookup table with server-specific action IDs - Configuration reading/writing via SetupClient ## Bug Fixes - **CrossSwitch Bug**: GSC and G-Core actions now correctly display camera/PTZ head parameters in GeViSet - Action strings now include Camera parameter: `@ PanLeft (Comment: "", Camera: 101028)` - Proper filter flags and VideoInput=0 for action mappings - Correct action ID assignment (4198 for GSC, 9294 for G-Core PanLeft) ## Technical Stack - **Frontend**: Flutter Web, Dart, Dio HTTP client - **Backend**: Python FastAPI, PostgreSQL, Redis - **SDK Bridge**: C# .NET 8.0, gRPC, GeViSoft SDK - **Authentication**: JWT tokens - **Configuration**: GeViSoft .set files (binary format) ## Credentials - GeViSoft/GeViScope: username=sysadmin, password=masterkey - Default admin: username=admin, password=admin123 ## Deployment All services run on localhost: - Flutter Web: http://localhost:8081 - FastAPI: http://localhost:8000 - SDK Bridge gRPC: localhost:50051 - GeViServer: localhost (default port) Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
615 lines
10 KiB
JSON
615 lines
10 KiB
JSON
{
|
|
"action_mappings": [
|
|
{
|
|
"id": 1,
|
|
"actions": [
|
|
{
|
|
"action": "GSC ViewerConnectLive V <- C",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 100 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 90 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 80 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 70 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 60 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 50 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 40 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 30 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 20 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 10 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"actions": [
|
|
{
|
|
"action": "GSC ViewerClear V",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 13,
|
|
"actions": [
|
|
{
|
|
"action": "GSC info: re_porter mode active",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"actions": [
|
|
{
|
|
"action": "GSC error: \"GeViIO Client: start of interface failed\"",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: \"GeViSoft Server: client warning\"",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 16,
|
|
"actions": [
|
|
{
|
|
"action": "GSC error: \"GeViIO Client: interface lost\"",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 17,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"1",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 18,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"2",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 19,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"3",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 20,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"4",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"5",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 22,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"6",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 23,
|
|
"actions": [
|
|
{
|
|
"action": "GSC info: licence satisfied",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 24,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"7",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 25,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"8",
|
|
"close"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 26,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"1",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 27,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"2",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 28,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"3",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 29,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"4",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 30,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"5",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 31,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"6",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 32,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"7",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 33,
|
|
"actions": [
|
|
{
|
|
"action": "Set digital output",
|
|
"parameters": [
|
|
"8",
|
|
"open"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 34,
|
|
"actions": []
|
|
},
|
|
{
|
|
"id": 35,
|
|
"actions": [
|
|
{
|
|
"action": "GscCustomAction:GscDiagnostics still running.",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 36,
|
|
"actions": [
|
|
{
|
|
"action": "GSC PanLeft",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 37,
|
|
"actions": [
|
|
{
|
|
"action": "GSC PanRight",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 38,
|
|
"actions": [
|
|
{
|
|
"action": "GSC PanStop",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"actions": [
|
|
{
|
|
"action": "GSC TiltDown",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 40,
|
|
"actions": [
|
|
{
|
|
"action": "GSC TiltUp",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 41,
|
|
"actions": [
|
|
{
|
|
"action": "GSC TiltStop",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 42,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc ZoomIn",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 43,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc ZoomOut",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 44,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc ZoomStop",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 45,
|
|
"actions": [
|
|
{
|
|
"action": "GSC error: \"GeViSoft Server: dongle DLLs not found\"",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 46,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc FocusFar 128",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 47,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc FocusNear 128",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 48,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc FocusStop",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 49,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc MoveToDefaultPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 50,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc ClearDefaultPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 51,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc SaveDafaultPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 52,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc MoveToPresentPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 53,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc ClearPresentPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 54,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc SavePresentPostion",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 55,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc IrisClose",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 56,
|
|
"actions": [
|
|
{
|
|
"action": "GSC error: \"GeViSoft Server: dongle not found\"",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 57,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc IrisOpen",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 58,
|
|
"actions": [
|
|
{
|
|
"action": "Gsc IrisStop",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 59,
|
|
"actions": [
|
|
{
|
|
"action": "VC live",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 60,
|
|
"actions": []
|
|
},
|
|
{
|
|
"id": 61,
|
|
"actions": []
|
|
},
|
|
{
|
|
"id": 62,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode finished",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 63,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 120 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 64,
|
|
"actions": [
|
|
{
|
|
"action": "GSC warning: demo mode for 110 min",
|
|
"parameters": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"total_count": 64,
|
|
"total_actions": 61
|
|
} |