Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sterlite_custom_reports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
suryakant
sterlite_custom_reports
Commits
10e995be
You need to sign in or sign up before continuing.
Commit
10e995be
authored
Oct 11, 2023
by
suryakant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sterlite Custom Report Updates
parent
36223b60
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
269 additions
and
80 deletions
+269
-80
scripts/core/db/postgres/custom_report_query.py
scripts/core/db/postgres/custom_report_query.py
+266
-77
scripts/template/sterlite_report_template.py
scripts/template/sterlite_report_template.py
+3
-3
No files found.
scripts/core/db/postgres/custom_report_query.py
View file @
10e995be
This diff is collapsed.
Click to expand it.
scripts/template/sterlite_report_template.py
View file @
10e995be
...
@@ -79,7 +79,9 @@ class SterliteRefineryTemplate:
...
@@ -79,7 +79,9 @@ class SterliteRefineryTemplate:
"YTD"
,
"YTD"
,
],
],
"query"
:
{
"query"
:
{
"Grid Power Availability"
:
[],
"Grid Power Availability"
:
[
SterliteRefineryQuery
.
GridPowerAvailability
.
QUERY_1
,
],
"Cir 1 Avg. Rectifier Running Hrs."
:
[],
"Cir 1 Avg. Rectifier Running Hrs."
:
[],
"Cir 2 Avg. Rectifier Running Hrs."
:
[],
"Cir 2 Avg. Rectifier Running Hrs."
:
[],
"Power Availability to Cir-1"
:
[],
"Power Availability to Cir-1"
:
[],
...
@@ -87,8 +89,6 @@ class SterliteRefineryTemplate:
...
@@ -87,8 +89,6 @@ class SterliteRefineryTemplate:
"Power Availability to Cell House"
:
[],
"Power Availability to Cell House"
:
[],
"Cir-1 40 KA Rectifier Avg. Current"
:
[
"Cir-1 40 KA Rectifier Avg. Current"
:
[
SterliteRefineryQuery
.
Cir140KARectifierAvgCurrent
.
QUERY_1
,
SterliteRefineryQuery
.
Cir140KARectifierAvgCurrent
.
QUERY_1
,
SterliteRefineryQuery
.
Cir140KARectifierAvgCurrent
.
QUERY_2
,
SterliteRefineryQuery
.
Cir140KARectifierAvgCurrent
.
QUERY_3
,
],
],
"Cir-2 35 KA Rectifier Avg. Current"
:
[
"Cir-2 35 KA Rectifier Avg. Current"
:
[
SterliteRefineryQuery
.
Cir235KARectifierAvgCurrent
.
QUERY_1
,
SterliteRefineryQuery
.
Cir235KARectifierAvgCurrent
.
QUERY_1
,
...
...
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