2026_08_31

This commit is contained in:
marco committed 2026-08-31 16:19:06 +02:00
commit 73015386e9
2320 files changed
+80291

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
import { Types } from "mongoose";
import { PeripherieDto } from "./peripherie.dto";
import { GroupSubElementDto } from "./group.dto";
export class ElementDto {
id!:Types.ObjectId;
anlageId!: Types.ObjectId;
name!:string;
prefix?: string;
funcTxt?: string;
excelNr!:number;
excelListe!:"Aggregate" | "Sensoren" | "Analogwerte" | "AnlagenVisu";
type!: "unbekannt" |"Motor" | "Ventil" | "Analog" | "Sensor";
options!:Record<string,boolean|string|number>;
group!:GroupSubElementDto;
}
export class ElementCreateDto {
anlageId!: Types.ObjectId;
groupId?: Types.ObjectId;
name!:string;
prefix?: string;
funcTxt?: string;
excelNr?:number;
excelListe?:"Aggregate" | "Sensoren" | "Analogwerte"
type!: "unbekannt" |"Motor" | "Ventil" | "Analog" | "Sensor"
options?:Record<string,boolean|string|number>
}
export class ElementUpdateDto {
anlageId?: Types.ObjectId;
groupId?: Types.ObjectId;
name?:string;
prefix?: string;
funcTxt?: string;
excelNr?:number;
excelListe?:"Aggregate" | "Sensoren" | "Analogwerte"
type?: "unbekannt" |"Motor" | "Ventil" | "Analog" | "Sensor"
options?:Record<string,boolean|string|number>
}