Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api-cluster
Commits
aac0b282
Commit
aac0b282
authored
Jul 22, 2024
by
Wei Shoulin
Browse files
prc_status 0
parent
59dafbcd
Pipeline
#6311
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api_cluster/facility/level1.py
View file @
aac0b282
...
@@ -67,7 +67,7 @@ class Level1DataApi(object):
...
@@ -67,7 +67,7 @@ class Level1DataApi(object):
if
not
conditions
.
get
(
"qc1_status"
,
''
):
if
not
conditions
.
get
(
"qc1_status"
,
''
):
conditions
[
"qc1_status"
]
=
"0"
conditions
[
"qc1_status"
]
=
"0"
if
not
conditions
.
get
(
"prc_status"
,
''
):
if
not
conditions
.
get
(
"prc_status"
,
''
):
conditions
[
"prc_status"
]
=
"
-1024
"
conditions
[
"prc_status"
]
=
"
0
"
if
not
conditions
.
get
(
"prc_time"
,
''
):
if
not
conditions
.
get
(
"prc_time"
,
''
):
time_now
=
datetime
.
datetime
.
now
()
time_now
=
datetime
.
datetime
.
now
()
conditions
[
"prc_time"
]
=
time_now
.
strftime
(
'%Y-%m-%d %H:%M:%S'
)
conditions
[
"prc_time"
]
=
time_now
.
strftime
(
'%Y-%m-%d %H:%M:%S'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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