Browse Source

[db] update des valeurs limites des variables comme sur l'image + renommage du script pre-exec

Maxime Alves LIRMM@home 3 years ago
parent
commit
c0cfaeab73
2 changed files with 3 additions and 3 deletions
  1. 0
    0
      config/pre-exec.sh
  2. 3
    3
      db/pyheatpump.sql

db/db_to_ram.sh → config/pre-exec.sh View File


+ 3
- 3
db/pyheatpump.sql View File

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

Loading…
Cancel
Save