Statistics
| Revision:

root / hci / trunk / eneraptor-web-app / grails-app / views / actions / viewAction.gsp @ 58

History | View | Annotate | Download (1.59 KB)

1
<html>
2

    
3
<head>
4
	<title>Scenarios &raquo; View scenario</title>
5
	<meta name="layout" content="main" />
6
</head>
7

    
8
<body>
9
	
10
	<erptr:box title="Scenario: ${scenario.name}">
11
		
12
		<p>Scenario Id: <b>${scenario.id}</b></p>
13
		<p>Scenario name (short description): <b>${scenario.name}</b></p>
14
		<br />
15
		<p>Measuring device: <b>${scenario.inDevice}</b></p>
16
		<p>Controlling device: <b>${scenario.outDevice}</b></p>
17
		<br />
18
		<p>Measuring device values:</p>
19
		<table>
20
			<thead>
21
				<tr>
22
					<th><p>Minimal value</p></th>
23
					<th><p>Optimal value</p></th>
24
					<th><p>Maximal value</p></th>
25
					<th><p>Tolerance</p></th>
26
				</tr>
27
			</thead>
28
			<tbody>
29
				<tr>
30
					<td><p>${scenario.minVal}</p></td>
31
					<td><p>${scenario.optVal}</p></td>
32
					<td><p>${scenario.maxVal}</p></td>
33
					<td><p>&plusmn; ${scenario.tolerance}</p></td>
34
				</tr>
35
			</tbody>
36
		</table>
37
		<br />
38
		
39
		<p>Checking frequency: <b>${scenario.check_active} seconds</b> when active, <b>${scenario.check_idle} seconds</b> when idle.</p>
40
		<br />
41
		
42
		<p>Reaction:</p>
43
		<table>
44
			<thead>
45
				<tr>
46
					<th><p>Calculation type</p></th>
47
					<th><p>Alpha value</p></th>
48
					<th><p>Action to execute</p></th>
49
					<th><p>Parameters</p></th>
50
				</tr>
51
			</thead>
52
			<tbody>
53
				<tr>
54
					<td><p>${scenario.reaction}</p></td>
55
					<td><p>${scenario.alpha}</p></td>
56
					<td><p style="font-family:monospace;">${scenario.action}</p></td>
57
					<td><p style="font-family:monospace;">${scenario.params} ${scenario.param}</p></td>
58
				</tr>
59
			</tbody>
60
		</table>
61
		<br />
62

    
63
	</erptr:box>
64

    
65
</body>
66

    
67
</html>