12345678910111213 |
- INSERT INTO var_value (type, address, value, time) VALUES
- ('A', 10, 42, strftime('%s', 'now')),
- ('A', 11, 24, strftime('%s', datetime('now', '-1 hours'))),
- ('A', 10, 20, strftime('%s', datetime('now', '-1 days'))),
- ('A', 10, 0, strftime('%s', datetime('now', '-2 days'))),
- ('I', 5010, 42, strftime('%s', datetime('now'))),
- ('I', 5011, 24, strftime('%s', datetime('now'))),
- ('I', 5010, 20, strftime('%s', datetime('now', '-1 hours'))),
- ('I', 5010, 0, strftime('%s', datetime('now', '-2 days'))),
- ('D', 10, 1, strftime('%s', datetime('now'))),
- ('D', 11, 1, strftime('%s', datetime('now'))),
- ('D', 10, 1, strftime('%s', datetime('now', '-1 days'))),
- ('D', 10, 0, strftime('%s', datetime('now', '-2 days')));
|