stand2026_10_06
This commit is contained in:
1 parent
73015386e9
commit
30292794ae
25 files changed
+664
-164
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { SignalCreateDto } from "./signals";
|
||||
|
||||
export enum ComponentTypes {
|
||||
UNKNOWN = "unknown",
|
||||
ANTRIEB = "Antrieb",
|
||||
@@ -9,6 +11,7 @@ export enum ComponentTypes {
|
||||
DREHZALHL = "Drehzahl",
|
||||
VORORT = "Vorortbedienung",
|
||||
UEBERWACHUNG = "Überwachung",
|
||||
FUELLSTAND = "Fuellstand",
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +27,6 @@ export class ComponentResponseDto {
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type!: ComponentTypes;
|
||||
signalIds!: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
@@ -34,7 +36,6 @@ export class ComponentUpdateDto {
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type?: ComponentTypes;
|
||||
signalIds?: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
@@ -44,6 +45,5 @@ export class ComponentCreateDto {
|
||||
postfix?: string;
|
||||
index?:number;
|
||||
type!: ComponentTypes;
|
||||
signalIds?: string[];
|
||||
properties?: Record<string, unknown>;
|
||||
}
|
||||
@@ -7,6 +7,7 @@ export enum UnitTypeDto {
|
||||
BRECHER = 'Brecher',
|
||||
WEICHE = 'Weiche',
|
||||
SIEB = 'Sieb',
|
||||
ANTRIEB = 'Antrieb',
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +20,7 @@ export class UnitResponseDto {
|
||||
anlageId?: string;
|
||||
bmk?: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
info?: string;
|
||||
type!: UnitTypeDto;
|
||||
groupId!: string;
|
||||
@@ -28,20 +30,22 @@ export class UnitResponseDto {
|
||||
export class UnitCreateDto {
|
||||
name!: string;
|
||||
anlageId?: string;
|
||||
bmk!: string;
|
||||
prefix!: string;
|
||||
info!: string;
|
||||
bmk?: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
info?: string;
|
||||
type!: UnitTypeDto;
|
||||
groupId!: string;
|
||||
components!: ComponentResponseDto[];
|
||||
groupId?: string;
|
||||
components?: ComponentResponseDto[];
|
||||
}
|
||||
|
||||
export class UnitUpdateBaseDto {
|
||||
name?: string;
|
||||
anlageId?: string;
|
||||
bmk!: string;
|
||||
prefix!: string;
|
||||
info!: string;
|
||||
bmk?: string;
|
||||
prefix?: string;
|
||||
postfix?: string;
|
||||
info?: string;
|
||||
|
||||
type?: UnitTypeDto;
|
||||
groupId?: string;
|
||||
|
||||
@@ -12,6 +12,7 @@ export class DrawDto {
|
||||
px_width!:number;
|
||||
offset_x!:number;
|
||||
offset_y!:number;
|
||||
xaml?:string
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user