git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Somewhat done control page
[matches/MCTX3420.git]
/
testing
/
MCTXWeb
/
public_html
/
static
/
mctx.gui.js
diff --git
a/testing/MCTXWeb/public_html/static/mctx.gui.js
b/testing/MCTXWeb/public_html/static/mctx.gui.js
index
3130a18
..
3df2bac
100644
(file)
--- a/
testing/MCTXWeb/public_html/static/mctx.gui.js
+++ b/
testing/MCTXWeb/public_html/static/mctx.gui.js
@@
-58,6
+58,9
@@
mctx.actuators = {
3 : {name : "Pressure regulator"}
};
3 : {name : "Pressure regulator"}
};
+mctx.actuator = {};
+mctx.actuator.pressure_regulator = 0;
+
mctx.strain_gauges = {};
mctx.strain_gauges.ids = [0, 1, 2, 3];
mctx.strain_gauges.time_limit = 20;
mctx.strain_gauges = {};
mctx.strain_gauges.ids = [0, 1, 2, 3];
mctx.strain_gauges.time_limit = 20;
@@
-302,7
+305,7
@@
$.fn.setErrorLog = function () {
$.fn.checkStatus = function(data) {
if (data.status !== mctx.status.OK) {
$.fn.checkStatus = function(data) {
if (data.status !== mctx.status.OK) {
- $(this).text(data.description).addClass("fail");
+ $(this).text(data.description).
removeClass("pass").
addClass("fail");
return false;
}
return true;
return false;
}
return true;
UCC
git Repository :: git.ucc.asn.au