Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from app import app
- from packages.DataTableHelper import DataTableHelper
- if __name__ == '__main__':
- with app.app_context():
- dataTableHelper = DataTableHelper([
- {
- "AT500_temp": "10.00",
- "HDOP": "1",
- "carid": "3214",
- "count": "0",
- "hp": "1100",
- "lat": "45.087024",
- "level_plc": "20",
- "lon": "33.470697",
- "mdate": "2024-12-16",
- "mtime": "15:16:34",
- "platform_type": "'beach_buoy'",
- "pwr_v_main": "7.755",
- "rough": "1",
- "sats": "10",
- "submergence": "100",
- "t_sub_surf": "8.00",
- "t_surf": "15.0",
- "turbidity": "clear"
- }
- ])
- dataTableHelper.fillAllTables()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement