Files
rossa-tech/rossa-tech-cli/src/app/models/Meter.ts
Peter Rossa af29efa0f3 Init app
2023-05-10 12:23:25 +02:00

17 lines
318 B
TypeScript

export class Meter {
id: number;
name: '1LOG' | '1HEM' | 'WASSER' | 'ABWASSER';
constructor(id: number, name: '1LOG' | '1HEM' | 'WASSER' | 'ABWASSER') {
this.id = id;
this.name = name;
}
}
export enum Meters {
'1LOG' = '1LOG',
'1HEM' = '1HEM',
'WASSER' = 'WASSER',
'ABWASSER' = 'ABWASSER',
}