forked from jappel/leistungsbilanz-ts
Derive project device phases from category
This commit is contained in:
parent
5fb81bab04
commit
1e3c721cfa
9 changed files with 101 additions and 80 deletions
|
|
@ -173,7 +173,7 @@ export interface ProjectDeviceDto {
|
|||
phaseType: "single_phase" | "three_phase";
|
||||
connectionKind: string | null;
|
||||
costGroup: string | null;
|
||||
category: string | null;
|
||||
category: CircuitGroupCategory;
|
||||
quantity: number;
|
||||
powerPerUnit: number;
|
||||
simultaneityFactor: number;
|
||||
|
|
@ -218,10 +218,9 @@ export interface CreateGlobalDeviceInput {
|
|||
export interface CreateProjectDeviceInput {
|
||||
name: string;
|
||||
displayName: string;
|
||||
phaseType: "single_phase" | "three_phase";
|
||||
connectionKind?: string;
|
||||
costGroup?: string;
|
||||
category?: string;
|
||||
category: CircuitGroupCategory;
|
||||
quantity: number;
|
||||
powerPerUnit: number;
|
||||
simultaneityFactor: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue