18
18
focus(ConfigurationId);
19
19
load.
20
20
21
- +config(X)
22
- <- println(X).
23
- // todo: inform agents
21
+ +operatingRoom(T, H, AL, SL)
22
+ <- .send(temperatureControl, tell, optimalTemperature(operatingRoom, T));
23
+ .send(humidityControl, tell, optimalHumidity(operatingRoom, H));
24
+ .send(luminosityControl, tell, optimalIlluminance(operatingRoom, AL, SL)).
25
+
26
+ +preOperatingRoom(T, H, AL)
27
+ <- .send(temperatureControl, tell, optimalTemperature(preOperatingRoom, T));
28
+ .send(humidityControl, tell, optimalHumidity(preOperatingRoom, H));
29
+ .send(luminosityControl, tell, optimalIlluminance(preOperatingRoom, AL)).
30
+
31
+ +operatingRoomStandby(M, T, H, AL, SL)
32
+ <- .println(M). // todo
33
+
34
+ +prePostOperatingRoomStandby(M, T, H, AL)
35
+ <- .println(M). // todo
36
+
37
+ +medicalTechnologyScenario(MT, AL, SL)
38
+ <- .send(medicalTechnologySupporter, tell, scenario(MT, AL, SL)).
24
39
25
40
{ include("$jacamoJar/templates/common-cartago.asl" ) }
26
41
{ include("$jacamoJar/templates/common-moise.asl" ) }
0 commit comments