|
|
|
|
32
|
);
|
32
|
);
|
33
|
|
33
|
|
34
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
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
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
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
|
INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
|
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
|
CREATE TRIGGER variable_last_update AFTER INSERT ON var_value
|
41
|
CREATE TRIGGER variable_last_update AFTER INSERT ON var_value
|
42
|
FOR EACH ROW
|
42
|
FOR EACH ROW
|