BOOLEAN, DOOR_BOOLEAN, WINDOW_BOOLEAN, LIGHT_BOOLEAN
This commit is contained in:
parent
85a749f199
commit
49ce44eff9
@ -28,6 +28,14 @@ export class Unit {
|
||||
|
||||
static readonly ILLUMINANCE_LUX = new Unit('ILLUMINANCE_LUX', 'lux');
|
||||
|
||||
static readonly BOOLEAN = new Unit('BOOLEAN', '');
|
||||
|
||||
static readonly DOOR_BOOLEAN = new Unit('DOOR_BOOLEAN', '');
|
||||
|
||||
static readonly WINDOW_BOOLEAN = new Unit('WINDOW_BOOLEAN', '');
|
||||
|
||||
static readonly LIGHT_BOOLEAN = new Unit('LIGHT_BOOLEAN', '');
|
||||
|
||||
private constructor(
|
||||
readonly name: string,
|
||||
readonly unit: string,
|
||||
|
||||
@ -45,6 +45,11 @@ public enum Unit {
|
||||
IRRADIATION_KWH_M2("kWh/m²", 1000, IRRADIATION_WH_M2),
|
||||
|
||||
PRECIPITATION_MM("mm"),
|
||||
|
||||
BOOLEAN(""),
|
||||
DOOR_BOOLEAN("", 1, BOOLEAN),
|
||||
WINDOW_BOOLEAN("", 1, BOOLEAN),
|
||||
LIGHT_BOOLEAN("", 1, BOOLEAN),
|
||||
;
|
||||
|
||||
public final String unit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user