File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/main/kotlin/entity/room Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2023. Smart Operating Block
3
+ *
4
+ * Use of this source code is governed by an MIT-style
5
+ * license that can be found in the LICENSE file or at
6
+ * https://opensource.org/licenses/MIT.
7
+ */
8
+
9
+ package entity.room
10
+
11
+ import entity.environment.Humidity
12
+ import entity.environment.Luminosity
13
+ import entity.environment.Presence
14
+ import entity.environment.Temperature
15
+
16
+ /* *
17
+ * Wraps all the environmental data associated to a Room.
18
+ * So it describe:
19
+ * - the [temperature] inside the room
20
+ * - the [humidity] inside the room
21
+ * - the [luminosity] inside the room
22
+ * - the [presence] of someone in the room
23
+ */
24
+ data class RoomEnvironmentalData (
25
+ val temperature : Temperature ,
26
+ val humidity : Humidity ,
27
+ val luminosity : Luminosity ,
28
+ val presence : Presence ,
29
+ )
You can’t perform that action at this time.
0 commit comments