Files
Administrator 14893e62a5 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>
2025-12-31 18:10:54 +01:00

95 lines
7.1 KiB
HTML

<!DOCTYPE html>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" lang="en" xml:lang="en" data-mc-search-type="Stem" data-mc-help-system-file-name="index.xml" data-mc-path-to-help-system="../" data-mc-target-type="WebHelp2" data-mc-runtime-file-type="Topic" data-mc-preload-images="false" data-mc-in-preview-mode="false" data-mc-toc-path="GeViScope SDK|GeViScope Software Development Kit (SDK)">
<!-- saved from url=(0014)about:internet -->
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Using the SDK with .NET
</title>
<link href="../Skins/Default/Stylesheets/TextEffects.css" rel="stylesheet" />
<link href="../Skins/Default/Stylesheets/Topic.css" rel="stylesheet" />
<link href="Resources/Stylesheets/Styles.css" rel="stylesheet" />
<script src="../Resources/Scripts/jquery.min.js">
</script>
<script src="../Resources/Scripts/plugins.min.js">
</script>
<script src="../Resources/Scripts/require.min.js">
</script>
<script src="../Resources/Scripts/require.config.js">
</script>
<script src="../Resources/Scripts/MadCapAll.js">
</script>
</head>
<body>
<div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">| </span><a class="MCBreadcrumbsLink" href="Titel.htm">GeViScope SDK</a><span class="MCBreadcrumbsDivider"> &gt; </span><a class="MCBreadcrumbsLink" href="010GeViScope_SDK.htm">GeViScope Software Development Kit (SDK)</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Using the SDK with .NET
</span>
</div>
<h2 xmlns="http://www.w3.org/TR/REC-html40">Using the SDK with .NET
</h2>
<p xmlns="http://www.w3.org/TR/REC-html40">To make the usage of the native Win32 DLLs
easier in .NET languages like C# or VB.NET, the SDK contains some wrapper
assemblies around the plain SDK DLLs.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">
<img src="Images/017image004a_600x438.png" alt="DotNet_WrapperAssemblies.jpg" class="padding600" style="width: 600;height: 438;" />
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">These wrapper assemblies are developed in
C++/CLI and published with the SDK. The assemblies can be found in the GeViScope SDK binary folder “GeViScopeSDK\BIN”. </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">The SDK provides wrapper assemblies for the .NET-Frameworks versions 2.0 and 4.0 which are named as follows:</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p style="font-weight: bold;" xmlns="http://www.w3.org/TR/REC-html40">.NET-Framework 2.0</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscExceptionsNET_2_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscActionsNET_2_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscMediaPlayerNET_2_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscDBINET_2_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p style="font-weight: bold;" xmlns="http://www.w3.org/TR/REC-html40">.NET-Framework 4.0</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscExceptionsNET_4_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscActionsNET_4_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscMediaPlayerNET_4_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40">• GscDBINET_4_0.dll</p>
<p xmlns="http://www.w3.org/TR/REC-html40"> <![CDATA[ ]]></p>
<p xmlns="http://www.w3.org/TR/REC-html40">These wrapper assemblies can be used
together with our native SDK DLLs (GscActions.DLL, GscDBI.DLL, GscHelper.DLL,
GscMediaPlayer.DLL, MscDBI.DLL) to create custom applications under any .NET
language on a windows platform. The assemblies need to be referenced by the
.NET project and all the files (assemblies and native DLLs) have to reside in
the application folder.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">
<img src="Images/017image002a.png" xmlns="http://www.w3.org/TR/REC-html40" class="padding600" />
</p>
<h3 xmlns="http://www.w3.org/TR/REC-html40">Deploying a custom solution based on the .NET wrapper
</h3>
<p xmlns="http://www.w3.org/TR/REC-html40">To successfully deploy a custom application
that uses the .NET wrapper contained in the SDK, the following prerequisites
have to be fulfilled:
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">a) Microsoft Visual C++ Redistributable Package has to be
installed</p>
<p xmlns="http://www.w3.org/TR/REC-html40"> <![CDATA[ ]]></p>
<p xmlns="http://www.w3.org/TR/REC-html40">The wrapper assemblies are developed in C++/CLI. So for executing them on a none development machine, the Microsoft Visual C++ Redistributable Package is needed. This package exists in a debug or in a release version. On productive machines the release version needs to be installed.</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">For applications using the .NET-Framework 2.0 the Visual C++ 2008 Redistributable Package is needed. In case that the application is developed using the .NET-Framework 4.0 you need to install the Visual C++ 2010 Redistributable Package.</p>
<p xmlns="http://www.w3.org/TR/REC-html40"> <![CDATA[ ]]></p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">b) .NET Framework Version 2.0 SP 1 or newer has to be
installed </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">If updating the .NET Framework on a
GEUTEBRÜCK device (GeViScope or re_porter) fails, a special Microsoft tool
Windows Installer CleanUp Utility (MSICUU2.exe) can improve the situation. After executing
this tool, updating the Framework should be possible.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160; </p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">c) Wrapper assemblies AND native SDK DLLs are needed </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">Beside the custom application also the
wrapper assemblies and the native SDK DLLs (listed above) are needed in the
same folder as in which the custom application resides.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">If the application uses the .NET-Framework 4.0 you need to reference the GeViScope wrapper DLLs with the extension _4_0 otherwise please use the wrapper assemblies with the extension _2_0 (see above).</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
</body>
</html>