opc meldunge parameter fehler io

This commit is contained in:
marco committed 2026-10-30 15:42:23 +01:00
1 parent 58338ee07c
commit 0e7b53e558
87 files changed
+1500 -8

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
export interface StructureField { name: string; nodeId: string; dataType: 'Boolean' | 'Int16' | 'Int32' | 'Float'; readable: boolean; writable: boolean; unit: string }
export interface OpcStructure { anlageId: string; id: string; version: number; name: string; connectionId: string; rootNodeId: string; direction: 'read' | 'write'; fields: StructureField[]; templateId?: string }
export interface StructuresData { anlageId: string; structures: OpcStructure[]; templates?: { id: string; name: string; fields: Pick<StructureField, 'name' | 'dataType' | 'unit'>[] }[] }
export interface StructureSnapshot { name: string; status: 'connecting' | 'online' | 'partial' | 'offline'; values: Record<string, boolean | number | null>; fields: Record<string, { value: boolean | number | null; good: boolean; status: string; sourceTimestamp: string | null }>; updatedAt: string; error?: string }
export interface StructureWriteResult { writtenAt: string; results: { field: string; good: boolean; status: string }[] }
export interface ArrayImportInput { anlageId: string; connectionId: string; arrayNodeId: string; start: number; end: number; namePattern: string; templateName: string; direction: 'read' | 'write' }
export interface ArrayImportRow { index: number; name: string; rootNodeId: string; status: 'ready' | 'exists' | 'error'; message: string; fields: StructureField[] }
export interface ArrayImportPreview { token: string; rows: ArrayImportRow[]; ready: number; existing: number; errors: number; templateName: string }