Projet de remplacement du "RPiPasserelle" d'Otec.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_variable_values.sql 713B

12345678910111213
  1. INSERT INTO var_value (type, address, value, time) VALUES
  2. ('A', 10, 42, strftime('%s', 'now')),
  3. ('A', 11, 24, strftime('%s', datetime('now', '-1 hours'))),
  4. ('A', 10, 20, strftime('%s', datetime('now', '-1 days'))),
  5. ('A', 10, 0, strftime('%s', datetime('now', '-2 days'))),
  6. ('I', 5010, 42, strftime('%s', datetime('now'))),
  7. ('I', 5011, 24, strftime('%s', datetime('now'))),
  8. ('I', 5010, 20, strftime('%s', datetime('now', '-1 hours'))),
  9. ('I', 5010, 0, strftime('%s', datetime('now', '-2 days'))),
  10. ('D', 10, 1, strftime('%s', datetime('now'))),
  11. ('D', 11, 1, strftime('%s', datetime('now'))),
  12. ('D', 10, 1, strftime('%s', datetime('now', '-1 days'))),
  13. ('D', 10, 0, strftime('%s', datetime('now', '-2 days')));