Skip to content
Snippets Groups Projects
Commit 346ab244 authored by Lucio Zambon's avatar Lucio Zambon
Browse files

Update panther_conf.js

parent f1510d2a
No related branches found
No related tags found
No related merge requests found
const urlBase = document.location.protocol + '//' + document.location.host + '/panther';
export const conf = { export const conf = {
default_machine: 'elettra', default_machine: 'elettra',
machineList: ['elettra', 'elettra2', 'fermi', 'esrf','nsls2'], machineList: ['elettra', 'elettra2', 'fermi', 'esrf','nsls2'],
tooltipApp: "<your_URL_for_tooltip_app_with_parameters_s=screen&param=otherparam>", tooltipAppNormal: urlBase+'/spa/index.html',
tooltipAppNormal: '<URL_of_alternative_tooltip_app>', tooltipApp: document.location.search.indexOf('demo')>-1? './magnetdemo.html': urlBase+'/spa/index.html',
rchan: "<your_URL_for_reading_the_field>src=" rchan: urlBase+"/rchan.php?json&valueOnly&src=",
stateLabelColor: {'ON':'green','OFF':'white','CLOSED':'white','OPENED':'green','INSERT':'white','EXTRACT':'green','MOVING':'LightBlue','STANDBY':'yellow','FAULT':'red','INIT':'beige','RUNNING':'DarkGreen','ALARM':'orange','DISABLE':'magenta','UNKNOWN':'grey'},
stateSrcUrl: urlBase+'/updater.php?read&filename=1000.ps.src',
stateUrl: urlBase+'/updater.php?read&filename=1000.ps',
vlvSrcUrl: urlBase+'/updater.php?read&filename=1000.vlv.src',
vlvUrl: urlBase+'/updater.php?read&filename=1000.vlv',
compdb: '<components_database_url>',
bstmap: {'base': 'some BST'}),
modes: ['fast', 'plus', 'premium'],
bpmSrcUrl: urlBase+'/bpm.php?src',
bpmUrl: urlBase+'/bpm.php',
bpmFactor: {a: 1000, b: 100, c: 10},
blmSrcUrl: urlBase+'/blm.php?src',
blmUrl: urlBase+'/blm.php'
}; };
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment