File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/env/artifact/environment/roomartifact Expand file tree Collapse file tree 1 file changed +26
-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 artifact .environment .roomartifact ;
10
+
11
+ import cartago .OPERATION ;
12
+
13
+ import java .util .logging .Logger ;
14
+
15
+ /**
16
+ * CArtAgO artifact that is responsible for the communication with a surgical light inside an operating room of the
17
+ * Operating Block.
18
+ */
19
+ public class SurgicalLight extends AbstractRoomArtifact implements DimmableArtifact {
20
+ @ Override
21
+ @ OPERATION
22
+ public final void setIntensity (final int luxToSet ) {
23
+ Logger .getLogger (SurgicalLight .class .toString ())
24
+ .info ("[" + this .getRoomId () + "]" + " Set " + luxToSet + " LUX" );
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments