Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
a365b41
1
Parent(s):
5aacd71
Update app.py
Browse files
app.py
CHANGED
@@ -140,6 +140,14 @@ def ec_C_setValue():
|
|
140 |
return "EC value set successfully"
|
141 |
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
|
145 |
@app.route("/api", methods=['GET'])
|
|
|
140 |
return "EC value set successfully"
|
141 |
|
142 |
|
143 |
+
@app.route('/l_ON_set')
|
144 |
+
def l_ON_set():
|
145 |
+
globs.l_ON_h_set = request.args.get('l_ON_h_set')
|
146 |
+
globs.l_ON_m_set = request.args.get('l_ON_m_set')
|
147 |
+
globs.eep_set = 7
|
148 |
+
return "EC value set successfully"
|
149 |
+
|
150 |
+
|
151 |
|
152 |
|
153 |
@app.route("/api", methods=['GET'])
|