feat: Fallsensors
This commit is contained in:
@@ -25,6 +25,7 @@ import handleCloseModal from "./handlers/handleCloseModal";
|
||||
import handleOpenChartModal from "./handlers/handleOpenChartModal";
|
||||
import handleCloseChartModal from "./handlers/handleCloseChartModal";
|
||||
import handleRefreshClick from "./handlers/handleRefreshClick";
|
||||
import FallSensors from "@/components/main/fall-detection-sensors/FallSensors";
|
||||
|
||||
const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
isolationswert,
|
||||
@@ -33,6 +34,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
kueOnline,
|
||||
slotIndex,
|
||||
tdrLocation,
|
||||
win_fallSensorsActive,
|
||||
}) => {
|
||||
/* console.log(
|
||||
`Rendering Kue705FO - SlotIndex: ${slotIndex}, ModulName: ${modulName}`
|
||||
@@ -167,9 +169,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
return (
|
||||
<div
|
||||
className="relative bg-gray-300 w-[7.25rem] h-[24.375rem] border border-gray-400 transform laptop:-translate-y-12 2xl:-translate-y-0
|
||||
scale-100 sm:scale-95 md:scale-100 lg:scale-105 xl:scale-90 2xl:scale-125 top-3 qhd:scale-150 qhd:-translate-y-0
|
||||
|
||||
"
|
||||
scale-100 sm:scale-95 md:scale-100 lg:scale-105 xl:scale-90 2xl:scale-125 top-3 qhd:scale-150 qhd:-translate-y-0"
|
||||
>
|
||||
{kueOnline === 1 ? (
|
||||
<>
|
||||
@@ -363,8 +363,19 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
|
||||
>
|
||||
Messkurve
|
||||
</button>
|
||||
{/* Sensoren anzeigen */}
|
||||
{
|
||||
/* if Kabelüberwachungsmodul online (kue_online ) */
|
||||
kueOnline === 1 && win_fallSensorsActive === 1 && (
|
||||
<div className="mt-4 w-full flex justify-center">
|
||||
<FallSensors />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
</div>
|
||||
|
||||
{/* Modal für Einstellungen */}
|
||||
|
||||
{/* Modal für Messkurve */}
|
||||
{showChartModal && (
|
||||
<ChartSwitcher
|
||||
|
||||
Reference in New Issue
Block a user