File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
src/env/application/presenter/event/model/roomevent/payload Expand file tree Collapse file tree 1 file changed +32
-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 application .presenter .event .model .roomevent .payload ;
10
+
11
+ /**
12
+ * Humidity payload for {@link application.presenter.event.model.roomevent.RoomEvent}.
13
+ */
14
+ public class HumidityPayload implements RoomEventPayload {
15
+ private final int humidityPercentage ;
16
+
17
+ /**
18
+ * Default constructor.
19
+ * @param humidityPercentage the humidity percentage.
20
+ */
21
+ public HumidityPayload (final int humidityPercentage ) {
22
+ this .humidityPercentage = humidityPercentage ;
23
+ }
24
+
25
+ /**
26
+ * Get the Humidity percentage.
27
+ * @return the humidity percentage.
28
+ */
29
+ public int getHumidityPercentage () {
30
+ return this .humidityPercentage ;
31
+ }
32
+ }
You can’t perform that action at this time.
0 commit comments