Browse Source

[db] start_address/end_address comme en prod

Maxime Alves LIRMM@home 3 years ago
parent
commit
f876e51d6b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      db/pyheatpump.sql

+ 3
- 3
db/pyheatpump.sql View File

@@ -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, 5000);
35
+  'A', 'Analog', 'float', 1, 1250);
36 36
 INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
37
-  'I', 'Integer', 'int', 5002, 10002);
37
+  'I', 'Integer', 'int', 5002, 6252;
38 38
 INSERT INTO var_type (slabel, label, type, start_address, end_address) VALUES (
39
-  'D', 'Digital', 'bool', 1, 2048);
39
+  'D', 'Digital', 'bool', 1, 1000);
40 40
 
41 41
 CREATE TRIGGER variable_last_update AFTER INSERT ON var_value
42 42
 FOR EACH ROW

Loading…
Cancel
Save