This commit is contained in:
Ismail Ali
2025-06-26 22:55:26 +02:00
parent 8b3280da0a
commit 137839da98
15 changed files with 3604 additions and 44 deletions

View File

@@ -1,16 +1,5 @@
"use client"; // /components/main/analogInputs/AnalogInputsTable.tsx
export type AnalogInput = {
id: number;
value: number;
label: string;
unit?: string; // Make unit optional if it may not exist
offset: number;
factor: number;
loggerInterval: number;
weighting: number;
};
import type { AnalogInput } from "@/types/analogInput";
import React, { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
import { RootState, AppDispatch } from "@/redux/store";