feat: Geutebruck GeViScope/GeViSoft Action Mapping System - MVP
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>
This commit is contained in:
628
setup_config.json
Normal file
628
setup_config.json
Normal file
@@ -0,0 +1,628 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"sourceFile": "setup_config_20251212_122429.dat",
|
||||
"exportDate": "2025-12-12 13:06:11",
|
||||
"fileSize": 281714,
|
||||
"header": "GeViSoft Parameters",
|
||||
"actionMappings": [
|
||||
{
|
||||
"id": 1,
|
||||
"fileOffset": 253894,
|
||||
"rulesMarkerOffset": 253894,
|
||||
"actions": [
|
||||
"GSC ViewerConnectLive V \u003C- C",
|
||||
"GNG ViewerConnectLive V \u003C- C_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"fileOffset": 254333,
|
||||
"rulesMarkerOffset": 254333,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 100 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"fileOffset": 254768,
|
||||
"rulesMarkerOffset": 254768,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 90 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"fileOffset": 255200,
|
||||
"rulesMarkerOffset": 255200,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 80 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"fileOffset": 255632,
|
||||
"rulesMarkerOffset": 255632,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 70 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"fileOffset": 256064,
|
||||
"rulesMarkerOffset": 256064,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 60 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"fileOffset": 256496,
|
||||
"rulesMarkerOffset": 256496,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 50 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"fileOffset": 256928,
|
||||
"rulesMarkerOffset": 256928,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 40 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"fileOffset": 257360,
|
||||
"rulesMarkerOffset": 257360,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 30 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"fileOffset": 257792,
|
||||
"rulesMarkerOffset": 257792,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 20 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"fileOffset": 258224,
|
||||
"rulesMarkerOffset": 258224,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 10 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"fileOffset": 258581,
|
||||
"rulesMarkerOffset": 258581,
|
||||
"actions": [
|
||||
"GSC ViewerClear V",
|
||||
"GNG ViewerClear V"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"fileOffset": 258928,
|
||||
"rulesMarkerOffset": 258928,
|
||||
"actions": [
|
||||
"GSC info: re_porter mode active"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"fileOffset": 259542,
|
||||
"rulesMarkerOffset": 259542,
|
||||
"actions": [
|
||||
"GSC error: \u0022GeViIO Client: start of interface failed\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"fileOffset": 260093,
|
||||
"rulesMarkerOffset": 260093,
|
||||
"actions": [
|
||||
"GSC warning: \u0022GeViSoft Server: client warning\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"fileOffset": 260716,
|
||||
"rulesMarkerOffset": 260716,
|
||||
"actions": [
|
||||
"GSC error: \u0022GeViIO Client: interface lost\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"fileOffset": 261215,
|
||||
"rulesMarkerOffset": 261215,
|
||||
"actions": [
|
||||
"Set digital output (1,close)",
|
||||
"Set digital output (1,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"fileOffset": 261602,
|
||||
"rulesMarkerOffset": 261602,
|
||||
"actions": [
|
||||
"Set digital output (2,close)",
|
||||
"Set digital output (2,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"fileOffset": 261989,
|
||||
"rulesMarkerOffset": 261989,
|
||||
"actions": [
|
||||
"Set digital output (3,close)",
|
||||
"Set digital output (3,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"fileOffset": 262376,
|
||||
"rulesMarkerOffset": 262376,
|
||||
"actions": [
|
||||
"Set digital output (4,close)",
|
||||
"Set digital output (4,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"fileOffset": 262763,
|
||||
"rulesMarkerOffset": 262763,
|
||||
"actions": [
|
||||
"Set digital output (5,close)",
|
||||
"Set digital output (5,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"fileOffset": 263150,
|
||||
"rulesMarkerOffset": 263150,
|
||||
"actions": [
|
||||
"Set digital output (6,close)",
|
||||
"Set digital output (6,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"fileOffset": 263553,
|
||||
"rulesMarkerOffset": 263553,
|
||||
"actions": [
|
||||
"GSC info: licence satisfied",
|
||||
"GNG info: licence satisfied"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"fileOffset": 263936,
|
||||
"rulesMarkerOffset": 263936,
|
||||
"actions": [
|
||||
"Set digital output (7,close)",
|
||||
"Set digital output (7,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"fileOffset": 264323,
|
||||
"rulesMarkerOffset": 264323,
|
||||
"actions": [
|
||||
"Set digital output (8,close)",
|
||||
"Set digital output (8,close)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"fileOffset": 264711,
|
||||
"rulesMarkerOffset": 264711,
|
||||
"actions": [
|
||||
"Set digital output (1,open)",
|
||||
"Set digital output (1,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"fileOffset": 265097,
|
||||
"rulesMarkerOffset": 265097,
|
||||
"actions": [
|
||||
"Set digital output (2,open)",
|
||||
"Set digital output (2,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"fileOffset": 265483,
|
||||
"rulesMarkerOffset": 265483,
|
||||
"actions": [
|
||||
"Set digital output (3,open)",
|
||||
"Set digital output (3,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"fileOffset": 265869,
|
||||
"rulesMarkerOffset": 265869,
|
||||
"actions": [
|
||||
"Set digital output (4,open)",
|
||||
"Set digital output (4,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"fileOffset": 266255,
|
||||
"rulesMarkerOffset": 266255,
|
||||
"actions": [
|
||||
"Set digital output (5,open)",
|
||||
"Set digital output (5,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"fileOffset": 266641,
|
||||
"rulesMarkerOffset": 266641,
|
||||
"actions": [
|
||||
"Set digital output (6,open)",
|
||||
"Set digital output (6,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"fileOffset": 267027,
|
||||
"rulesMarkerOffset": 267027,
|
||||
"actions": [
|
||||
"Set digital output (7,open)",
|
||||
"Set digital output (7,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"fileOffset": 267413,
|
||||
"rulesMarkerOffset": 267413,
|
||||
"actions": [
|
||||
"Set digital output (8,open)",
|
||||
"Set digital output (8,open)"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"fileOffset": 267879,
|
||||
"rulesMarkerOffset": 267879,
|
||||
"actions": [
|
||||
"GSC error: \u0022GeViSoft Server: license conditions are not satisfied\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"fileOffset": 268506,
|
||||
"rulesMarkerOffset": 268506,
|
||||
"actions": [
|
||||
"GscCustomAction:GscDiagnostics still running."
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"fileOffset": 268929,
|
||||
"rulesMarkerOffset": 268929,
|
||||
"actions": [
|
||||
"GSC PanLeft",
|
||||
"GNG PanLeft_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"fileOffset": 269241,
|
||||
"rulesMarkerOffset": 269241,
|
||||
"actions": [
|
||||
"GSC PanRight",
|
||||
"GNG PanRight_101027",
|
||||
"GNG PanRight_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"fileOffset": 269671,
|
||||
"rulesMarkerOffset": 269671,
|
||||
"actions": [
|
||||
"GSC PanStop",
|
||||
"GNG PanStop_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"fileOffset": 269973,
|
||||
"rulesMarkerOffset": 269973,
|
||||
"actions": [
|
||||
"GSC TiltDown",
|
||||
"GNG TiltDown_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"fileOffset": 270287,
|
||||
"rulesMarkerOffset": 270287,
|
||||
"actions": [
|
||||
"GSC TiltUp",
|
||||
"GNG TiltUp_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"fileOffset": 270587,
|
||||
"rulesMarkerOffset": 270587,
|
||||
"actions": [
|
||||
"GSC TiltStop",
|
||||
"GNG TiltStop_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"fileOffset": 270891,
|
||||
"rulesMarkerOffset": 270891,
|
||||
"actions": [
|
||||
"Gsc ZoomIn",
|
||||
"GNG ZoomIn_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"fileOffset": 271198,
|
||||
"rulesMarkerOffset": 271198,
|
||||
"actions": [
|
||||
"Gsc ZoomOut",
|
||||
"GNG ZoomOut_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"fileOffset": 271502,
|
||||
"rulesMarkerOffset": 271502,
|
||||
"actions": [
|
||||
"Gsc ZoomStop",
|
||||
"GNG ZoomStop_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"fileOffset": 271916,
|
||||
"rulesMarkerOffset": 271916,
|
||||
"actions": [
|
||||
"GSC error: \u0022GeViSoft Server: dongle DLLs not found\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"fileOffset": 272414,
|
||||
"rulesMarkerOffset": 272414,
|
||||
"actions": [
|
||||
"Gsc FocusFar 128",
|
||||
"GNG FocusFar 128_C101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"fileOffset": 272765,
|
||||
"rulesMarkerOffset": 272765,
|
||||
"actions": [
|
||||
"Gsc FocusNear 128",
|
||||
"GNG FocusNear 128_C101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"fileOffset": 273109,
|
||||
"rulesMarkerOffset": 273109,
|
||||
"actions": [
|
||||
"Gsc FocusStop",
|
||||
"GNG FocusStop_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"fileOffset": 273419,
|
||||
"rulesMarkerOffset": 273419,
|
||||
"actions": [
|
||||
"Gsc MoveToDefaultPostion",
|
||||
"GNG MoveToDefaultPostion_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"fileOffset": 273764,
|
||||
"rulesMarkerOffset": 273764,
|
||||
"actions": [
|
||||
"Gsc ClearDefaultPostion",
|
||||
"GNG ClearDefaultPostion_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"fileOffset": 274104,
|
||||
"rulesMarkerOffset": 274104,
|
||||
"actions": [
|
||||
"Gsc SaveDafaultPostion",
|
||||
"GNG SaveDafaultPostion_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"fileOffset": 274457,
|
||||
"rulesMarkerOffset": 274457,
|
||||
"actions": [
|
||||
"Gsc MoveToPresentPostion",
|
||||
"GNG MoveToPresentPostion"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"fileOffset": 274774,
|
||||
"rulesMarkerOffset": 274774,
|
||||
"actions": [
|
||||
"Gsc ClearPresentPostion",
|
||||
"GNG ClearPresentPostion"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"fileOffset": 275086,
|
||||
"rulesMarkerOffset": 275086,
|
||||
"actions": [
|
||||
"Gsc SavePresentPostion",
|
||||
"GNG SavePresentPostion"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"fileOffset": 275374,
|
||||
"rulesMarkerOffset": 275374,
|
||||
"actions": [
|
||||
"Gsc IrisClose",
|
||||
"GNG IrisClose_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"fileOffset": 275787,
|
||||
"rulesMarkerOffset": 275787,
|
||||
"actions": [
|
||||
"GSC error: \u0022GeViSoft Server: dongle not found\u0022"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"fileOffset": 276237,
|
||||
"rulesMarkerOffset": 276237,
|
||||
"actions": [
|
||||
"Gsc IrisOpen",
|
||||
"GNG IrisOpen_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"fileOffset": 276535,
|
||||
"rulesMarkerOffset": 276535,
|
||||
"actions": [
|
||||
"Gsc IrisStop",
|
||||
"GNG IrisStop_101027"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"fileOffset": 276848,
|
||||
"rulesMarkerOffset": 276848,
|
||||
"actions": [
|
||||
"VC live",
|
||||
"GNG VC live"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"fileOffset": 277187,
|
||||
"rulesMarkerOffset": 277187,
|
||||
"actions": [
|
||||
"CrossSwitch OpCon -\u003E Matrix",
|
||||
"GNG ViewerConnected OpCon -\u003E Matrix"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"fileOffset": 277470,
|
||||
"rulesMarkerOffset": 277470,
|
||||
"actions": [
|
||||
"CrossSwitch OpCon -\u003E Matrix"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"fileOffset": 277761,
|
||||
"rulesMarkerOffset": 277761,
|
||||
"actions": [
|
||||
"GSC warning: demo mode finished"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"fileOffset": 278314,
|
||||
"rulesMarkerOffset": 278314,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 120 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"fileOffset": 278749,
|
||||
"rulesMarkerOffset": 278749,
|
||||
"actions": [
|
||||
"GSC warning: demo mode for 110 min"
|
||||
],
|
||||
"triggerConditions": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user