Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
gps_pyproject
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 335dee0e
authored
May 16, 2024
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加依赖文件
1 parent
d9112a54
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
produce_kafka_tool.py
requirements.txt
test_ice.py
produce_kafka_tool.py
View file @
335dee0
...
@@ -1091,7 +1091,13 @@ if __name__ == "__main__":
...
@@ -1091,7 +1091,13 @@ if __name__ == "__main__":
# 有基站,补gps
# 有基站,补gps
# add_gps_by_bs('1620831629')
# add_gps_by_bs('1620831629')
# sendGpsAndBs(sn='1570921451', broker=kafka_broker_test, topic='gps_gpsandbs',partition=0,valid='A')
sendGpsAndBs
(
sn
=
"1611088776"
,
broker
=
kafka_broker_test
,
topic
=
"gps_gpsandbs"
,
partition
=
0
,
valid
=
"A"
,
)
# sendGpsAndBs(sn='1700112234', broker=kafka_broker_test, topic='gps_gpsandbs_pingan2',partition=0,valid='V')
# sendGpsAndBs(sn='1700112234', broker=kafka_broker_test, topic='gps_gpsandbs_pingan2',partition=0,valid='V')
# sendGpsAndBs(sn='96312070449', broker=kafka_broker_upload, topic='gps_gpsandbs', partition=17,valid='V')
# sendGpsAndBs(sn='96312070449', broker=kafka_broker_upload, topic='gps_gpsandbs', partition=17,valid='V')
# sendGpsAndBs(sn='76307260003', broker=kafka_broker_upload, topic='gps_gpsandbs', partition=3,valid='V')
# sendGpsAndBs(sn='76307260003', broker=kafka_broker_upload, topic='gps_gpsandbs', partition=3,valid='V')
...
...
requirements.txt
0 → 100644
View file @
335dee0
No preview for this file type
test_ice.py
View file @
335dee0
...
@@ -472,7 +472,7 @@ if __name__ == "__main__":
...
@@ -472,7 +472,7 @@ if __name__ == "__main__":
# 获取最后gps位置数据,
# 获取最后gps位置数据,
# param: sn,设备类型
# param: sn,设备类型
# getLatestGpsRecord('561063062799604',11)
# getLatestGpsRecord('561063062799604',11)
getLatestGpsRecord
(
"15709
21451
"
)
getLatestGpsRecord
(
"15709
15965
"
)
# 获取gps信息
# 获取gps信息
# getGpsRecords(15212050744,"2024-01-17 00:00:00","2024-01-18 00:00:00")
# getGpsRecords(15212050744,"2024-01-17 00:00:00","2024-01-18 00:00:00")
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment