feat: TDR --> Messkurven TDR anzeigen und dort Schalter Messung aktivieren
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.665
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.666
|
||||
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.665
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.666
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
@@ -1,3 +1,8 @@
|
||||
## [1.6.666] – 2025-07-31
|
||||
|
||||
- feat: KVZ JSON Daten für mock auf CPL hochgeladen und getestet
|
||||
|
||||
---
|
||||
## [1.6.665] – 2025-07-31
|
||||
|
||||
- style: KVZ LEDs style
|
||||
|
||||
@@ -152,7 +152,7 @@ const TDRChartActionBar: React.FC = () => {
|
||||
className="px-4 py-1 bg-littwin-blue text-white rounded text-sm whitespace-nowrap "
|
||||
disabled={selectedSlot === null}
|
||||
>
|
||||
TDR starten
|
||||
Messung aktivieren
|
||||
</button>
|
||||
|
||||
{/* 🔽 Dropdown für Messungen */}
|
||||
|
||||
@@ -397,13 +397,13 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
<div className="flex space-x-2">
|
||||
<button
|
||||
onClick={openIsoModal}
|
||||
className="bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2"
|
||||
className="bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2 min-w-[2.5rem]"
|
||||
>
|
||||
ISO
|
||||
</button>
|
||||
<button
|
||||
onClick={openRslModal}
|
||||
className="bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2"
|
||||
className="bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2 min-w-[2.5rem]"
|
||||
>
|
||||
RSL
|
||||
</button>
|
||||
@@ -411,24 +411,29 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
|
||||
{/* TDR and KVz Buttons */}
|
||||
<div className="flex space-x-2 p-1">
|
||||
{/* TDR Button - nur anzeigen wenn TDR aktiv ist */}
|
||||
{isTdrActiveForSlot && (
|
||||
{/* TDR Button - blau mit Text wenn aktiv, grau ohne Text wenn inaktiv */}
|
||||
<button
|
||||
onClick={openTdrModal}
|
||||
className=" bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2"
|
||||
onClick={isTdrActiveForSlot ? openTdrModal : undefined}
|
||||
className={`${
|
||||
isTdrActiveForSlot
|
||||
? "bg-littwin-blue text-white cursor-pointer"
|
||||
: "bg-gray-400 cursor-default"
|
||||
} text-[0.625rem] flex items-center justify-center p-2 min-w-[2.5rem]`}
|
||||
>
|
||||
TDR
|
||||
{isTdrActiveForSlot ? "TDR" : "\u00A0\u00A0\u00A0"}
|
||||
</button>
|
||||
)}
|
||||
{/* KVz Button - nur anzeigen wenn KVz aktiv ist */}
|
||||
{isKvzActiveForSlot && (
|
||||
|
||||
{/* KVz Button - blau mit Text wenn aktiv, grau ohne Text wenn inaktiv */}
|
||||
<button
|
||||
onClick={openKvzModal}
|
||||
className="bg-littwin-blue text-white text-[0.625rem] flex items-center justify-center p-2"
|
||||
onClick={isKvzActiveForSlot ? openKvzModal : undefined}
|
||||
className={`${
|
||||
isKvzActiveForSlot
|
||||
? "bg-littwin-blue text-white cursor-pointer"
|
||||
: "bg-gray-400 cursor-default"
|
||||
} text-[0.625rem] flex items-center justify-center p-2 min-w-[2.5rem]`}
|
||||
>
|
||||
KVz
|
||||
{isKvzActiveForSlot ? "KVz" : "\u00A0\u00A0\u00A0"}
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Messkurve Button */}
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.665",
|
||||
"version": "1.6.666",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.665",
|
||||
"version": "1.6.666",
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
"@headlessui/react": "^2.2.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.665",
|
||||
"version": "1.6.666",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
||||
Reference in New Issue
Block a user