Files
geutebruck/SOURCES/CODEX/GeViScope/GeViScopeSDK_HTML5/Content/020Examples_GroupedByTasks.htm
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

370 lines
20 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)|Examples overview">
<!-- saved from url=(0014)about:internet -->
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Examples grouped by programming tasks
</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><a class="MCBreadcrumbsLink" href="019Examples_Overview.htm">Examples overview</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Grouped by programming tasks</span>
</div>
<h3 xmlns="http://www.w3.org/TR/REC-html40">Examples grouped by programming tasks
</h3>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Connect to and disconnect from a GeViScope server </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">LiveStream (CodeGear
C++ Builder 6 and 2009)
</li>
<li value="2">SimpleClient (CodeGear Delphi 7, 2005 and 2009)
</li>
<li value="3">GSCLiveStream (Microsoft Visual
Studio 2005, C++, MFC)
</li>
<li value="4">VS2008CPP_SimpleClient
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="5">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="6">VS2008NET_SimpleClient
(Microsoft Visual Studio 2008, C#)
</li>
<li value="7">VS2008NET_ActionsAndEvents
(Microsoft Visual Studio 2008, C#)
</li>
<li value="8">VS2008WPF_SimpleClient
(Microsoft Visual Studio 2008, C#, WPF)
</li>
<li xmlns="" value="9">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_SimpleClient (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="10">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_ActionsAndEvents (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="11">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010WPF_SimpleClient (Microsoft Visual Studio 2010, C#, WPF)</p>
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Enumerate existing media channels and event types
from a GeViScope server </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">LiveStream (CodeGear
C++ Builder 6 and 2009)
</li>
<li value="2">SimpleClient (CodeGear Delphi 7, 2005 and 2009)
</li>
<li value="3">GSCLiveStream (Microsoft Visual
Studio 2005, C++, MFC)
</li>
<li value="4">VS2008CPP_SimpleClient
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="5">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li xmlns="" value="6">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2008NET_GscRegEdit (Microsoft Visual Studio 2008, C#)</p>
</li>
<li xmlns="" value="7">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2008NET_GscRegistryBasics (Microsoft Visual Studio 2008, C#)</p>
</li>
<li value="8">VS2008NET_SimpleClient
(Microsoft Visual Studio 2008, C#)</li>
<li value="9">VS2010CPP_ConfigReader (Microsoft Visual Studio 2010, C++) </li>
<li xmlns="" value="10">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_SimpleClient (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="11">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_ActionsAndEvents (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="12">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_GscRegEdit (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="13">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_GscRegistryBasics (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="14">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010WPF_SimpleClient (Microsoft Visual Studio 2010, C#, WPF)</p>
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Display live and recorded media with the MediaPlayer interface </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">LiveStream (CodeGear
C++ Builder 6 and 2009)
</li>
<li value="2">SimpleClient (CodeGear Delphi 7, 2005 and 2009)
</li>
<li value="3">GSCLiveStream (Microsoft Visual
Studio 2005, C++, MFC)
</li>
<li value="4">VS2008CPP_SimpleClient
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="5">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="6">VS2008NET_SimpleClient
(Microsoft Visual Studio 2008, C#)
</li>
<li value="7">VS2008WPF_SimpleClient
(Microsoft Visual Studio 2008, C#, WPF)
</li>
<li xmlns="" value="8">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_SimpleClient (Microsoft Visual Studio 2010, C#)</p>
</li>
<li xmlns="" value="9">
<p xmlns="http://www.w3.org/TR/REC-html40"> VS2010WPF_SimpleClient (Microsoft Visual Studio 2010, C#, WPF)</p>
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Display recorded event media with the MediaPlayer interface
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="2">VS2008NET_ActionsAndEvents
(Microsoft Visual Studio 2008, C#)
</li>
<li value="3">VS2010NET_ActionsAndEvents (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Handling actions and PLC notifications </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">GSCActions (CodeGear
C++ Builder 6 and 2009)
</li>
<li value="2">SimpleClient (CodeGear Delphi 7, 2005 and 2009)
</li>
<li value="3">ResourceStateMonitor (Delphi
2009)
</li>
<li value="4">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="5">VS2008NET_ActionsAndEvents
(Microsoft Visual Studio 2008, C#)
</li>
<li xmlns="" value="6">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010CPP_ControlBlockingFilters (Microsoft Visual Studio 2010, C++)</p>
</li>
<li value="7">VS2010NET_ActionsAndEvents (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Handling events
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">LiveStream (CodeGear
C++ Builder 6 and 2009)
</li>
<li value="2">GSCLiveStream (Microsoft Visual
Studio 2005, C++, MFC)
</li>
<li value="3">VS2008CPP_ActionsAndEvents
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="4">VS2008NET_ActionsAndEvents
(Microsoft Visual Studio 2008, C#)
</li>
<li value="5">VS2010NET_ActionsAndEvents (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Creating backups
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">Backup (CodeGear Delphi 7 and 2009)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Synchronized display of more than one media
channels
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">SynchPlayback (CodeGear C++ Builder 6 and 2009)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Custom draw in viewers of MediaPlayer
interface
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">SynchPlayback (CodeGear C++ Builder 6 and 2009)
</li>
<li value="2">VS2008CPP_SimpleClient
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="3">VS2008NET_SimpleClient
(Microsoft Visual Studio 2008, C#)
</li>
<li value="4">VS2010NET_SimpleClient (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Export picture data
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">MediaPlayerExport (CodeGear Delphi 7 and 2009)
</li>
<li value="2">MPEGExport (CodeGear
Delphi 7 and 2009)
</li>
<li value="3">VS2008NET_MediaPlayerExport
(Microsoft Visual Studio 2008, C#)
</li>
<li xmlns="" value="4">
<p xmlns="http://www.w3.org/TR/REC-html40">VS2010NET_MediaPlayerExport (Microsoft Visual Studio 2010, C#)</p>
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Control PTZ cams
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">Telecontrol (CodeGear
Delphi 7 and 2009)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Fetch a user blocking list from the server
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">UserBlockingList (CodeGear C++ Builder 6 and 2009)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Decompress live and recorded media with the offscreen viewer
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">OffscreenViewer (CodeGear Delphi 7 and 2009)
</li>
<li value="2">VS2008CPP_OffscreenViewer
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="3"> VS2008CPP_OffscreenViewer_Console (Microsoft Visual Studio 2008, C++) </li>
<li value="4">VS2008NET_OffscreenViewer
(Microsoft Visual Studio 2008, C#)
</li>
<li value="5">VS2010NET_OffscreenViewer (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="BeispielHeader" xmlns="http://www.w3.org/TR/REC-html40">Decompress raw live media by using the DBI</p>
<p class="BeispielHeader" xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">VS2008CPP_RawLiveStreamDecompress (Microsoft Visual Studio 2008, C++, MFC)</li>
<li value="2">VS2008CPP_RawLiveStreamDecompress_Console (Microsoft Visual Studio 2008, C++)</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Create a general service application
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">WindowsService (CodeGear C++ Builder 6 and 2009)
</li>
<li value="2">VS2008CPP_ServiceFrameworkDemo
(Microsoft Visual Studio 2008, C++)
</li>
<li value="3">VS2008NET_ServiceFrameworkDemo
(Microsoft Visual Studio 2008, C#)
</li>
<li value="4">VS2010NET_ServiceFrameworkDemo (Microsoft Visual Studio 2010, C#) </li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Full-duplex audio communication between GeViScope components
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">The AudioBackChannel &#160;GeViScope Server Plugin (Visual Studio 2010) is an example for a GeViScope Server plugin. It
realizes a full-duplex audio communication between different GeViScope components. The full scope of operation can be
found in the document <a href="210ABCDoku.htm" xmlns="http://www.w3.org/TR/REC-html40">Audio Back Channel (ABC) Plugin documentation</a>.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Simulate media channels in GeViScope
servers
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">The MCS (Media Channel Simulator) GeViScope Server Plugin (CodeGear C++ Builder 6) is another example for a GeViScope Server plugin. It shows
how to channel media data inside the GeViScope system
without using special video hardware. In addition the handling of actions
inside a server plugin is demonstrated. The full
scope of operation can be found in the document <a href="211MCSDoku.htm" xmlns="http://www.w3.org/TR/REC-html40">MCS
Documentation</a>.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Simulate a screen saver as a GeviScope
Server Plugin </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">The DelphiScreenSaverPlugin &#160;GeViScope Server Plugin (CodeGear Delphi 7) is another example to demonstrate
channeling media into a GeViScope Server with the
help of a Server Plugin.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Provide a customized data filter dialog in GSCView </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p xmlns="http://www.w3.org/TR/REC-html40">GSCView offers the possibility to integrate customized data filter dialogs.
Data filter dialogs are used to search and filter video footage by additional
event data. They can be customized to the different business environments in
which GeViScope is used. Detailed information can be
found in the document <a href="018GscView_DataFilter_Plugin.htm">GSCView data filter plugins</a>.
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">The following examples demonstrate how to
create customized data filter dialogs:
</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">SimpleGSCViewDataFilter (CodeGear Delphi 7 and 2009)
</li>
<li value="2">GSCViewDataFilter (CodeGear Delphi 7 and 2009)
</li>
<li value="3">VS2008CPP_SimpleGSCViewDataFilter
(Microsoft Visual Studio 2008, C++, MFC)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Presenting GEUTEBRÜCK Backup Files (GBF) </p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">VS2008CPP_SimpleGBFViewer
(Microsoft Visual Studio 2008, C++, MFC)
</li>
<li value="2">SimpleGBFViewer (CodeGear Delphi 2009)
</li>
<li value="3">VS2008NET_SimpleGBFViewer
(Microsoft Visual Studio 2008, C#)
</li>
</ul>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<p class="GutZuWissenHeader" xmlns="http://www.w3.org/TR/REC-html40">Monitor the state of media channels (cameras)
</p>
<p xmlns="http://www.w3.org/TR/REC-html40">&#160;</p>
<ul xmlns="http://www.w3.org/TR/REC-html40">
<li value="1">ResourceStateMonitor (CodeGear Delphi 2009)
</li>
</ul>
</body>
</html>