hoffmation-base 3.2.27 → 3.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,8 @@ import { GroupType, LogLevel } from '../enums';
|
|
|
5
5
|
import { RoomInfo, RoomSettingsController } from '../models';
|
|
6
6
|
export declare class RoomBase implements iRoomBase, iIdHolder {
|
|
7
7
|
groupMap: Map<GroupType, BaseGroup>;
|
|
8
|
+
startPoint?: iTrilaterationPoint | undefined;
|
|
9
|
+
endPoint?: iTrilaterationPoint | undefined;
|
|
8
10
|
/**
|
|
9
11
|
* @see RoomInfo
|
|
10
12
|
*/
|
|
@@ -15,7 +17,7 @@ export declare class RoomBase implements iRoomBase, iIdHolder {
|
|
|
15
17
|
* The settings for this room
|
|
16
18
|
*/
|
|
17
19
|
settings: RoomSettingsController;
|
|
18
|
-
constructor(groupMap: Map<GroupType, BaseGroup>, roomName: string, etage?: number, startPoint?: iTrilaterationPoint, endPoint?: iTrilaterationPoint);
|
|
20
|
+
constructor(groupMap: Map<GroupType, BaseGroup>, roomName: string, etage?: number, startPoint?: iTrilaterationPoint | undefined, endPoint?: iTrilaterationPoint | undefined);
|
|
19
21
|
get sonnenUntergangLichtCallback(): ITimeCallback | undefined;
|
|
20
22
|
get sonnenAufgangLichtCallback(): ITimeCallback | undefined;
|
|
21
23
|
get sunriseShutterCallback(): ITimeCallback | undefined;
|
package/lib/services/RoomBase.js
CHANGED
|
@@ -17,6 +17,8 @@ const models_1 = require("../models");
|
|
|
17
17
|
class RoomBase {
|
|
18
18
|
constructor(groupMap, roomName, etage = 99, startPoint, endPoint) {
|
|
19
19
|
this.groupMap = groupMap;
|
|
20
|
+
this.startPoint = startPoint;
|
|
21
|
+
this.endPoint = endPoint;
|
|
20
22
|
/** @inheritDoc */
|
|
21
23
|
this.skipNextRolloUp = false;
|
|
22
24
|
this._deviceCluster = new devices_1.DeviceCluster();
|