@openhps/core
Version:
Open Hybrid Positioning System - Core component
19 lines (15 loc) • 402 B
text/typescript
import { SensorValue } from './SensorValue';
import { SerializableObject } from '../decorators';
import { Unit } from '../../utils/unit';
()
export class Humidity extends SensorValue<Unit> {
constructor(value = 0) {
super(value, undefined, undefined);
}
get value(): number {
return this.x;
}
set value(x: number) {
this.x = x;
}
}