Add configurable distribution supply types
This commit is contained in:
parent
194bc9c0b1
commit
b1a11397b3
43 changed files with 5697 additions and 126 deletions
26
src/shared/constants/distribution-board.ts
Normal file
26
src/shared/constants/distribution-board.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
export const distributionBoardSupplyTypes = [
|
||||
"AV",
|
||||
"SV",
|
||||
"EV",
|
||||
"USV",
|
||||
"MSR",
|
||||
"SiBe",
|
||||
] as const;
|
||||
|
||||
export type DistributionBoardSupplyType =
|
||||
(typeof distributionBoardSupplyTypes)[number];
|
||||
|
||||
export const defaultDistributionBoardSupplyTypes: DistributionBoardSupplyType[] =
|
||||
[...distributionBoardSupplyTypes];
|
||||
|
||||
export const distributionBoardSupplyTypeLabels: Record<
|
||||
DistributionBoardSupplyType,
|
||||
string
|
||||
> = {
|
||||
AV: "AV – Allgemeine Stromversorgung",
|
||||
SV: "SV – Sicherheitsstromversorgung",
|
||||
EV: "EV – Ersatzstromversorgung",
|
||||
USV: "USV – Unterbrechungsfreie Stromversorgung",
|
||||
MSR: "MSR – Mess-, Steuerungs- und Regelungstechnik",
|
||||
SiBe: "SiBe – Sicherheitsbeleuchtung",
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue