Files
CPLv4.0/types/analogInput.ts

27 lines
497 B
TypeScript

// types/analogInput.ts
export interface AnalogInput {
id: number;
label: string;
unit?: string;
value: number;
name: string;
loggerInterval?: string;
// Statusflags
isUnderWarning?: boolean;
isUnderLimit?: boolean;
isOverWarning?: boolean;
isOverLimit?: boolean;
// Weitere optionale Felder
offset?: number | string;
factor?: number | string;
weighting?: number;
// Zusätzliche Felder im Slice
uW?: boolean;
uG?: boolean;
oW?: boolean;
oG?: boolean;
}