otsdaq_utilities  v2_04_01
widgetLibrary.js
1 //=====================================================================================
2 //
3 // Created Aug, 2016
4 // by Daniel Parilla ((parilla at fnal.gov))
5 //
6 // OtsConfigurationWizard.js
7 //
8 //
9 //
10 //
11 //
12 //
13 //=====================================================================================
14 var widgetLibrary = widgetLibrary || {};
15 widgetLibrary.typeToSrc = {"0" :"widgets/widget_text.html",
16  "1" :"widgets/widget_basicDisplay.html"/*,
17  "2" :"widgets/widget_testHJones.html",
18  "3" :"widgets",
19  "4" :"widgets",
20  "5" :"widgets/thermometer.html",
21  "6" :"widgets",
22  "7" :"widgets",
23  "8" :"widgets",
24  "9" :"widgets",
25  "10":"widgets",
26  "11":"widgets",
27  "12":"widgets" */
28  }
29 widgetLibrary.typeToImgSrc = {
30  "0" :"label-icon.png",
31  "1" :"digital-clock-icon.png"
32 /*
33  "2" :"switch-icon.png",
34  "3" :"Alarm-clock-icon.png",
35  "4" :"digital-clock-icon.png",
36  "5" :"thermometer-icon.png" */
37  }
38 widgetLibrary.typeToPurpose = {
39  "0" : "Plain Text"/*,
40  "1" : "Basic Display",
41  "2" : "Hakeem's Widet",
42  "3" : "Clock",
43  "4" : "Clock",
44  "5" : "Temperature"*/
45  }
46 widgetLibrary.init = function()
47 {
48 
49 }