|
@@ -32,11 +32,11 @@ CREATE TABLE IF NOT EXISTS var_value (
|
32
|
32
|
);
|
33
|
33
|
|
34
|
34
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
35
|
|
- 'A', 'Analog', 'float', 1, 1250);
|
|
35
|
+ 'A', 'Analog', 'float', 1, 1251);
|
36
|
36
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
37
|
|
- 'I', 'Integer', 'int', 5002, 6252);
|
|
37
|
+ 'I', 'Integer', 'int', 5002, 6253);
|
38
|
38
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
39
|
|
- 'D', 'Digital', 'bool', 1, 1000);
|
|
39
|
+ 'D', 'Digital', 'bool', 1, 1001);
|
40
|
40
|
|
41
|
41
|
CREATE TRIGGER variable_last_update AFTER INSERT ON var_value
|
42
|
42
|
FOR EACH ROW
|