2026_08_31
This commit is contained in:
commit
73015386e9
2320 files changed
+80291
No files matched your search
@@ -0,0 +1,49 @@
|
||||
export enum ComponentTypes {
|
||||
UNKNOWN = "unknown",
|
||||
ANTRIEB = "Antrieb",
|
||||
FREQUENZUMRICHTER = "Frequenzumrichter",
|
||||
REPARATUR_SCHALTER = "Reparaturschalter",
|
||||
LIMIT_SWITCH = "Endschalter",
|
||||
SCHIEFLAUF = "Schieflaufwächter",
|
||||
REISSLEINE = "Reißleine",
|
||||
DREHZALHL = "Drehzahl",
|
||||
VORORT = "Vorortbedienung",
|
||||
UEBERWACHUNG = "Überwachung",
|
||||
|
||||
}
|
||||
|
||||
export class ComponentOfUnitDto {
|
||||
unitId?:string;
|
||||
component?:ComponentResponseDto;
|
||||
|
||||
}
|
||||
export class ComponentResponseDto {
|
||||
id?: string
|
||||
name!: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type!: ComponentTypes;
|
||||
signalIds!: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export class ComponentUpdateDto {
|
||||
name?: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type?: ComponentTypes;
|
||||
signalIds?: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export class ComponentCreateDto {
|
||||
name!: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type!: ComponentTypes;
|
||||
signalIds?: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
Reference in new issue
Block a user