OPC-Clients in settings
This commit is contained in:
@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
|
||||
NEXT_PUBLIC_EXPORT_STATIC=false
|
||||
NEXT_PUBLIC_USE_CGI=false
|
||||
# App-Versionsnummer
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.701
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.702
|
||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||
NEXT_PUBLIC_USE_CGI=true
|
||||
# App-Versionsnummer
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.701
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.702
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
@@ -1,3 +1,8 @@
|
||||
## [1.6.702] – 2025-08-12
|
||||
|
||||
- fix: Meldungen werden wieder angezeigt in KÜ Charts
|
||||
|
||||
---
|
||||
## [1.6.701] – 2025-08-12
|
||||
|
||||
- WIP: Meldungen
|
||||
|
||||
@@ -11,6 +11,9 @@ export default function OPCUAInterfaceSettings() {
|
||||
(state: RootState) => state.opcuaSettingsSlice
|
||||
);
|
||||
|
||||
// Anzahl der aktuellen OPC-Clients (Mock, bis Backend liefert)
|
||||
const opcUaActiveClientCount = opcuaSettings.opcUaActiveClientCount ?? 3; // 3 als Beispielwert
|
||||
|
||||
// Lokale Zustände für das neue Benutzerformular
|
||||
|
||||
const [nodesetName, setNodesetName] = useState(
|
||||
@@ -88,16 +91,26 @@ export default function OPCUAInterfaceSettings() {
|
||||
disabled={opcuaSettings.isEnabled} // Disable input when server is enabled
|
||||
/>
|
||||
{/*
|
||||
<button
|
||||
onClick={handleNodesetUpdate}
|
||||
className="px-3 py-1 bg-littwin-blue text-white rounded-r-md text-sm"
|
||||
>
|
||||
Übernehmen
|
||||
</button>
|
||||
<button
|
||||
onClick={handleNodesetUpdate}
|
||||
className="px-3 py-1 bg-littwin-blue text-white rounded-r-md text-sm"
|
||||
>
|
||||
Übernehmen
|
||||
</button>
|
||||
*/}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* ✅ Anzahl der aktuellen OPC-Clients */}
|
||||
<div className="mb-3">
|
||||
<label className="block font-medium text-sm mb-1">
|
||||
Aktuelle OPC-Clients
|
||||
</label>
|
||||
<div className="p-1 border border-gray-300 rounded-md bg-white text-sm">
|
||||
{opcUaActiveClientCount}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* ✅ Benutzerverwaltung */}
|
||||
{/*
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.701",
|
||||
"version": "1.6.702",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.701",
|
||||
"version": "1.6.702",
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
"@headlessui/react": "^2.2.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.701",
|
||||
"version": "1.6.702",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
||||
Reference in New Issue
Block a user