Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
0c4d5d12
Commit
0c4d5d12
authored
Aug 09, 2022
by
lcn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置地址
parent
b33df48a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
__init__.py
unify_api/__init__.py
+2
-2
actionFile.py
unify_api/modules/zhiwei_u/fault_foreast/actionFile.py
+1
-1
test.py
unify_api/modules/zhiwei_u/fault_foreast/test.py
+1
-1
task_statistic.py
unify_api/modules/zhiwei_u/task_statistic.py
+2
-2
test_lock.py
unify_api/tests/ulock/test_lock.py
+2
-2
device_upgrade.py
unify_api/utils/script/device_upgrade.py
+2
-2
No files found.
unify_api/__init__.py
View file @
0c4d5d12
import
sys
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api_1.5/pot_libs'
)
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api_1.5'
)
\ No newline at end of file
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api2/pot_libs'
)
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api2'
)
\ No newline at end of file
unify_api/modules/zhiwei_u/fault_foreast/actionFile.py
View file @
0c4d5d12
# /usr/bin/env python
# -*- coding: UTF-8 -*-l
import
sys
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
_1.5
/unify_api/modules/'
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
2
/unify_api/modules/'
f
'zhiwei_u/fault_foreast'
)
from
filterSteadyData
import
filterSteadyData
,
testFeat
from
knnForecast
import
classify
...
...
unify_api/modules/zhiwei_u/fault_foreast/test.py
View file @
0c4d5d12
...
...
@@ -114,7 +114,7 @@ if __name__ == '__main__':
import
matplotlib.pyplot
as
plt
# import matplotlib;matplotlib.use("TkAgg")
os
.
chdir
(
os
.
path
.
split
(
__file__
)[
0
])
filename1
=
r'/home/ubuntu/data/code/unify_api
_1.5
/unify_api/modules/zhiwei_u/fault_foreast'
filename1
=
r'/home/ubuntu/data/code/unify_api
2
/unify_api/modules/zhiwei_u/fault_foreast'
# sid = "A1911000284"
# files=os.listdir(filename1)
# for file in files:
...
...
unify_api/modules/zhiwei_u/task_statistic.py
View file @
0c4d5d12
...
...
@@ -5,8 +5,8 @@ import pendulum
import
asyncio
import
aioschedule
as
schedule
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
_1.5
/pot_libs"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
_1.5
"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
2
/pot_libs"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
2
"
)
from
pot_libs.logger
import
log
from
pot_libs.aiokafka_util.kafka_util
import
KafkaUtils
from
unify_api.modules.zhiwei_u.dao.install_sheet_dao
import
\
...
...
unify_api/tests/ulock/test_lock.py
View file @
0c4d5d12
import
sys
import
json
import
pytest
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
_1.5
/pot_libs'
)
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
_1.5
'
)
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
2
/pot_libs'
)
sys
.
path
.
append
(
f
'/home/ubuntu/data/code/unify_api
2
'
)
from
unify_api.tests.constants_t
import
TOKEN
,
HTTP_PREFIX
from
pot_libs.aiohttp_util.aiohttp_utils
import
AioHttpUtils
...
...
unify_api/utils/script/device_upgrade.py
View file @
0c4d5d12
...
...
@@ -8,8 +8,8 @@ import pendulum
import
logging
import
sys
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
_1.5
/pot_libs"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
_1.5
"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
2
/pot_libs"
)
sys
.
path
.
append
(
"/home/ubuntu/data/code/unify_api
2
"
)
from
pot_libs.aiomqtt_util.hbmqtt_utils
import
MqttUtil
logging
.
basicConfig
(
level
=
logging
.
INFO
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment