Advertisement
MARSHAL327

Untitled

Dec 17th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.90 KB | None | 0 0
  1. from app import app
  2. from packages.DataTableHelper import DataTableHelper
  3.  
  4.  
  5. if __name__ == '__main__':
  6.  
  7.     with app.app_context():
  8.         dataTableHelper = DataTableHelper([
  9.             {
  10.                 "AT500_temp": "10.00",
  11.                 "HDOP": "1",
  12.                 "carid": "3214",
  13.                 "count": "0",
  14.                 "hp": "1100",
  15.                 "lat": "45.087024",
  16.                 "level_plc": "20",
  17.                 "lon": "33.470697",
  18.                 "mdate": "2024-12-16",
  19.                 "mtime": "15:16:34",
  20.                 "platform_type": "'beach_buoy'",
  21.                 "pwr_v_main": "7.755",
  22.                 "rough": "1",
  23.                 "sats": "10",
  24.                 "submergence": "100",
  25.                 "t_sub_surf": "8.00",
  26.                 "t_surf": "15.0",
  27.                 "turbidity": "clear"
  28.             }
  29.         ])
  30.         dataTableHelper.fillAllTables()
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement