Develop - GCI - create documentation model 2, using DocFX tool - using .md files - output as html page
@@ -166,6 +166,8 @@
|
||||
<Content Include="docs\images\GCI__Onboarding_Overview_drawio.svg" />
|
||||
<Content Include="docs\images\GCI__Onboarding_Overview_drawio__API_architecture__Current_state.svg" />
|
||||
<Content Include="docs\images\GCI__Onboarding_Overview_drawio__API_architecture__Target_state.svg" />
|
||||
<Content Include="docs\images\GCI__Onboarding_Overview_drawio__Data_collection_domain.svg" />
|
||||
<Content Include="docs\images\GCI__Onboarding_Overview_drawio__Meter_management_domain.svg" />
|
||||
<Content Include="docs\images\logo\logo.png" />
|
||||
<Content Include="docs\images\logo\logo.svg" />
|
||||
<Content Include="docs\images\logo\sensus-logo-white-green-rgb.png" />
|
||||
@@ -222,6 +224,11 @@
|
||||
<None Include="docs\pages\gci\page_gci__implementation_to_tbf.md" />
|
||||
<None Include="docs\pages\gci\page_gci__implementation_universal.md" />
|
||||
<None Include="docs\pages\gci\page_gci__workers.md" />
|
||||
<None Include="docs\pages\platform\page_platform__configuration_domain.md" />
|
||||
<None Include="docs\pages\platform\page_platform__data_collection_domain.md" />
|
||||
<None Include="docs\pages\platform\page_platform__tbf_implementation.md" />
|
||||
<None Include="docs\pages\platform\page_platform__current_state.md" />
|
||||
<None Include="docs\pages\platform\page_platform__home.md" />
|
||||
<None Include="docs\toc.yml" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>API Reference | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="API Reference | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../images/logo/logo.svg" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="api-reference">API Reference</h1>
|
||||
|
||||
<p>Auto-generated API documentation for Genesis Cordonel Interface.</p>
|
||||
<p>Namespaces:</p>
|
||||
<ul>
|
||||
<li>GenesisCordonelInterface.API</li>
|
||||
<li>GenesisCordonelInterface.Core</li>
|
||||
<li>GenesisCordonelInterface.Config</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
<div id="sidetoggle">
|
||||
<div>
|
||||
<div class="sidefilter">
|
||||
<form class="toc-filter">
|
||||
<span class="glyphicon glyphicon-filter filter-icon"></span>
|
||||
<span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
|
||||
<input type="text" id="toc_filter_input" placeholder="Filter by title" onkeypress="if(event.keyCode==13) {return false;}">
|
||||
</form>
|
||||
</div>
|
||||
<div class="sidetoc">
|
||||
<div class="toc" id="toc">
|
||||
|
||||
<ul class="nav level1">
|
||||
<li>
|
||||
<a href="index.html" name="" title="API Reference">API Reference</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,2 +0,0 @@
|
||||
|
||||
{"items":[{"name":"API Reference","href":"index.html","topicHref":"index.html"}]}
|
||||
|
Before Width: | Height: | Size: 858 KiB After Width: | Height: | Size: 7.5 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 7.8 MiB |
|
After Width: | Height: | Size: 10 MiB |
|
After Width: | Height: | Size: 12 MiB |
@@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Genesis Cordonel Interface Documentation | Genesis Cordonel Interface </title>
|
||||
<title>Genesis Meter Platform Documentation | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Genesis Cordonel Interface Documentation | Genesis Cordonel Interface ">
|
||||
<meta name="title" content="Genesis Meter Platform Documentation | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="favicon.ico">
|
||||
@@ -67,16 +67,17 @@
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="genesis-cordonel-interface-documentation">Genesis Cordonel Interface Documentation</h1>
|
||||
<h1 id="genesis-meter-platform-documentation">Genesis Meter Platform Documentation</h1>
|
||||
|
||||
<p>Welcome to the Genesis Cordonel Interface engineering documentation portal.</p>
|
||||
<p>This documentation contains:</p>
|
||||
<p>This documentation describes the architecture, implementation, and evolution of the Genesis Meter Platform.</p>
|
||||
<p>It covers:</p>
|
||||
<ul>
|
||||
<li>software architecture documentation</li>
|
||||
<li>runtime and workflow descriptions</li>
|
||||
<li>internal API structure</li>
|
||||
<li>development evolution notes</li>
|
||||
<li>refactoring and migration tracking</li>
|
||||
<li>platform architecture</li>
|
||||
<li>configuration and data collection domains</li>
|
||||
<li>current implementation state</li>
|
||||
<li>integration into TestBenchFramework</li>
|
||||
<li>development evolution</li>
|
||||
<li>migration and refactoring activities</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="main-documentation-areas">Main Documentation Areas</h2>
|
||||
@@ -89,37 +90,32 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="pages/gci/page_gci__home.html">GCI Documentation</a></td>
|
||||
<td>Runtime architecture, interfaces, workflows and internal system structure.</td>
|
||||
<td><a href="pages/platform/page_platform__home.html">Platform</a></td>
|
||||
<td>Platform architecture, functional domains, current implementation, and TestBenchFramework integration.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="pages/development/page_dev__home.html">Continuous Development</a></td>
|
||||
<td>Current development state, refactoring, migration and future architecture goals.</td>
|
||||
<td>Current and Target architecture comparison, migration strategy, refactoring activities, and future development direction.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
<h2 id="high-level-overview">High-Level Overview</h2>
|
||||
<p><a href="images/GCI__Onboarding_Overview_drawio.svg"><img src="images/GCI__Onboarding_Overview_drawio.svg" alt="GCI Overview"></a></p>
|
||||
<hr>
|
||||
<h2 id="main-topics">Main Topics</h2>
|
||||
<h3 id="gci-documentation">GCI Documentation</h3>
|
||||
<h3 id="platform">Platform</h3>
|
||||
<ul>
|
||||
<li>architecture</li>
|
||||
<li>runtime model</li>
|
||||
<li>workers</li>
|
||||
<li>interfaces</li>
|
||||
<li>DataStorage</li>
|
||||
<li>preadjustment workflows</li>
|
||||
<li>application environment</li>
|
||||
<li>platform overview</li>
|
||||
<li>current state</li>
|
||||
<li>configuration domain</li>
|
||||
<li>data collection domain</li>
|
||||
<li>TestBenchFramework implementation</li>
|
||||
</ul>
|
||||
<h3 id="continuous-development">Continuous Development</h3>
|
||||
<ul>
|
||||
<li>current state</li>
|
||||
<li>target state</li>
|
||||
<li>target architecture</li>
|
||||
<li>migration</li>
|
||||
<li>refactoring</li>
|
||||
<li>ideas and future concepts</li>
|
||||
<li>future concepts</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -82,6 +82,26 @@
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "images/GCI__Onboarding_Overview_drawio__Data_collection_domain.svg",
|
||||
"output": {
|
||||
"resource": {
|
||||
"relative_path": "images/GCI__Onboarding_Overview_drawio__Data_collection_domain.svg"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "images/GCI__Onboarding_Overview_drawio__Meter_management_domain.svg",
|
||||
"output": {
|
||||
"resource": {
|
||||
"relative_path": "images/GCI__Onboarding_Overview_drawio__Meter_management_domain.svg"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "images/GciBridge_component_GUI.png",
|
||||
@@ -292,6 +312,56 @@
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "pages/platform/page_platform__configuration_domain.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "pages/platform/page_platform__configuration_domain.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "pages/platform/page_platform__current_state.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "pages/platform/page_platform__current_state.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "pages/platform/page_platform__data_collection_domain.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "pages/platform/page_platform__data_collection_domain.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "pages/platform/page_platform__home.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "pages/platform/page_platform__home.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "pages/platform/page_platform__tbf_implementation.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "pages/platform/page_platform__tbf_implementation.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "styles/main.css",
|
||||
|
||||
@@ -75,21 +75,32 @@
|
||||
<h3 id="target-state">Target State</h3>
|
||||
<p><img src="../../images/GCI__Onboarding_Overview_drawio__API_architecture__Target_state.svg" alt="Target State"></p>
|
||||
<hr>
|
||||
<h1 id="purpose">Purpose</h1>
|
||||
<p>This section documents the architectural evolution of Genesis Cordonel Interface (GCI).</p>
|
||||
<p>The diagrams above represent two different development phases of the GCI architecture.</p>
|
||||
<p>The first diagram describes the current implementation state, while the second diagram illustrates a potential future architecture based on the foundations established by the current implementation.</p>
|
||||
<h2 id="architectural-context">Architectural Context</h2>
|
||||
<p>The diagrams above represent two stages of the Genesis Cordonel Interface (GCI) evolution.</p>
|
||||
<p>The current architecture was developed to support Genesis meter management within the TestBenchFramework environment. It provides the runtime infrastructure required for meter configuration, workflow execution, diagnostics, and firmware communication.</p>
|
||||
<p>The target architecture illustrates a possible future direction in which the same principles are extended beyond a single application environment, enabling a reusable and integration-independent platform for meter management and data acquisition.</p>
|
||||
<hr>
|
||||
<h1 id="architectural-perspective">Architectural Perspective</h1>
|
||||
<p>From an API architecture perspective, meter interaction can be viewed as two primary functional domains.</p>
|
||||
<h2 id="configuration-domain">Configuration Domain</h2>
|
||||
<p>The configuration domain is responsible for active meter management through bidirectional communication.</p>
|
||||
<p>Typical activities include:</p>
|
||||
<h2 id="why-api-architecture-comes-first">Why API Architecture Comes First</h2>
|
||||
<p>The primary architectural concern is not how meter communication is implemented internally, but how meter functionality is exposed to the surrounding software ecosystem.</p>
|
||||
<p>GCI operates within an environment composed of multiple existing applications, services, and runtime components. As a result, the architecture is evaluated from an API perspective before lower-level implementation details are considered.</p>
|
||||
<p>This approach emphasizes:</p>
|
||||
<ul>
|
||||
<li>clear integration boundaries</li>
|
||||
<li>stable external interfaces</li>
|
||||
<li>reusable functionality</li>
|
||||
<li>predictable behavior</li>
|
||||
<li>minimal coupling between systems</li>
|
||||
</ul>
|
||||
<p>The API architecture therefore defines the foundation on which all implementation decisions are built.</p>
|
||||
<hr>
|
||||
<h2 id="functional-domains">Functional Domains</h2>
|
||||
<p>From an API perspective, meter interaction can be divided into two independent domains.</p>
|
||||
<h3 id="configuration-domain">Configuration Domain</h3>
|
||||
<p>Responsible for active meter management through request-response communication:</p>
|
||||
<ul>
|
||||
<li>meter initialization</li>
|
||||
<li>login procedures</li>
|
||||
<li>connection management</li>
|
||||
<li>firmware register access</li>
|
||||
<li>register access</li>
|
||||
<li>parameter configuration</li>
|
||||
<li>calibration workflows</li>
|
||||
<li>diagnostics</li>
|
||||
@@ -97,66 +108,54 @@
|
||||
<p>Communication is performed through:</p>
|
||||
<pre><code class="lang-text">RequestPort
|
||||
</code></pre>
|
||||
<p>where requests are actively sent to the meter and responses are received from the meter.</p>
|
||||
<hr>
|
||||
<h2 id="data-collection-domain">Data Collection Domain</h2>
|
||||
<p>The data collection domain is responsible for continuous acquisition of measurement data generated by the meter.</p>
|
||||
<p>Typical activities include:</p>
|
||||
<h3 id="data-collection-domain">Data Collection Domain</h3>
|
||||
<p>Responsible for continuous acquisition of measurement data:</p>
|
||||
<ul>
|
||||
<li>measurement streaming</li>
|
||||
<li>runtime monitoring</li>
|
||||
<li>consumption data collection</li>
|
||||
<li>online diagnostics</li>
|
||||
<li>measurement processing</li>
|
||||
</ul>
|
||||
<p>Communication is performed through:</p>
|
||||
<pre><code class="lang-text">StreamPort
|
||||
</code></pre>
|
||||
<p>where the meter continuously transmits measurement data to the receiving system.</p>
|
||||
<hr>
|
||||
<h1 id="current-state-1">Current State</h1>
|
||||
<p>The current architecture represents a practical implementation phase designed to satisfy the original project requirements within the available time constraints and project scope.</p>
|
||||
<p>The current implementation successfully provides:</p>
|
||||
<h2 id="current-state-1">Current State</h2>
|
||||
<p>The current GCI implementation focuses primarily on the Configuration Domain and provides a stable runtime architecture for meter management and workflow execution.</p>
|
||||
<p>The architecture was designed to satisfy the integration requirements of the TestBenchFramework environment developed by Sensus International Stará Turá.</p>
|
||||
<p>Core functionality currently includes:</p>
|
||||
<ul>
|
||||
<li>meter management infrastructure</li>
|
||||
<li>configuration workflows</li>
|
||||
<li>meter communication</li>
|
||||
<li>meter configuration</li>
|
||||
<li>firmware register access</li>
|
||||
<li>calibration workflows</li>
|
||||
<li>diagnostics</li>
|
||||
<li>runtime orchestration</li>
|
||||
<li>worker-based execution</li>
|
||||
<li>register access</li>
|
||||
<li>diagnostics</li>
|
||||
<li>firmware communication</li>
|
||||
</ul>
|
||||
<p>The configuration domain is already integrated into GCI and forms the primary focus of the current runtime architecture.</p>
|
||||
<p>Streaming-related functionality currently remains outside the main GCI runtime architecture and continues to be handled by dedicated external components.</p>
|
||||
<p>This approach allowed the project to establish a stable and reusable runtime foundation while delivering the required functionality.</p>
|
||||
<p>Streaming and measurement acquisition currently remain outside the main GCI runtime and are handled by dedicated external components.</p>
|
||||
<p>This approach allowed the project to establish a stable and reusable foundation while fulfilling the original project requirements.</p>
|
||||
<hr>
|
||||
<h1 id="target-state-1">Target State</h1>
|
||||
<p>The target architecture represents a hypothetical future development phase.</p>
|
||||
<p>It is not a direct implementation plan but rather a long-term architectural direction that builds upon the foundations established by the current state architecture.</p>
|
||||
<p>The objective is to gradually evolve GCI toward a unified runtime platform capable of handling both major functional domains:</p>
|
||||
<ul>
|
||||
<li>configuration</li>
|
||||
<li>data collection</li>
|
||||
</ul>
|
||||
<p>Within a single architectural framework.</p>
|
||||
<p>Such an architecture would enable the creation of a universally implementable platform for Genesis Cordonel meter management and measurement data acquisition.</p>
|
||||
<p>Potential advantages include:</p>
|
||||
<h2 id="target-state-1">Target State</h2>
|
||||
<p>The target architecture represents a potential future evolution of the current solution.</p>
|
||||
<p>The objective is to gradually extend the architecture beyond a single integration environment and move towards a unified platform capable of supporting both configuration and measurement acquisition within a common runtime framework.</p>
|
||||
<p>Potential benefits include:</p>
|
||||
<ul>
|
||||
<li>unified runtime infrastructure</li>
|
||||
<li>common communication abstractions</li>
|
||||
<li>reusable integration interfaces</li>
|
||||
<li>simplified application development</li>
|
||||
<li>reusable communication abstractions</li>
|
||||
<li>simplified integration</li>
|
||||
<li>centralized diagnostics</li>
|
||||
<li>improved maintainability</li>
|
||||
<li>reduced duplication of runtime logic</li>
|
||||
<li>reduced duplication of functionality</li>
|
||||
</ul>
|
||||
<p>The target architecture should therefore be viewed as a long-term direction built upon the foundations established by the current implementation rather than as an immediate implementation goal.</p>
|
||||
<hr>
|
||||
<h1 id="development-philosophy">Development Philosophy</h1>
|
||||
<p>The purpose of the current development effort is not to immediately achieve the target architecture.</p>
|
||||
<p>Instead, the goal is to establish a stable architectural foundation that allows future evolution without large-scale redesigns.</p>
|
||||
<p>The current state should therefore be viewed as the first major architectural milestone rather than a final architecture.</p>
|
||||
<h2 id="development-philosophy">Development Philosophy</h2>
|
||||
<p>The purpose of the current development effort is not to directly achieve the target architecture.</p>
|
||||
<p>Instead, the goal is to establish architectural foundations that allow future evolution without major redesigns.</p>
|
||||
<p>For this reason, the current implementation should be viewed as the first practical realization of a broader architectural concept and an important milestone in the continuous evolution of GCI.</p>
|
||||
<hr>
|
||||
<h1 id="related-pages">Related Pages</h1>
|
||||
<h2 id="related-pages">Related Pages</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title> | Genesis Cordonel Interface </title>
|
||||
<title>Application Environment | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content=" | Genesis Cordonel Interface ">
|
||||
<meta name="title" content="Application Environment | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
@@ -67,7 +67,261 @@
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="application-environment">Application Environment</h1>
|
||||
|
||||
<h2 id="purpose">Purpose</h2>
|
||||
<p>This page describes the application environment in which Genesis Cordonel Interface (GCI) operates.</p>
|
||||
<p>GCI does not exist as an isolated application. It operates inside a broader ecosystem of cooperating applications, runtime services, configuration components, diagnostic tools and meter-related technologies.</p>
|
||||
<hr>
|
||||
<h1 id="high-level-environment-overview">High-Level Environment Overview</h1>
|
||||
<pre><code class="lang-text">TBF Environment
|
||||
│
|
||||
├── User Interfaces
|
||||
├── Technologies
|
||||
├── Peripherals
|
||||
├── Test Methods
|
||||
├── Diagnostic Tools
|
||||
├── Data Readers/Writers
|
||||
├── Cooperating Devices
|
||||
│
|
||||
└── GciBridge
|
||||
↓
|
||||
GCI
|
||||
↓
|
||||
Meter Runtime
|
||||
↓
|
||||
Meter Firmware
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h1 id="environment-philosophy">Environment Philosophy</h1>
|
||||
<p>The TBF ecosystem is based on cooperating runtime components.</p>
|
||||
<p>Each component provides a specific runtime responsibility.</p>
|
||||
<p>Examples:</p>
|
||||
<ul>
|
||||
<li>communication technologies</li>
|
||||
<li>peripheral integrations</li>
|
||||
<li>runtime tools</li>
|
||||
<li>diagnostics</li>
|
||||
<li>workflow execution</li>
|
||||
<li>test methods</li>
|
||||
<li>measurement processing</li>
|
||||
<li>data import/export</li>
|
||||
</ul>
|
||||
<p>Within this environment, GCI acts as the meter runtime communication and orchestration component.</p>
|
||||
<hr>
|
||||
<h1 id="main-environment-areas">Main Environment Areas</h1>
|
||||
<h2 id="user-interface-layer">User Interface Layer</h2>
|
||||
<p>Provides:</p>
|
||||
<ul>
|
||||
<li>operator interaction</li>
|
||||
<li>runtime visualization</li>
|
||||
<li>diagnostics</li>
|
||||
<li>workflow triggering</li>
|
||||
<li>configuration management</li>
|
||||
</ul>
|
||||
<p>Typical applications:</p>
|
||||
<ul>
|
||||
<li>CordonelToolBox</li>
|
||||
<li>PreadjustmentUI</li>
|
||||
<li>engineering tools</li>
|
||||
<li>diagnostic utilities</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="gci-integration-layer">GCI Integration Layer</h2>
|
||||
<p>Implemented through:</p>
|
||||
<pre><code class="lang-text">GciBridge
|
||||
</code></pre>
|
||||
<p>Purpose:</p>
|
||||
<ul>
|
||||
<li>integrate GCI into TBF</li>
|
||||
<li>expose runtime operations</li>
|
||||
<li>provide simplified access to meter infrastructure</li>
|
||||
<li>isolate TBF from GCI internals</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="gci-runtime-layer">GCI Runtime Layer</h2>
|
||||
<p>Provides:</p>
|
||||
<ul>
|
||||
<li>runtime orchestration</li>
|
||||
<li>worker execution</li>
|
||||
<li>slot management</li>
|
||||
<li>diagnostics</li>
|
||||
<li>communication handling</li>
|
||||
<li>workflow execution</li>
|
||||
</ul>
|
||||
<p>Main runtime interfaces:</p>
|
||||
<ul>
|
||||
<li>InterfaceOutsideToGCI</li>
|
||||
<li>InterfaceGCIToLaatzen</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="meter-runtime-layer">Meter Runtime Layer</h2>
|
||||
<p>Responsible for:</p>
|
||||
<ul>
|
||||
<li>meter communication</li>
|
||||
<li>firmware interaction</li>
|
||||
<li>register access</li>
|
||||
<li>PCB identification</li>
|
||||
<li>streaming communication</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="runtime-cooperation-model">Runtime Cooperation Model</h1>
|
||||
<p>The environment is cooperative rather than monolithic.</p>
|
||||
<p>Typical interaction flow:</p>
|
||||
<pre><code class="lang-text">UI Tool
|
||||
↓
|
||||
TBF Component Environment
|
||||
↓
|
||||
GciBridge
|
||||
↓
|
||||
GCI Runtime
|
||||
↓
|
||||
Worker Execution
|
||||
↓
|
||||
Meter Access
|
||||
</code></pre>
|
||||
<p>Each layer focuses on its own responsibility.</p>
|
||||
<hr>
|
||||
<h1 id="runtime-isolation">Runtime Isolation</h1>
|
||||
<p>The environment is designed to isolate runtime responsibilities.</p>
|
||||
<p>Examples:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Layer</th>
|
||||
<th>Responsibility</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>UI</td>
|
||||
<td>visualization and operator interaction</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TBF</td>
|
||||
<td>component orchestration</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GciBridge</td>
|
||||
<td>integration abstraction</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GCI</td>
|
||||
<td>runtime orchestration</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Workers</td>
|
||||
<td>execution isolation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Meter Runtime</td>
|
||||
<td>firmware communication</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
<h1 id="gci-as-a-tbf-component">GCI as a TBF Component</h1>
|
||||
<p>Within the TBF environment, GCI behaves as a cooperating runtime component.</p>
|
||||
<p>GCI provides:</p>
|
||||
<ul>
|
||||
<li>meter runtime access</li>
|
||||
<li>workflow execution</li>
|
||||
<li>diagnostics</li>
|
||||
<li>runtime state management</li>
|
||||
<li>communication infrastructure</li>
|
||||
</ul>
|
||||
<p>The integration is performed through:</p>
|
||||
<ul>
|
||||
<li>GciBridge</li>
|
||||
<li>GciBridgeCfgCtrl</li>
|
||||
<li>TBF component contracts</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="configuration-environment">Configuration Environment</h1>
|
||||
<p>The environment supports configurable runtime components.</p>
|
||||
<p>Example configuration responsibilities:</p>
|
||||
<ul>
|
||||
<li>communication setup</li>
|
||||
<li>slot configuration</li>
|
||||
<li>runtime parameters</li>
|
||||
<li>DataStorage setup</li>
|
||||
<li>diagnostics configuration</li>
|
||||
</ul>
|
||||
<p>Configuration integration is exposed through:</p>
|
||||
<pre><code class="lang-csharp">IComponentCfgCtrl
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h1 id="runtime-technologies">Runtime Technologies</h1>
|
||||
<p>The environment may contain multiple technologies cooperating together.</p>
|
||||
<p>Examples:</p>
|
||||
<ul>
|
||||
<li>serial communication</li>
|
||||
<li>streaming communication</li>
|
||||
<li>firmware access</li>
|
||||
<li>calibration workflows</li>
|
||||
<li>measurement processing</li>
|
||||
<li>runtime diagnostics</li>
|
||||
</ul>
|
||||
<p>GCI acts as the central meter communication runtime within this ecosystem.</p>
|
||||
<hr>
|
||||
<h1 id="data-flow-model">Data Flow Model</h1>
|
||||
<p>Typical runtime data flow:</p>
|
||||
<pre><code class="lang-text">Measurement Source
|
||||
↓
|
||||
Meter Runtime
|
||||
↓
|
||||
GCI
|
||||
↓
|
||||
TBF Components
|
||||
↓
|
||||
Data Readers/Writers
|
||||
↓
|
||||
Storage / Visualization
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h1 id="long-term-direction">Long-Term Direction</h1>
|
||||
<p>The long-term goal is to evolve GCI into a more isolated and reusable runtime platform while preserving compatibility with the TBF component ecosystem.</p>
|
||||
<p>Future goals:</p>
|
||||
<ul>
|
||||
<li>modular runtime services</li>
|
||||
<li>improved isolation</li>
|
||||
<li>reusable integration interfaces</li>
|
||||
<li>provider-based architecture</li>
|
||||
<li>improved diagnostics</li>
|
||||
<li>scalable runtime orchestration</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="related-pages">Related Pages</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="page_gci__home.html">GCI Documentation</a></td>
|
||||
<td>Main onboarding and overview page.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_gci__implementation_to_tbf.html">Implementation into TBF</a></td>
|
||||
<td>Integration of GCI into the TBF environment.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_gci__internal_architecture.html">Internal Architecture</a></td>
|
||||
<td>Runtime layers and orchestration model.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_gci__interfaces.html">Interfaces</a></td>
|
||||
<td>Public and internal GCI interfaces.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_gci__workers.html">Workers</a></td>
|
||||
<td>Worker execution and isolation model.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
@@ -0,0 +1,214 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Configuration Domain | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Configuration Domain | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link rel="stylesheet" href="../../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../../public/main.css">
|
||||
<meta name="docfx:navrel" content="../../toc.html">
|
||||
<meta name="docfx:tocrel" content="../../toc.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../../index.html">
|
||||
<img id="logo" class="svg" src="../../images/logo/logo.svg" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="configuration-domain">Configuration Domain</h1>
|
||||
|
||||
<p><img src="../../images/GCI__Onboarding_Overview_drawio__Meter_management_domain.svg" alt="Current State"></p>
|
||||
<h2 id="overview">Overview</h2>
|
||||
<p>The Configuration Domain is responsible for active meter management through request-response communication.</p>
|
||||
<p>Its purpose is to provide controlled access to meter functionality exposed by the firmware. Operations are initiated by the application and executed through explicit requests sent to the meter.</p>
|
||||
<p>This domain is used whenever meter configuration, diagnostics, calibration, or maintenance operations are required.</p>
|
||||
<hr>
|
||||
<h2 id="communication-model">Communication Model</h2>
|
||||
<p>The Configuration Domain operates through a request-response communication channel.</p>
|
||||
<pre><code class="lang-text">Application
|
||||
│
|
||||
▼
|
||||
Configuration Domain
|
||||
│
|
||||
▼
|
||||
RequestPort
|
||||
│
|
||||
▼
|
||||
Meter
|
||||
</code></pre>
|
||||
<p>Each operation is initiated by the application, transmitted to the meter, and completed after a corresponding response is received.</p>
|
||||
<p>Typical examples include:</p>
|
||||
<ul>
|
||||
<li>reading firmware registers</li>
|
||||
<li>writing configuration parameters</li>
|
||||
<li>executing calibration procedures</li>
|
||||
<li>meter diagnostics</li>
|
||||
<li>maintenance operations</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="current-implementation">Current Implementation</h2>
|
||||
<p>The current implementation is based on the Genesis Cordonel Interface (GCI).</p>
|
||||
<p>GCI provides a runtime environment that exposes meter functionality through a consistent programming interface while separating application logic from low-level communication details.</p>
|
||||
<p>The implementation consists of several logical layers.</p>
|
||||
<pre><code class="lang-text">Application
|
||||
│
|
||||
▼
|
||||
GciBridge
|
||||
│
|
||||
▼
|
||||
GCI
|
||||
│
|
||||
▼
|
||||
Laatzen Libraries
|
||||
│
|
||||
▼
|
||||
RequestPort
|
||||
│
|
||||
▼
|
||||
Meter
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h2 id="gci">GCI</h2>
|
||||
<p>Genesis Cordonel Interface (GCI) serves as the central runtime component of the Configuration Domain.</p>
|
||||
<p>Its primary responsibility is orchestration of meter-related operations.</p>
|
||||
<p>GCI provides:</p>
|
||||
<ul>
|
||||
<li>runtime management</li>
|
||||
<li>worker execution</li>
|
||||
<li>interface abstraction</li>
|
||||
<li>configuration handling</li>
|
||||
<li>execution flow control</li>
|
||||
<li>communication coordination</li>
|
||||
</ul>
|
||||
<p>GCI does not directly implement all meter-specific functionality. Instead, it provides the infrastructure through which such functionality can be executed.</p>
|
||||
<hr>
|
||||
<h2 id="laatzen-libraries">Laatzen Libraries</h2>
|
||||
<p>Meter-specific functionality is implemented within dedicated action and type libraries originating from the Laatzen project.</p>
|
||||
<p>These libraries contain:</p>
|
||||
<ul>
|
||||
<li>meter commands</li>
|
||||
<li>protocol implementations</li>
|
||||
<li>calibration procedures</li>
|
||||
<li>firmware interactions</li>
|
||||
<li>meter-specific data structures</li>
|
||||
</ul>
|
||||
<p>GCI exposes these capabilities through a unified runtime architecture.</p>
|
||||
<p>This separation allows meter functionality to remain independent from application-specific implementations.</p>
|
||||
<hr>
|
||||
<h2 id="gcibridge">GciBridge</h2>
|
||||
<p>Within the current TestBenchFramework environment, GCI is accessed through the GciBridge component.</p>
|
||||
<p>GciBridge acts as an integration layer between the application and the GCI runtime.</p>
|
||||
<p>Responsibilities include:</p>
|
||||
<ul>
|
||||
<li>exposing GCI functionality to TBF</li>
|
||||
<li>adapting application workflows</li>
|
||||
<li>simplifying integration</li>
|
||||
<li>isolating TBF from internal GCI implementation details</li>
|
||||
</ul>
|
||||
<p>As a result, the application interacts with GciBridge while GCI remains responsible for runtime orchestration and communication management.</p>
|
||||
<hr>
|
||||
<h2 id="architectural-characteristics">Architectural Characteristics</h2>
|
||||
<p>The current Configuration Domain architecture provides:</p>
|
||||
<ul>
|
||||
<li>clear separation between application logic and communication logic</li>
|
||||
<li>reusable runtime infrastructure</li>
|
||||
<li>modular meter functionality</li>
|
||||
<li>application-independent communication services</li>
|
||||
<li>simplified integration into external environments</li>
|
||||
</ul>
|
||||
<p>This architecture allows meter functionality to evolve independently from the applications that consume it.</p>
|
||||
<hr>
|
||||
<h2 id="summary">Summary</h2>
|
||||
<p>The Configuration Domain currently consists of the following major components:</p>
|
||||
<pre><code class="lang-text">Configuration Domain
|
||||
|
||||
├── GciBridge
|
||||
│
|
||||
├── GCI
|
||||
│ ├── Runtime
|
||||
│ ├── Workers
|
||||
│ ├── Interfaces
|
||||
│ └── DataStorage
|
||||
│
|
||||
└── Laatzen Libraries
|
||||
├── Actions
|
||||
└── Types
|
||||
</code></pre>
|
||||
<p>Together, these components provide the complete request-response infrastructure required for Genesis meter configuration, diagnostics, calibration, and maintenance operations.</p>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>GCI Documentation | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="GCI Documentation | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link rel="stylesheet" href="../../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../../public/main.css">
|
||||
<meta name="docfx:navrel" content="../../toc.html">
|
||||
<meta name="docfx:tocrel" content="../../toc.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../../index.html">
|
||||
<img id="logo" class="svg" src="../../images/logo/logo.svg" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="gci-documentation">GCI Documentation</h1>
|
||||
|
||||
<h2 id="gci-onboarding-overview">GCI Onboarding Overview</h2>
|
||||
<p><a href="../../images/GCI__Onboarding_Overview_drawio.svg"><img src="../../images/GCI__Onboarding_Overview_drawio.svg" alt="GCI Overview"></a></p>
|
||||
<hr>
|
||||
<h1 id="what-is-gci">What is GCI?</h1>
|
||||
<p>Genesis Cordonel Interface (GCI) is a software layer responsible for:</p>
|
||||
<ul>
|
||||
<li>meter communication</li>
|
||||
<li>firmware interaction</li>
|
||||
<li>runtime slot management</li>
|
||||
<li>register access</li>
|
||||
<li>workflow execution</li>
|
||||
<li>diagnostics</li>
|
||||
<li>API integration</li>
|
||||
</ul>
|
||||
<p>GCI acts as an integration bridge between external applications and internal meter infrastructure.</p>
|
||||
<p>The architecture evolved from legacy TBF-based implementations toward a more modular and reusable runtime-oriented platform.</p>
|
||||
<hr>
|
||||
<h1 id="high-level-architecture">High-Level Architecture</h1>
|
||||
<pre><code class="lang-text">External Applications
|
||||
↓
|
||||
InterfaceOutsideToGCI
|
||||
↓
|
||||
InterfaceGCIToLaatzen
|
||||
↓
|
||||
ApiWorker
|
||||
↓
|
||||
MeterBatch
|
||||
↓
|
||||
GenesisMeter
|
||||
↓
|
||||
Firmware
|
||||
</code></pre>
|
||||
<p>The architecture intentionally separates:</p>
|
||||
<ul>
|
||||
<li>external API exposure</li>
|
||||
<li>runtime orchestration</li>
|
||||
<li>worker execution</li>
|
||||
<li>communication handling</li>
|
||||
<li>firmware interaction</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="main-runtime-responsibilities">Main Runtime Responsibilities</h1>
|
||||
<p>GCI provides runtime infrastructure for:</p>
|
||||
<ul>
|
||||
<li>slot initialization</li>
|
||||
<li>meter login</li>
|
||||
<li>meter connection management</li>
|
||||
<li>register read/write access</li>
|
||||
<li>PCB identification</li>
|
||||
<li>communication port detection</li>
|
||||
<li>diagnostics and monitoring</li>
|
||||
<li>worker execution isolation</li>
|
||||
<li>preadjustment workflow execution</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="main-areas">Main Areas</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Area</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<hr>
|
||||
<h1 id="runtime-philosophy">Runtime Philosophy</h1>
|
||||
<p>GCI is designed as a runtime-oriented system rather than a static communication library.</p>
|
||||
<p>Key architectural principles:</p>
|
||||
<ul>
|
||||
<li>isolated slot execution</li>
|
||||
<li>worker-based runtime model</li>
|
||||
<li>interface separation</li>
|
||||
<li>centralized orchestration</li>
|
||||
<li>runtime diagnostics</li>
|
||||
<li>reusable integration interfaces</li>
|
||||
<li>modular communication layers</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="typical-runtime-flow">Typical Runtime Flow</h1>
|
||||
<pre><code class="lang-text">Initialize Slot
|
||||
↓
|
||||
Login
|
||||
↓
|
||||
Connect
|
||||
↓
|
||||
Read/Write Registers
|
||||
↓
|
||||
Execute Workflows
|
||||
↓
|
||||
Disconnect
|
||||
↓
|
||||
Clean Slot
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h1 id="worker-based-execution-model">Worker-Based Execution Model</h1>
|
||||
<p>All slot operations are executed through dedicated workers.</p>
|
||||
<p>Purpose:</p>
|
||||
<ul>
|
||||
<li>prevent concurrent meter access</li>
|
||||
<li>isolate slot execution</li>
|
||||
<li>serialize operations</li>
|
||||
<li>provide cancellation support</li>
|
||||
<li>improve runtime stability</li>
|
||||
</ul>
|
||||
<p>Typical execution flow:</p>
|
||||
<pre><code class="lang-text">API Request
|
||||
↓
|
||||
ApiWorker
|
||||
↓
|
||||
MeterBatch
|
||||
↓
|
||||
GenesisMeter
|
||||
↓
|
||||
Firmware
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h1 id="communication-model">Communication Model</h1>
|
||||
<p>GCI supports multiple communication channels.</p>
|
||||
<h2 id="request-port">Request Port</h2>
|
||||
<p>Used for:</p>
|
||||
<ul>
|
||||
<li>login</li>
|
||||
<li>register access</li>
|
||||
<li>PCB identification</li>
|
||||
<li>runtime commands</li>
|
||||
</ul>
|
||||
<h2 id="streaming-port">Streaming Port</h2>
|
||||
<p>Used for:</p>
|
||||
<ul>
|
||||
<li>measurement streaming</li>
|
||||
<li>online data acquisition</li>
|
||||
<li>continuous runtime monitoring</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="integration-philosophy">Integration Philosophy</h1>
|
||||
<p>GCI is intended to provide a stable and reusable integration layer for external systems.</p>
|
||||
<p>Typical integrations:</p>
|
||||
<ul>
|
||||
<li>TBF-based systems</li>
|
||||
<li>Lautzen solutions</li>
|
||||
<li>standalone UI applications</li>
|
||||
<li>diagnostic utilities</li>
|
||||
<li>calibration workflows</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="documentation-structure">Documentation Structure</h1>
|
||||
<p>This documentation is divided into two major areas.</p>
|
||||
<h2 id="gci-documentation-1">GCI Documentation</h2>
|
||||
<p>Describes:</p>
|
||||
<ul>
|
||||
<li>runtime architecture</li>
|
||||
<li>interfaces</li>
|
||||
<li>execution model</li>
|
||||
<li>workers</li>
|
||||
<li>communication</li>
|
||||
<li>workflows</li>
|
||||
</ul>
|
||||
<h2 id="continuous-development">Continuous Development</h2>
|
||||
<p>Describes:</p>
|
||||
<ul>
|
||||
<li>current development state</li>
|
||||
<li>architecture evolution</li>
|
||||
<li>migration goals</li>
|
||||
<li>refactoring activities</li>
|
||||
<li>future concepts</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="related-pages">Related Pages</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title> | Genesis Cordonel Interface </title>
|
||||
<title>Data Collection Domain | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content=" | Genesis Cordonel Interface ">
|
||||
<meta name="title" content="Data Collection Domain | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
@@ -67,7 +67,24 @@
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="data-collection-domain">Data Collection Domain</h1>
|
||||
|
||||
<p><img src="../../images/GCI__Onboarding_Overview_drawio__Data_collection_domain.svg" alt="Current State"></p>
|
||||
<h2 id="overview">Overview</h2>
|
||||
<p>The Data Collection Domain is responsible for acquiring and processing measurement data generated by Genesis meters.</p>
|
||||
<p>Unlike the Configuration Domain, which actively communicates with the meter through request-response operations, the Data Collection Domain continuously receives measurement data transmitted by the meter.</p>
|
||||
<h2 id="current-implementation">Current Implementation</h2>
|
||||
<p>The current implementation of the Data Collection Domain is based on the SmartRegisterReader component.</p>
|
||||
<p>SmartRegisterReader is responsible for acquiring and evaluating measurement data after the meter has been configured and a measurement process has been started.</p>
|
||||
<p>Each initialized meter is associated with its own dedicated SmartRegisterReader instance. This allows multiple meters to be monitored simultaneously while keeping measurement acquisition independent for each device.</p>
|
||||
<p>Every SmartRegisterReader instance maintains direct access to the communication channel associated with the corresponding meter. Measurement data is received through the meter streaming serial interface, which is exposed to the operating system as a dedicated COM port.</p>
|
||||
<p>In the current TestBenchFramework environment, the physical serial communication is provided through MOXA serial device servers, which convert the meter's streaming serial connection into a network-accessible COM port interface.</p>
|
||||
<p>At the current stage of development, SmartRegisterReader operates independently from the Configuration Domain.</p>
|
||||
<h2 id="relationship-to-the-configuration-domain">Relationship to the Configuration Domain</h2>
|
||||
<p>The Genesis Meter Platform currently consists of two independent functional domains.</p>
|
||||
<p>The Configuration Domain is responsible for meter management, configuration, calibration, and diagnostics through request-response communication.</p>
|
||||
<p>The Data Collection Domain is responsible for measurement acquisition and monitoring through the streaming communication interface.</p>
|
||||
<p>Together, these domains provide complete access to Genesis meter functionality.</p>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -0,0 +1,172 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Genesis Meter Platform | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Genesis Meter Platform | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link rel="stylesheet" href="../../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../../public/main.css">
|
||||
<meta name="docfx:navrel" content="../../toc.html">
|
||||
<meta name="docfx:tocrel" content="../../toc.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../../index.html">
|
||||
<img id="logo" class="svg" src="../../images/logo/logo.svg" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="genesis-meter-platform">Genesis Meter Platform</h1>
|
||||
|
||||
<p>The Genesis Meter Platform represents the complete software ecosystem used for communication, configuration, monitoring, and data acquisition from Genesis meters.</p>
|
||||
<p>The platform currently consists of two primary functional domains:</p>
|
||||
<ul>
|
||||
<li>Configuration Domain</li>
|
||||
<li>Data Collection Domain</li>
|
||||
</ul>
|
||||
<p>Together, these domains provide the complete functionality required for meter interaction throughout development, testing, calibration, diagnostics, and measurement acquisition workflows.</p>
|
||||
<hr>
|
||||
<h2 id="platform-overview">Platform Overview</h2>
|
||||
<pre><code class="lang-text">Genesis Meter Platform
|
||||
|
||||
├── Configuration Domain
|
||||
│ ├── GciBridge
|
||||
│ ├── GCI
|
||||
│ └── Laatzen Libraries
|
||||
│
|
||||
└── Data Collection Domain
|
||||
└── SmartRegisterReader
|
||||
</code></pre>
|
||||
<h3 id="configuration-domain">Configuration Domain</h3>
|
||||
<p>The Configuration Domain provides active meter management through request-response communication.</p>
|
||||
<p>Its primary purpose is to execute operations that require direct interaction with meter firmware, including:</p>
|
||||
<ul>
|
||||
<li>meter initialization</li>
|
||||
<li>login procedures</li>
|
||||
<li>firmware register access</li>
|
||||
<li>parameter configuration</li>
|
||||
<li>calibration workflows</li>
|
||||
<li>diagnostics</li>
|
||||
</ul>
|
||||
<p>The central runtime component of this domain is the Genesis Cordonel Interface (GCI), which provides a unified programming interface and runtime environment for meter-related operations.</p>
|
||||
<p>Within the current production environment, GCI is integrated into TestBenchFramework through the GciBridge component.</p>
|
||||
<h3 id="data-collection-domain">Data Collection Domain</h3>
|
||||
<p>The Data Collection Domain provides continuous acquisition and processing of measurement data transmitted by the meter.</p>
|
||||
<p>Its primary responsibilities include:</p>
|
||||
<ul>
|
||||
<li>stream acquisition</li>
|
||||
<li>measurement extraction</li>
|
||||
<li>data evaluation</li>
|
||||
<li>runtime monitoring</li>
|
||||
<li>diagnostics</li>
|
||||
</ul>
|
||||
<p>The central component of this domain is SmartRegisterReader, which independently handles streaming communication and measurement processing.</p>
|
||||
<hr>
|
||||
<h2 id="architectural-principle">Architectural Principle</h2>
|
||||
<p>The platform is intentionally divided into two independent domains.</p>
|
||||
<p>This separation allows configuration-related functionality and measurement-data processing to evolve independently while maintaining clear responsibility boundaries and reducing runtime complexity.</p>
|
||||
<p>Although implemented as separate solutions, both domains serve a common purpose: providing complete access to Genesis meter functionality.</p>
|
||||
<hr>
|
||||
<h2 id="related-pages">Related Pages</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="page_platform__current_state.html">Current State</a></td>
|
||||
<td>Current platform architecture and implementation.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__configuration_domain.html">Configuration Domain</a></td>
|
||||
<td>Meter configuration and management architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__data_collection_domain.html">Data Collection Domain</a></td>
|
||||
<td>Measurement acquisition and processing architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__tbf_implementation.html">TBF Implementation</a></td>
|
||||
<td>Current integration of the platform into TestBenchFramework.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>TBF Implementation | Genesis Cordonel Interface </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="TBF Implementation | Genesis Cordonel Interface ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../favicon.ico">
|
||||
<link rel="stylesheet" href="../../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../../public/main.css">
|
||||
<meta name="docfx:navrel" content="../../toc.html">
|
||||
<meta name="docfx:tocrel" content="../../toc.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../../index.html">
|
||||
<img id="logo" class="svg" src="../../images/logo/logo.svg" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="tbf-implementation">TBF Implementation</h1>
|
||||
|
||||
<h2 id="overview">Overview</h2>
|
||||
<p>The current production implementation of the Genesis Meter Platform is integrated into the TestBenchFramework (TBF) environment.</p>
|
||||
<p>This implementation combines the Configuration Domain and the Data Collection Domain into a single application environment while keeping their responsibilities separated.</p>
|
||||
<p>The objective is to provide a complete set of tools required for meter configuration, calibration, diagnostics, testing, and measurement acquisition.</p>
|
||||
<hr>
|
||||
<h2 id="high-level-architecture">High-Level Architecture</h2>
|
||||
<pre><code class="lang-text">TestBenchFramework
|
||||
|
||||
├── Configuration Domain
|
||||
│ └── GciBridge (TBF Component)
|
||||
│ └── GCI (external library)
|
||||
│ └── Laatzen Libraries (external libraries)
|
||||
│ └── requestingPort
|
||||
└── Data Collection Domain
|
||||
└── SmartRegisterReader (TBF Component)
|
||||
└── streamingPort
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h2 id="configuration-domain-integration">Configuration Domain Integration</h2>
|
||||
<p>The Configuration Domain is integrated into TestBenchFramework through the GciBridge component.</p>
|
||||
<p>GciBridge acts as an adapter layer between the TestBenchFramework application and the Genesis Cordonel Interface (GCI).</p>
|
||||
<p>Its primary responsibilities include:</p>
|
||||
<ul>
|
||||
<li>exposing meter operations to TBF</li>
|
||||
<li>translating application workflows into GCI requests</li>
|
||||
<li>managing runtime interaction with GCI</li>
|
||||
<li>isolating TBF from internal GCI implementation details</li>
|
||||
</ul>
|
||||
<p>The actual meter functionality is provided by GCI and the underlying Laatzen libraries.</p>
|
||||
<p>This architecture allows TestBenchFramework to access meter configuration capabilities through a stable and application-specific interface while preserving the independence of the GCI runtime.</p>
|
||||
<hr>
|
||||
<h2 id="data-collection-domain-integration">Data Collection Domain Integration</h2>
|
||||
<p>The Data Collection Domain is implemented through SmartRegisterReader.</p>
|
||||
<p>SmartRegisterReader is responsible for acquiring, decoding, and evaluating measurement data received through the meter streaming interface.</p>
|
||||
<p>Its responsibilities include:</p>
|
||||
<ul>
|
||||
<li>stream reception</li>
|
||||
<li>protocol decoding</li>
|
||||
<li>register extraction</li>
|
||||
<li>measurement evaluation</li>
|
||||
<li>diagnostic data processing</li>
|
||||
<li>runtime monitoring</li>
|
||||
</ul>
|
||||
<p>Unlike the Configuration Domain, SmartRegisterReader operates independently from GCI and communicates directly with the streaming interface.</p>
|
||||
<hr>
|
||||
<h2 id="architectural-benefits">Architectural Benefits</h2>
|
||||
<p>The current implementation provides several advantages:</p>
|
||||
<ul>
|
||||
<li>clear separation between configuration and measurement acquisition</li>
|
||||
<li>independent development of both domains</li>
|
||||
<li>simplified maintenance</li>
|
||||
<li>reusable platform components</li>
|
||||
<li>straightforward integration into TestBenchFramework</li>
|
||||
</ul>
|
||||
<p>The separation also allows each domain to evolve independently while remaining part of the same overall platform architecture.</p>
|
||||
<hr>
|
||||
<h2 id="current-usage">Current Usage</h2>
|
||||
<p>Within TestBenchFramework:</p>
|
||||
<ul>
|
||||
<li>GciBridge provides access to meter configuration functionality</li>
|
||||
<li>GCI provides runtime orchestration and communication services</li>
|
||||
<li>Laatzen libraries provide meter-specific functionality</li>
|
||||
<li>SmartRegisterReader provides streaming data acquisition and evaluation</li>
|
||||
</ul>
|
||||
<p>Together, these components form the current implementation of the Genesis Meter Platform.</p>
|
||||
<hr>
|
||||
<h2 id="related-pages">Related Pages</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="page_platform__home.html">Platform Home</a></td>
|
||||
<td>Platform overview and architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__current_state.html">Current State</a></td>
|
||||
<td>Current platform architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__configuration_domain.html">Configuration Domain</a></td>
|
||||
<td>Request-response communication architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="page_platform__data_collection_domain.html">Data Collection Domain</a></td>
|
||||
<td>Streaming communication architecture.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="../gci/page_gci__home.html">GCI Documentation</a></td>
|
||||
<td>Detailed GCI implementation documentation.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -17,32 +17,20 @@
|
||||
</li>
|
||||
<li>
|
||||
<span class="expand-stub"></span>
|
||||
<a href="pages/gci/page_gci__home.html" name="" title="GCI Documentation">GCI Documentation</a>
|
||||
<a href="pages/platform/page_platform__home.html" name="" title="Platform">Platform</a>
|
||||
|
||||
<ul class="nav level2">
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__app_environment.html" name="" title="Application Environment">Application Environment</a>
|
||||
<a href="pages/platform/page_platform__current_state.html" name="" title="Current State">Current State</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__datastorage.html" name="" title="DataStorage">DataStorage</a>
|
||||
<a href="pages/platform/page_platform__configuration_domain.html" name="" title="Configuration Domain">Configuration Domain</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__interfaces.html" name="" title="Interfaces">Interfaces</a>
|
||||
<a href="pages/platform/page_platform__data_collection_domain.html" name="" title="Data Collection Domain">Data Collection Domain</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__internal_architecture.html" name="" title="Internal Architecture">Internal Architecture</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__runtime.html" name="" title="Runtime">Runtime</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__workers.html" name="" title="Workers">Workers</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__implementation_to_tbf.html" name="" title="Implementation To TBF">Implementation To TBF</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/gci/page_gci__implementation_universal.html" name="" title="Universal Implementation">Universal Implementation</a>
|
||||
<a href="pages/platform/page_platform__tbf_implementation.html" name="" title="TBF Implementation">TBF Implementation</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -52,10 +40,10 @@
|
||||
|
||||
<ul class="nav level2">
|
||||
<li>
|
||||
<a href="pages/development/page_dev__current_state.html" name="" title="Current State">Current State</a>
|
||||
<a href="pages/development/page_dev__target_state.html" name="" title="Target State">Target State</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/development/page_dev__target_state.html" name="" title="Target State">Target State</a>
|
||||
<a href="pages/development/page_dev__target_architecture.html" name="" title="Target Architecture">Target Architecture</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/development/page_dev__migration.html" name="" title="Migration">Migration</a>
|
||||
@@ -63,9 +51,6 @@
|
||||
<li>
|
||||
<a href="pages/development/page_dev__refactoring.html" name="" title="Refactoring">Refactoring</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="pages/development/page_dev__target_architecture.html" name="" title="Target Architecture">Target Architecture</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
|
||||
{"items":[{"name":"Home","href":"index.html","topicHref":"index.html"},{"name":"GCI Documentation","href":"pages/gci/page_gci__home.html","topicHref":"pages/gci/page_gci__home.html","items":[{"name":"Application Environment","href":"pages/gci/page_gci__app_environment.html","topicHref":"pages/gci/page_gci__app_environment.html"},{"name":"DataStorage","href":"pages/gci/page_gci__datastorage.html","topicHref":"pages/gci/page_gci__datastorage.html"},{"name":"Interfaces","href":"pages/gci/page_gci__interfaces.html","topicHref":"pages/gci/page_gci__interfaces.html"},{"name":"Internal Architecture","href":"pages/gci/page_gci__internal_architecture.html","topicHref":"pages/gci/page_gci__internal_architecture.html"},{"name":"Runtime","href":"pages/gci/page_gci__runtime.html","topicHref":"pages/gci/page_gci__runtime.html"},{"name":"Workers","href":"pages/gci/page_gci__workers.html","topicHref":"pages/gci/page_gci__workers.html"},{"name":"Implementation To TBF","href":"pages/gci/page_gci__implementation_to_tbf.html","topicHref":"pages/gci/page_gci__implementation_to_tbf.html"},{"name":"Universal Implementation","href":"pages/gci/page_gci__implementation_universal.html","topicHref":"pages/gci/page_gci__implementation_universal.html"}]},{"name":"Continuous Development","href":"pages/development/page_dev__home.html","topicHref":"pages/development/page_dev__home.html","items":[{"name":"Current State","href":"pages/development/page_dev__current_state.html","topicHref":"pages/development/page_dev__current_state.html"},{"name":"Target State","href":"pages/development/page_dev__target_state.html","topicHref":"pages/development/page_dev__target_state.html"},{"name":"Migration","href":"pages/development/page_dev__migration.html","topicHref":"pages/development/page_dev__migration.html"},{"name":"Refactoring","href":"pages/development/page_dev__refactoring.html","topicHref":"pages/development/page_dev__refactoring.html"},{"name":"Target Architecture","href":"pages/development/page_dev__target_architecture.html","topicHref":"pages/development/page_dev__target_architecture.html"}]}]}
|
||||
{"items":[{"name":"Home","href":"index.html","topicHref":"index.html"},{"name":"Platform","href":"pages/platform/page_platform__home.html","topicHref":"pages/platform/page_platform__home.html","items":[{"name":"Current State","href":"pages/platform/page_platform__current_state.html","topicHref":"pages/platform/page_platform__current_state.html"},{"name":"Configuration Domain","href":"pages/platform/page_platform__configuration_domain.html","topicHref":"pages/platform/page_platform__configuration_domain.html"},{"name":"Data Collection Domain","href":"pages/platform/page_platform__data_collection_domain.html","topicHref":"pages/platform/page_platform__data_collection_domain.html"},{"name":"TBF Implementation","href":"pages/platform/page_platform__tbf_implementation.html","topicHref":"pages/platform/page_platform__tbf_implementation.html"}]},{"name":"Continuous Development","href":"pages/development/page_dev__home.html","topicHref":"pages/development/page_dev__home.html","items":[{"name":"Target State","href":"pages/development/page_dev__target_state.html","topicHref":"pages/development/page_dev__target_state.html"},{"name":"Target Architecture","href":"pages/development/page_dev__target_architecture.html","topicHref":"pages/development/page_dev__target_architecture.html"},{"name":"Migration","href":"pages/development/page_dev__migration.html","topicHref":"pages/development/page_dev__migration.html"},{"name":"Refactoring","href":"pages/development/page_dev__refactoring.html","topicHref":"pages/development/page_dev__refactoring.html"}]}]}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"api/index.md",
|
||||
"articles/**.md",
|
||||
"pages/gci/**.md",
|
||||
"pages/platform/**.md",
|
||||
"pages/development/**.md",
|
||||
"index.md",
|
||||
"toc.yml"
|
||||
|
||||
|
Before Width: | Height: | Size: 858 KiB After Width: | Height: | Size: 7.5 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 7.8 MiB |
|
After Width: | Height: | Size: 10 MiB |
|
After Width: | Height: | Size: 12 MiB |
@@ -1,12 +1,15 @@
|
||||
# Genesis Cordonel Interface Documentation
|
||||
# Genesis Meter Platform Documentation
|
||||
|
||||
This documentation contains:
|
||||
This documentation describes the architecture, implementation, and evolution of the Genesis Meter Platform.
|
||||
|
||||
- software architecture documentation
|
||||
- runtime and workflow descriptions
|
||||
- internal API structure
|
||||
- development evolution notes
|
||||
- refactoring and migration tracking
|
||||
It covers:
|
||||
|
||||
- platform architecture
|
||||
- configuration and data collection domains
|
||||
- current implementation state
|
||||
- integration into TestBenchFramework
|
||||
- development evolution
|
||||
- migration and refactoring activities
|
||||
|
||||
---
|
||||
|
||||
@@ -14,27 +17,25 @@ This documentation contains:
|
||||
|
||||
| Area | Description |
|
||||
|---|---|
|
||||
| [GCI Documentation](pages/gci/page_gci__home.md) | Runtime architecture, interfaces, workflows and internal system structure. |
|
||||
| [Continuous Development](pages/development/page_dev__home.md) | Current and Target development state, refactoring, migration and future architecture goals. |
|
||||
| [Platform](pages/platform/page_platform__home.md) | Platform architecture, functional domains, current implementation, and TestBenchFramework integration. |
|
||||
| [Continuous Development](pages/development/page_dev__home.md) | Current and Target architecture comparison, migration strategy, refactoring activities, and future development direction. |
|
||||
|
||||
---
|
||||
|
||||
## Main Topics
|
||||
|
||||
### GCI Documentation
|
||||
### Platform
|
||||
|
||||
- architecture
|
||||
- runtime model
|
||||
- workers
|
||||
- interfaces
|
||||
- DataStorage
|
||||
- preadjustment workflows
|
||||
- application environment
|
||||
- platform overview
|
||||
- current state
|
||||
- configuration domain
|
||||
- data collection domain
|
||||
- TestBenchFramework implementation
|
||||
|
||||
### Continuous Development
|
||||
|
||||
- current state
|
||||
- target state
|
||||
- target architecture
|
||||
- migration
|
||||
- refactoring
|
||||
- ideas and future concepts
|
||||
- future concepts
|
||||
@@ -258,8 +258,8 @@ Future goals:
|
||||
|
||||
| Page | Description |
|
||||
|---|---|
|
||||
| [GCI Documentation](page_gci_home.md) | Main onboarding and overview page. |
|
||||
| [GCI Documentation](page_gci__home.md) | Main onboarding and overview page. |
|
||||
| [Implementation into TBF](page_gci__implementation_to_tbf.md) | Integration of GCI into the TBF environment. |
|
||||
| [Internal Architecture](page_gci_internal_architecture.md) | Runtime layers and orchestration model. |
|
||||
| [Interfaces](page_gci_interfaces.md) | Public and internal GCI interfaces. |
|
||||
| [Workers](page_gci_workers.md) | Worker execution and isolation model. |
|
||||
| [Internal Architecture](page_gci__internal_architecture.md) | Runtime layers and orchestration model. |
|
||||
| [Interfaces](page_gci__interfaces.md) | Public and internal GCI interfaces. |
|
||||
| [Workers](page_gci__workers.md) | Worker execution and isolation model. |
|
||||
@@ -0,0 +1,161 @@
|
||||
# Configuration Domain
|
||||
|
||||

|
||||
|
||||
## Overview
|
||||
|
||||
The Configuration Domain is responsible for active meter management through request-response communication.
|
||||
|
||||
Its purpose is to provide controlled access to meter functionality exposed by the firmware. Operations are initiated by the application and executed through explicit requests sent to the meter.
|
||||
|
||||
This domain is used whenever meter configuration, diagnostics, calibration, or maintenance operations are required.
|
||||
|
||||
---
|
||||
|
||||
## Communication Model
|
||||
|
||||
The Configuration Domain operates through a request-response communication channel.
|
||||
|
||||
```text
|
||||
Application
|
||||
│
|
||||
▼
|
||||
Configuration Domain
|
||||
│
|
||||
▼
|
||||
RequestPort
|
||||
│
|
||||
▼
|
||||
Meter
|
||||
```
|
||||
|
||||
Each operation is initiated by the application, transmitted to the meter, and completed after a corresponding response is received.
|
||||
|
||||
Typical examples include:
|
||||
|
||||
- reading firmware registers
|
||||
- writing configuration parameters
|
||||
- executing calibration procedures
|
||||
- meter diagnostics
|
||||
- maintenance operations
|
||||
|
||||
---
|
||||
|
||||
## Current Implementation
|
||||
|
||||
The current implementation is based on the Genesis Cordonel Interface (GCI).
|
||||
|
||||
GCI provides a runtime environment that exposes meter functionality through a consistent programming interface while separating application logic from low-level communication details.
|
||||
|
||||
The implementation consists of several logical layers.
|
||||
|
||||
```text
|
||||
Application
|
||||
│
|
||||
▼
|
||||
GciBridge
|
||||
│
|
||||
▼
|
||||
GCI
|
||||
│
|
||||
▼
|
||||
Laatzen Libraries
|
||||
│
|
||||
▼
|
||||
RequestPort
|
||||
│
|
||||
▼
|
||||
Meter
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## GCI
|
||||
|
||||
Genesis Cordonel Interface (GCI) serves as the central runtime component of the Configuration Domain.
|
||||
|
||||
Its primary responsibility is orchestration of meter-related operations.
|
||||
|
||||
GCI provides:
|
||||
|
||||
- runtime management
|
||||
- worker execution
|
||||
- interface abstraction
|
||||
- configuration handling
|
||||
- execution flow control
|
||||
- communication coordination
|
||||
|
||||
GCI does not directly implement all meter-specific functionality. Instead, it provides the infrastructure through which such functionality can be executed.
|
||||
|
||||
---
|
||||
|
||||
## Laatzen Libraries
|
||||
|
||||
Meter-specific functionality is implemented within dedicated action and type libraries originating from the Laatzen project.
|
||||
|
||||
These libraries contain:
|
||||
|
||||
- meter commands
|
||||
- protocol implementations
|
||||
- calibration procedures
|
||||
- firmware interactions
|
||||
- meter-specific data structures
|
||||
|
||||
GCI exposes these capabilities through a unified runtime architecture.
|
||||
|
||||
This separation allows meter functionality to remain independent from application-specific implementations.
|
||||
|
||||
---
|
||||
|
||||
## GciBridge
|
||||
|
||||
Within the current TestBenchFramework environment, GCI is accessed through the GciBridge component.
|
||||
|
||||
GciBridge acts as an integration layer between the application and the GCI runtime.
|
||||
|
||||
Responsibilities include:
|
||||
|
||||
- exposing GCI functionality to TBF
|
||||
- adapting application workflows
|
||||
- simplifying integration
|
||||
- isolating TBF from internal GCI implementation details
|
||||
|
||||
As a result, the application interacts with GciBridge while GCI remains responsible for runtime orchestration and communication management.
|
||||
|
||||
---
|
||||
|
||||
## Architectural Characteristics
|
||||
|
||||
The current Configuration Domain architecture provides:
|
||||
|
||||
- clear separation between application logic and communication logic
|
||||
- reusable runtime infrastructure
|
||||
- modular meter functionality
|
||||
- application-independent communication services
|
||||
- simplified integration into external environments
|
||||
|
||||
This architecture allows meter functionality to evolve independently from the applications that consume it.
|
||||
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
The Configuration Domain currently consists of the following major components:
|
||||
|
||||
```text
|
||||
Configuration Domain
|
||||
|
||||
├── GciBridge
|
||||
│
|
||||
├── GCI
|
||||
│ ├── Runtime
|
||||
│ ├── Workers
|
||||
│ ├── Interfaces
|
||||
│ └── DataStorage
|
||||
│
|
||||
└── Laatzen Libraries
|
||||
├── Actions
|
||||
└── Types
|
||||
```
|
||||
|
||||
Together, these components provide the complete request-response infrastructure required for Genesis meter configuration, diagnostics, calibration, and maintenance operations.
|
||||
@@ -0,0 +1,210 @@
|
||||
# GCI Documentation
|
||||
|
||||
## GCI Onboarding Overview
|
||||
|
||||
[](../../images/GCI__Onboarding_Overview_drawio.svg)
|
||||
|
||||
---
|
||||
|
||||
# What is GCI?
|
||||
|
||||
Genesis Cordonel Interface (GCI) is a software layer responsible for:
|
||||
|
||||
- meter communication
|
||||
- firmware interaction
|
||||
- runtime slot management
|
||||
- register access
|
||||
- workflow execution
|
||||
- diagnostics
|
||||
- API integration
|
||||
|
||||
GCI acts as an integration bridge between external applications and internal meter infrastructure.
|
||||
|
||||
The architecture evolved from legacy TBF-based implementations toward a more modular and reusable runtime-oriented platform.
|
||||
|
||||
---
|
||||
|
||||
# High-Level Architecture
|
||||
|
||||
```text
|
||||
External Applications
|
||||
↓
|
||||
InterfaceOutsideToGCI
|
||||
↓
|
||||
InterfaceGCIToLaatzen
|
||||
↓
|
||||
ApiWorker
|
||||
↓
|
||||
MeterBatch
|
||||
↓
|
||||
GenesisMeter
|
||||
↓
|
||||
Firmware
|
||||
```
|
||||
|
||||
The architecture intentionally separates:
|
||||
|
||||
- external API exposure
|
||||
- runtime orchestration
|
||||
- worker execution
|
||||
- communication handling
|
||||
- firmware interaction
|
||||
|
||||
---
|
||||
|
||||
# Main Runtime Responsibilities
|
||||
|
||||
GCI provides runtime infrastructure for:
|
||||
|
||||
- slot initialization
|
||||
- meter login
|
||||
- meter connection management
|
||||
- register read/write access
|
||||
- PCB identification
|
||||
- communication port detection
|
||||
- diagnostics and monitoring
|
||||
- worker execution isolation
|
||||
- preadjustment workflow execution
|
||||
|
||||
---
|
||||
|
||||
# Main Areas
|
||||
|
||||
| Area | Description |
|
||||
|---|---|
|
||||
|
||||
|
||||
---
|
||||
|
||||
# Runtime Philosophy
|
||||
|
||||
GCI is designed as a runtime-oriented system rather than a static communication library.
|
||||
|
||||
Key architectural principles:
|
||||
|
||||
- isolated slot execution
|
||||
- worker-based runtime model
|
||||
- interface separation
|
||||
- centralized orchestration
|
||||
- runtime diagnostics
|
||||
- reusable integration interfaces
|
||||
- modular communication layers
|
||||
|
||||
---
|
||||
|
||||
# Typical Runtime Flow
|
||||
|
||||
```text
|
||||
Initialize Slot
|
||||
↓
|
||||
Login
|
||||
↓
|
||||
Connect
|
||||
↓
|
||||
Read/Write Registers
|
||||
↓
|
||||
Execute Workflows
|
||||
↓
|
||||
Disconnect
|
||||
↓
|
||||
Clean Slot
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Worker-Based Execution Model
|
||||
|
||||
All slot operations are executed through dedicated workers.
|
||||
|
||||
Purpose:
|
||||
|
||||
- prevent concurrent meter access
|
||||
- isolate slot execution
|
||||
- serialize operations
|
||||
- provide cancellation support
|
||||
- improve runtime stability
|
||||
|
||||
Typical execution flow:
|
||||
|
||||
```text
|
||||
API Request
|
||||
↓
|
||||
ApiWorker
|
||||
↓
|
||||
MeterBatch
|
||||
↓
|
||||
GenesisMeter
|
||||
↓
|
||||
Firmware
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Communication Model
|
||||
|
||||
GCI supports multiple communication channels.
|
||||
|
||||
## Request Port
|
||||
|
||||
Used for:
|
||||
|
||||
- login
|
||||
- register access
|
||||
- PCB identification
|
||||
- runtime commands
|
||||
|
||||
## Streaming Port
|
||||
|
||||
Used for:
|
||||
|
||||
- measurement streaming
|
||||
- online data acquisition
|
||||
- continuous runtime monitoring
|
||||
|
||||
---
|
||||
|
||||
# Integration Philosophy
|
||||
|
||||
GCI is intended to provide a stable and reusable integration layer for external systems.
|
||||
|
||||
Typical integrations:
|
||||
|
||||
- TBF-based systems
|
||||
- Lautzen solutions
|
||||
- standalone UI applications
|
||||
- diagnostic utilities
|
||||
- calibration workflows
|
||||
|
||||
---
|
||||
|
||||
# Documentation Structure
|
||||
|
||||
This documentation is divided into two major areas.
|
||||
|
||||
## GCI Documentation
|
||||
|
||||
Describes:
|
||||
|
||||
- runtime architecture
|
||||
- interfaces
|
||||
- execution model
|
||||
- workers
|
||||
- communication
|
||||
- workflows
|
||||
|
||||
## Continuous Development
|
||||
|
||||
Describes:
|
||||
|
||||
- current development state
|
||||
- architecture evolution
|
||||
- migration goals
|
||||
- refactoring activities
|
||||
- future concepts
|
||||
|
||||
---
|
||||
|
||||
# Related Pages
|
||||
|
||||
| Page | Description |
|
||||
|---|---|
|
||||
@@ -0,0 +1,33 @@
|
||||
# Data Collection Domain
|
||||
|
||||

|
||||
|
||||
## Overview
|
||||
|
||||
The Data Collection Domain is responsible for acquiring and processing measurement data generated by Genesis meters.
|
||||
|
||||
Unlike the Configuration Domain, which actively communicates with the meter through request-response operations, the Data Collection Domain continuously receives measurement data transmitted by the meter.
|
||||
|
||||
## Current Implementation
|
||||
|
||||
The current implementation of the Data Collection Domain is based on the SmartRegisterReader component.
|
||||
|
||||
SmartRegisterReader is responsible for acquiring and evaluating measurement data after the meter has been configured and a measurement process has been started.
|
||||
|
||||
Each initialized meter is associated with its own dedicated SmartRegisterReader instance. This allows multiple meters to be monitored simultaneously while keeping measurement acquisition independent for each device.
|
||||
|
||||
Every SmartRegisterReader instance maintains direct access to the communication channel associated with the corresponding meter. Measurement data is received through the meter streaming serial interface, which is exposed to the operating system as a dedicated COM port.
|
||||
|
||||
In the current TestBenchFramework environment, the physical serial communication is provided through MOXA serial device servers, which convert the meter's streaming serial connection into a network-accessible COM port interface.
|
||||
|
||||
At the current stage of development, SmartRegisterReader operates independently from the Configuration Domain.
|
||||
|
||||
## Relationship to the Configuration Domain
|
||||
|
||||
The Genesis Meter Platform currently consists of two independent functional domains.
|
||||
|
||||
The Configuration Domain is responsible for meter management, configuration, calibration, and diagnostics through request-response communication.
|
||||
|
||||
The Data Collection Domain is responsible for measurement acquisition and monitoring through the streaming communication interface.
|
||||
|
||||
Together, these domains provide complete access to Genesis meter functionality.
|
||||
@@ -0,0 +1,78 @@
|
||||
# Genesis Meter Platform
|
||||
|
||||
The Genesis Meter Platform represents the complete software ecosystem used for communication, configuration, monitoring, and data acquisition from Genesis meters.
|
||||
|
||||
The platform currently consists of two primary functional domains:
|
||||
|
||||
- Configuration Domain
|
||||
- Data Collection Domain
|
||||
|
||||
Together, these domains provide the complete functionality required for meter interaction throughout development, testing, calibration, diagnostics, and measurement acquisition workflows.
|
||||
|
||||
---
|
||||
|
||||
## Platform Overview
|
||||
|
||||
```text
|
||||
Genesis Meter Platform
|
||||
|
||||
├── Configuration Domain
|
||||
│ ├── GciBridge
|
||||
│ ├── GCI
|
||||
│ └── Laatzen Libraries
|
||||
│
|
||||
└── Data Collection Domain
|
||||
└── SmartRegisterReader
|
||||
```
|
||||
|
||||
### Configuration Domain
|
||||
|
||||
The Configuration Domain provides active meter management through request-response communication.
|
||||
|
||||
Its primary purpose is to execute operations that require direct interaction with meter firmware, including:
|
||||
|
||||
- meter initialization
|
||||
- login procedures
|
||||
- firmware register access
|
||||
- parameter configuration
|
||||
- calibration workflows
|
||||
- diagnostics
|
||||
|
||||
The central runtime component of this domain is the Genesis Cordonel Interface (GCI), which provides a unified programming interface and runtime environment for meter-related operations.
|
||||
|
||||
Within the current production environment, GCI is integrated into TestBenchFramework through the GciBridge component.
|
||||
|
||||
### Data Collection Domain
|
||||
|
||||
The Data Collection Domain provides continuous acquisition and processing of measurement data transmitted by the meter.
|
||||
|
||||
Its primary responsibilities include:
|
||||
|
||||
- stream acquisition
|
||||
- measurement extraction
|
||||
- data evaluation
|
||||
- runtime monitoring
|
||||
- diagnostics
|
||||
|
||||
The central component of this domain is SmartRegisterReader, which independently handles streaming communication and measurement processing.
|
||||
|
||||
---
|
||||
|
||||
## Architectural Principle
|
||||
|
||||
The platform is intentionally divided into two independent domains.
|
||||
|
||||
This separation allows configuration-related functionality and measurement-data processing to evolve independently while maintaining clear responsibility boundaries and reducing runtime complexity.
|
||||
|
||||
Although implemented as separate solutions, both domains serve a common purpose: providing complete access to Genesis meter functionality.
|
||||
|
||||
---
|
||||
|
||||
## Related Pages
|
||||
|
||||
| Page | Description |
|
||||
|--------|-------------|
|
||||
| [Current State](page_platform__current_state.md) | Current platform architecture and implementation. |
|
||||
| [Configuration Domain](page_platform__configuration_domain.md) | Meter configuration and management architecture. |
|
||||
| [Data Collection Domain](page_platform__data_collection_domain.md) | Measurement acquisition and processing architecture. |
|
||||
| [TBF Implementation](page_platform__tbf_implementation.md) | Current integration of the platform into TestBenchFramework. |
|
||||
@@ -0,0 +1,103 @@
|
||||
# TBF Implementation
|
||||
|
||||
## Overview
|
||||
|
||||
The current production implementation of the Genesis Meter Platform is integrated into the TestBenchFramework (TBF) environment.
|
||||
|
||||
This implementation combines the Configuration Domain and the Data Collection Domain into a single application environment while keeping their responsibilities separated.
|
||||
|
||||
The objective is to provide a complete set of tools required for meter configuration, calibration, diagnostics, testing, and measurement acquisition.
|
||||
|
||||
---
|
||||
|
||||
## High-Level Architecture
|
||||
|
||||
```text
|
||||
TestBenchFramework
|
||||
|
||||
├── Configuration Domain
|
||||
│ └── GciBridge (TBF Component)
|
||||
│ └── GCI (external library)
|
||||
│ └── Laatzen Libraries (external libraries)
|
||||
│ └── requestingPort
|
||||
└── Data Collection Domain
|
||||
└── SmartRegisterReader (TBF Component)
|
||||
└── streamingPort
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Configuration Domain Integration
|
||||
|
||||
The Configuration Domain is integrated into TestBenchFramework through the GciBridge component.
|
||||
|
||||
GciBridge acts as an adapter layer between the TestBenchFramework application and the Genesis Cordonel Interface (GCI).
|
||||
|
||||
Its primary responsibilities include:
|
||||
|
||||
- exposing meter operations to TBF
|
||||
- translating application workflows into GCI requests
|
||||
- managing runtime interaction with GCI
|
||||
- isolating TBF from internal GCI implementation details
|
||||
|
||||
The actual meter functionality is provided by GCI and the underlying Laatzen libraries.
|
||||
|
||||
This architecture allows TestBenchFramework to access meter configuration capabilities through a stable and application-specific interface while preserving the independence of the GCI runtime.
|
||||
|
||||
---
|
||||
|
||||
## Data Collection Domain Integration
|
||||
|
||||
The Data Collection Domain is implemented through SmartRegisterReader.
|
||||
|
||||
SmartRegisterReader is responsible for acquiring, decoding, and evaluating measurement data received through the meter streaming interface.
|
||||
|
||||
Its responsibilities include:
|
||||
|
||||
- stream reception
|
||||
- protocol decoding
|
||||
- register extraction
|
||||
- measurement evaluation
|
||||
- diagnostic data processing
|
||||
- runtime monitoring
|
||||
|
||||
Unlike the Configuration Domain, SmartRegisterReader operates independently from GCI and communicates directly with the streaming interface.
|
||||
|
||||
---
|
||||
|
||||
## Architectural Benefits
|
||||
|
||||
The current implementation provides several advantages:
|
||||
|
||||
- clear separation between configuration and measurement acquisition
|
||||
- independent development of both domains
|
||||
- simplified maintenance
|
||||
- reusable platform components
|
||||
- straightforward integration into TestBenchFramework
|
||||
|
||||
The separation also allows each domain to evolve independently while remaining part of the same overall platform architecture.
|
||||
|
||||
---
|
||||
|
||||
## Current Usage
|
||||
|
||||
Within TestBenchFramework:
|
||||
|
||||
- GciBridge provides access to meter configuration functionality
|
||||
- GCI provides runtime orchestration and communication services
|
||||
- Laatzen libraries provide meter-specific functionality
|
||||
- SmartRegisterReader provides streaming data acquisition and evaluation
|
||||
|
||||
Together, these components form the current implementation of the Genesis Meter Platform.
|
||||
|
||||
---
|
||||
|
||||
## Related Pages
|
||||
|
||||
| Page | Description |
|
||||
|--------|-------------|
|
||||
| [Platform Home](page_platform__home.md) | Platform overview and architecture. |
|
||||
| [Current State](page_platform__current_state.md) | Current platform architecture. |
|
||||
| [Configuration Domain](page_platform__configuration_domain.md) | Request-response communication architecture. |
|
||||
| [Data Collection Domain](page_platform__data_collection_domain.md) | Streaming communication architecture. |
|
||||
| [GCI Documentation](../gci/page_gci__home.md) | Detailed GCI implementation documentation. |
|
||||
@@ -1,47 +1,34 @@
|
||||
- name: Home
|
||||
href: index.md
|
||||
|
||||
- name: GCI Documentation
|
||||
href: pages/gci/page_gci__home.md
|
||||
- name: Platform
|
||||
href: pages/platform/page_platform__home.md
|
||||
items:
|
||||
- name: Application Environment
|
||||
href: pages/gci/page_gci__app_environment.md
|
||||
|
||||
- name: DataStorage
|
||||
href: pages/gci/page_gci__datastorage.md
|
||||
- name: Current State
|
||||
href: pages/platform/page_platform__current_state.md
|
||||
|
||||
- name: Interfaces
|
||||
href: pages/gci/page_gci__interfaces.md
|
||||
- name: Configuration Domain
|
||||
href: pages/platform/page_platform__configuration_domain.md
|
||||
|
||||
- name: Internal Architecture
|
||||
href: pages/gci/page_gci__internal_architecture.md
|
||||
- name: Data Collection Domain
|
||||
href: pages/platform/page_platform__data_collection_domain.md
|
||||
|
||||
- name: Runtime
|
||||
href: pages/gci/page_gci__runtime.md
|
||||
|
||||
- name: Workers
|
||||
href: pages/gci/page_gci__workers.md
|
||||
|
||||
- name: Implementation To TBF
|
||||
href: pages/gci/page_gci__implementation_to_tbf.md
|
||||
|
||||
- name: Universal Implementation
|
||||
href: pages/gci/page_gci__implementation_universal.md
|
||||
- name: TBF Implementation
|
||||
href: pages/platform/page_platform__tbf_implementation.md
|
||||
|
||||
- name: Continuous Development
|
||||
href: pages/development/page_dev__home.md
|
||||
items:
|
||||
- name: Current State
|
||||
href: pages/development/page_dev__current_state.md
|
||||
|
||||
- name: Target State
|
||||
href: pages/development/page_dev__target_state.md
|
||||
|
||||
- name: Target Architecture
|
||||
href: pages/development/page_dev__target_architecture.md
|
||||
|
||||
- name: Migration
|
||||
href: pages/development/page_dev__migration.md
|
||||
|
||||
- name: Refactoring
|
||||
href: pages/development/page_dev__refactoring.md
|
||||
|
||||
- name: Target Architecture
|
||||
href: pages/development/page_dev__target_architecture.md
|
||||
href: pages/development/page_dev__refactoring.md
|
||||