fix: show history digital input

This commit is contained in:
ISA
2025-06-27 13:26:17 +02:00
parent 71c74d8d66
commit f9fe285d64
16 changed files with 15 additions and 7433 deletions

View File

@@ -16,9 +16,12 @@ export default async function handler(
process.cwd(),
"mocks",
"device-cgi-simulator",
"analogInputsHistoryData",
`analogInput${i}.json`
"chartsData",
"analogInputs",
`${i}`,
`DIA0.json`
);
console.log(`Lade Mock-Daten für analogInput${i} von: ${filePath}`);
try {
const fileContent = await fs.readFile(filePath, "utf-8");