Repository navigation
Expand file tree
/
Copy pathinsert_actions.sql
More file actions
46 lines (46 loc) · 1.58 KB
/
Copy pathinsert_actions.sql
File metadata and controls
46 lines (46 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
delete from Action;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (-4, "DHW", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (-3, "DHW", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (-2, "HC", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (-1, "HC", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (1, "Vent-relay", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (2, "Vent-relay", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (3, "Radiators relay", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (4, "Radiators relay", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (5, "Ufloor ground relay", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (6, "Ufloor ground relay", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (7, "Ufloor first relay", 2, "1")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (8, "Ufloor first relay", 2, "0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (9, "Begin Day Total Energy WH", "Sensor", "Total Energy WH")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (10, "DHW Comfort Temperature", 0, "60.0")
;
insert into Action (ActionId, SensorName, VariableType, SetValue)
values (11, "DHW Comfort Temperature", 0, "46.0")
;