Delete pipeline.js

This commit is contained in:
tpollina 2020-01-15 15:42:42 +01:00 committed by GitHub
parent 7ce5d59fc9
commit d741472aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,45 +0,0 @@
$(document).ready(function(){
$( "#focus" ).click(function() {
focus("ON")
});
$( "#pump" ).click(function() {
pump()
});
$( "#write" ).click(function() {
write()
});
function focus(toggler) {
var value = $("#nb_step").val();
var orientation = $("#orientation").val();
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "pipeline/focus.php?nb_step="+value+"&orientation="+orientation+"&toggler="+toggler, true);
xmlhttp.send();
}
function pump() {
var volume = $("#volume").val();
var flowrate = $("#flowrate").val();
var direction = $("#direction").val();
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "pipeline/pump.php?volume="+volume+"&flowrate="+flowrate+"&direction="+direction, true);
xmlhttp.send();
}
function write(){
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "pipeline/write.php?txt=ceciestuntexte", true);
xmlhttp.send();
}
});