Remove valve reading and frequency
This commit is contained in:
parent
e210ef8100
commit
fe05d62736
|
|
@ -87,16 +87,16 @@
|
|||
x: [[t], [t], [t]],
|
||||
y: [[pu.Pro], [pu.Pdilute], [pu.Prentate]]
|
||||
}, [0, 1, 2], maxPoints);
|
||||
|
||||
Plotly.extendTraces('mv02-plot', { x: [[t]], y: [[pu.MV02]] }, [0]);
|
||||
Plotly.extendTraces('mv03-plot', { x: [[t]], y: [[pu.MV03]] }, [0]);
|
||||
Plotly.extendTraces('mv04-05-plot', {
|
||||
x: [[t], [t]],
|
||||
y: [[pu.MV04], [pu.MV05]]
|
||||
}, [0, 1]);
|
||||
Plotly.extendTraces('mv06-plot', { x: [[t]], y: [[pu.MV06]] }, [0]);
|
||||
Plotly.extendTraces('mv07-plot', { x: [[t]], y: [[pu.MV07]] }, [0]);
|
||||
Plotly.extendTraces('mv08-plot', { x: [[t]], y: [[pu.MV08]] }, [0]);
|
||||
// TURN OFF FOR NOW
|
||||
// Plotly.extendTraces('mv02-plot', { x: [[t]], y: [[pu.MV02]] }, [0]);
|
||||
// Plotly.extendTraces('mv03-plot', { x: [[t]], y: [[pu.MV03]] }, [0]);
|
||||
// Plotly.extendTraces('mv04-05-plot', {
|
||||
// x: [[t], [t]],
|
||||
// y: [[pu.MV04], [pu.MV05]]
|
||||
// }, [0, 1]);
|
||||
// Plotly.extendTraces('mv06-plot', { x: [[t]], y: [[pu.MV06]] }, [0]);
|
||||
// Plotly.extendTraces('mv07-plot', { x: [[t]], y: [[pu.MV07]] }, [0]);
|
||||
// Plotly.extendTraces('mv08-plot', { x: [[t]], y: [[pu.MV08]] }, [0]);
|
||||
|
||||
const range = getLastMinuteRange();
|
||||
const plotIds = [
|
||||
|
|
@ -136,45 +136,45 @@
|
|||
xaxis: { title: 'Time', type: 'date' },
|
||||
yaxis: { title: 'Pressure (bar)', range: [0, 15] }
|
||||
});
|
||||
//
|
||||
// Plotly.newPlot('mv02-plot', [{
|
||||
// x: time0, y: [0], name: 'MV02', mode: 'lines'
|
||||
// }], {
|
||||
// title: 'MV02 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
//
|
||||
// Plotly.newPlot('mv03-plot', [{
|
||||
// x: time0, y: [0], name: 'MV03', mode: 'lines'
|
||||
// }], {
|
||||
// title: 'MV03 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
//
|
||||
// Plotly.newPlot('mv04-05-plot', [
|
||||
// { x: time0, y: [0], name: 'MV04', mode: 'lines' },
|
||||
// { x: time0, y: [0], name: 'MV05', mode: 'lines' }
|
||||
// ], {
|
||||
// title: 'MV04 + MV05 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
//
|
||||
// Plotly.newPlot('mv06-plot', [{
|
||||
// x: time0, y: [0], name: 'MV06', mode: 'lines'
|
||||
// }], {
|
||||
// title: 'MV06 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
//
|
||||
// Plotly.newPlot('mv07-plot', [{
|
||||
// x: time0, y: [0], name: 'MV07', mode: 'lines'
|
||||
// }], {
|
||||
// title: 'MV07 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
//
|
||||
// Plotly.newPlot('mv08-plot', [{
|
||||
// x: time0, y: [0], name: 'MV08', mode: 'lines'
|
||||
// }], {
|
||||
// title: 'MV08 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
// });
|
||||
|
||||
Plotly.newPlot('mv02-plot', [{
|
||||
x: time0, y: [0], name: 'MV02', mode: 'lines'
|
||||
}], {
|
||||
title: 'MV02 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
Plotly.newPlot('mv03-plot', [{
|
||||
x: time0, y: [0], name: 'MV03', mode: 'lines'
|
||||
}], {
|
||||
title: 'MV03 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
Plotly.newPlot('mv04-05-plot', [
|
||||
{ x: time0, y: [0], name: 'MV04', mode: 'lines' },
|
||||
{ x: time0, y: [0], name: 'MV05', mode: 'lines' }
|
||||
], {
|
||||
title: 'MV04 + MV05 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
Plotly.newPlot('mv06-plot', [{
|
||||
x: time0, y: [0], name: 'MV06', mode: 'lines'
|
||||
}], {
|
||||
title: 'MV06 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
Plotly.newPlot('mv07-plot', [{
|
||||
x: time0, y: [0], name: 'MV07', mode: 'lines'
|
||||
}], {
|
||||
title: 'MV07 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
Plotly.newPlot('mv08-plot', [{
|
||||
x: time0, y: [0], name: 'MV08', mode: 'lines'
|
||||
}], {
|
||||
title: 'MV08 (%)', yaxis: { range: [0, 100] }, xaxis: { type: 'date' }
|
||||
});
|
||||
|
||||
setInterval(updatePlots, 1000);
|
||||
setInterval(updatePlots, 250);
|
||||
}
|
||||
|
||||
window.onload = initPlots;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user