2026_08_31
This commit is contained in:
commit
73015386e9
2320 files changed
+80291
No files matched your search
@@ -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>
|
||||
}
|
||||
Reference in new issue
Block a user