Skip to content

Commit aa0ff7c

Browse files
feat: create humidity value object
1 parent 25a6afe commit aa0ff7c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 entities.environment
10+
11+
/**
12+
* The object with all the environment data for the operating block rooms events.
13+
*/
14+
object EnvironmentData {
15+
16+
/**
17+
* The humidity of the room.
18+
* @param humidityPercentage the percentage of humidity.
19+
*/
20+
data class Humidity(val humidityPercentage: Int)
21+
22+
}

0 commit comments

Comments
 (0)