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_EXPORT_STATIC=false
|
||||||
NEXT_PUBLIC_USE_CGI=false
|
NEXT_PUBLIC_USE_CGI=false
|
||||||
# App-Versionsnummer
|
# 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)
|
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_EXPORT_STATIC=true
|
||||||
NEXT_PUBLIC_USE_CGI=true
|
NEXT_PUBLIC_USE_CGI=true
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.701
|
NEXT_PUBLIC_APP_VERSION=1.6.702
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
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
|
## [1.6.701] – 2025-08-12
|
||||||
|
|
||||||
- WIP: Meldungen
|
- WIP: Meldungen
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ export default function OPCUAInterfaceSettings() {
|
|||||||
(state: RootState) => state.opcuaSettingsSlice
|
(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
|
// Lokale Zustände für das neue Benutzerformular
|
||||||
|
|
||||||
const [nodesetName, setNodesetName] = useState(
|
const [nodesetName, setNodesetName] = useState(
|
||||||
@@ -88,16 +91,26 @@ export default function OPCUAInterfaceSettings() {
|
|||||||
disabled={opcuaSettings.isEnabled} // Disable input when server is enabled
|
disabled={opcuaSettings.isEnabled} // Disable input when server is enabled
|
||||||
/>
|
/>
|
||||||
{/*
|
{/*
|
||||||
<button
|
<button
|
||||||
onClick={handleNodesetUpdate}
|
onClick={handleNodesetUpdate}
|
||||||
className="px-3 py-1 bg-littwin-blue text-white rounded-r-md text-sm"
|
className="px-3 py-1 bg-littwin-blue text-white rounded-r-md text-sm"
|
||||||
>
|
>
|
||||||
Übernehmen
|
Übernehmen
|
||||||
</button>
|
</button>
|
||||||
*/}
|
*/}
|
||||||
</div>
|
</div>
|
||||||
</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 */}
|
{/* ✅ Benutzerverwaltung */}
|
||||||
{/*
|
{/*
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.701",
|
"version": "1.6.702",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.701",
|
"version": "1.6.702",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.701",
|
"version": "1.6.702",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user