www/js/global.js

Mon, 06 May 2024 15:34:32 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 06 May 2024 15:34:32 +0200
changeset 731
8b7c63bddf75
parent 714
24749c296a50
permissions
-rw-r--r--

Version 0.9.20a2. Renamed one-wire struct resolution to rd_cache and added wr_cache. The rd_cache and wr_cache values are used by the DS2413. Added these values to the grid so we can see them live.

686
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
1
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
2 var DeviceTypeData = [
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
3 { id: 0, mno: 'NA', en: 'Unknown' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
4 { id: 1, mno: 'W1', en: 'One-wire' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
5 { id: 2, mno: 'GPIO', en: 'GPIO' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
6 { id: 3, mno: 'RC433', en: 'RC-433' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
7 { id: 4, mno: 'DHT', en: 'DHT11' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
8 { id: 5, mno: 'I2C', en: 'I2C bus' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
9 { id: 6, mno: 'SPI', en: 'SPI bus' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
10 { id: 7, mno: 'SIM', en: 'Simulator' }
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
11 ],
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
12 DeviceTypeSource = {
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
13 localdata: DeviceTypeData,
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
14 datatype: 'array',
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
15 datafields: [{ name: 'id' }, { name: 'mno' }, { name: 'en' }]
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
16 },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
17 DeviceTypeAdapter = new $.jqx.dataAdapter(DeviceTypeSource),
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
18
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
19 DevicePresentData = [
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
20 { id: 0, mno: 'UNDEF', en: 'Unknown' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
21 { id: 1, mno: 'NO', en: 'No' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
22 { id: 2, mno: 'YES', en: 'Yes' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
23 { id: 3, mno: 'ERROR', en: 'Error' }
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
24 ],
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
25 DevicePresentSource = {
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
26 localdata: DevicePresentData,
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
27 datatype: 'array',
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
28 datafields: [{ name: 'id' }, { name: 'mno' }, { name: 'en' }]
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
29 },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
30 DevicePresentAdapter = new $.jqx.dataAdapter(DevicePresentSource),
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
31
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
32 DeviceDirectionData = [
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
33 { id: 0, mno: 'UNDEF', en: 'Unknown' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
34 { id: 1, mno: 'IN_BIN', en: 'Binary input' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
35 { id: 2, mno: 'OUT_BIN', en: 'Binary output' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
36 { id: 3, mno: 'IN_ANALOG', en: 'Analog input' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
37 { id: 4, mno: 'OUT_ANALOG', en: 'Analog output' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
38 { id: 5, mno: 'OUT_PWM', en: 'PWM output' },
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
39 { id: 6, mno: 'INTERN', en: 'Intern' }
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
40 ],
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
41 DeviceDirectionSource = {
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
42 localdata: DeviceDirectionData,
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
43 datatype: 'array',
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
44 datafields: [{ name: 'id' }, { name: 'mno' }, { name: 'en' }]
372b2442a30f More work for devices list and editor.
Michiel Broek <mbroek@mbse.eu>
parents: 675
diff changeset
45 },
687
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
46 DeviceDirectionAdapter = new $.jqx.dataAdapter(DeviceDirectionSource),
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
47
697
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
48 // Temp sensors droptdown list
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
49 tempsensorSource = {
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
50 datatype: 'json',
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
51 datafields: [
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
52 { name: 'uuid', type: 'string' },
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
53 { name: 'name', type: 'string' }
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
54 ],
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
55 url: 'drop_tempsensors.php'
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
56 },
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
57 tempsensorlist = new $.jqx.dataAdapter(tempsensorSource),
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
58
703
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
59 // Switches dropdown list
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
60 switchesSource = {
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
61 datatype: 'json',
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
62 datafields: [
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
63 { name: 'uuid', type: 'string' },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
64 { name: 'name', type: 'string' }
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
65 ],
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
66 url: 'drop_switches.php'
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
67 },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
68 switcheslist = new $.jqx.dataAdapter(switchesSource),
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
69
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
70 // Contacts dropdown list
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
71 contactsSource = {
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
72 datatype: 'json',
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
73 datafields: [
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
74 { name: 'uuid', type: 'string' },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
75 { name: 'name', type: 'string' }
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
76 ],
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
77 url: 'drop_contacts.php'
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
78 },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
79 contactslist = new $.jqx.dataAdapter(contactsSource),
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
80
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
81
687
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
82 // options for editors
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
83
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
84 Show0dec = { inputMode: 'simple', theme: theme, width: 90, height: 23, readOnly: true, decimalDigits: 0 },
697
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
85 Show1dec = { inputMode: 'simple', theme: theme, width: 90, height: 23, readOnly: true, decimalDigits: 1 },
714
24749c296a50 Version 0.9.19b2. Simulator redesign and it is now possible to run more then one simulator. All simulated devices have address names that include the simulator number. Added the setup screen for the most part. Not compatible with previous versions if a simulator was used, delete all simulators and simulated devices during stop and start.
Michiel Broek <mbroek@mbse.eu>
parents: 703
diff changeset
86 Show2dec = { inputMode: 'simple', theme: theme, width: 90, height: 23, readOnly: true, decimalDigits: 2 },
24749c296a50 Version 0.9.19b2. Simulator redesign and it is now possible to run more then one simulator. All simulated devices have address names that include the simulator number. Added the setup screen for the most part. Not compatible with previous versions if a simulator was used, delete all simulators and simulated devices during stop and start.
Michiel Broek <mbroek@mbse.eu>
parents: 703
diff changeset
87 Show3dec = { inputMode: 'simple', theme: theme, width: 90, height: 23, readOnly: true, decimalDigits: 3 },
24749c296a50 Version 0.9.19b2. Simulator redesign and it is now possible to run more then one simulator. All simulated devices have address names that include the simulator number. Added the setup screen for the most part. Not compatible with previous versions if a simulator was used, delete all simulators and simulated devices during stop and start.
Michiel Broek <mbroek@mbse.eu>
parents: 703
diff changeset
88 Show4dec = { inputMode: 'simple', theme: theme, width: 90, height: 23, readOnly: true, decimalDigits: 4 },
687
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
89 Spin0dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 0, spinButtons: true },
703
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
90 Spin1dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 1, spinButtons: true },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
91 Spin2dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 2, spinButtons: true },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
92 Spin3dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 3, spinButtons: true },
714
24749c296a50 Version 0.9.19b2. Simulator redesign and it is now possible to run more then one simulator. All simulated devices have address names that include the simulator number. Added the setup screen for the most part. Not compatible with previous versions if a simulator was used, delete all simulators and simulated devices during stop and start.
Michiel Broek <mbroek@mbse.eu>
parents: 703
diff changeset
93 Spin4dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 4, spinButtons: true },
697
685f20ad87ed The global settings screen added. No Save function yet.
Michiel Broek <mbroek@mbse.eu>
parents: 687
diff changeset
94 PosInt = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 0, spinButtons: true },
687
f5d05b420732 Devices edit popup layout ready.
Michiel Broek <mbroek@mbse.eu>
parents: 686
diff changeset
95 SubInt = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 63, decimalDigits: 0, spinButtons: true },
703
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
96 GPIOInt = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: -1, max:31, decimalDigits: 0, spinButtons: true },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
97 Perc1dec = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 100, decimalDigits: 1, spinButtons: true },
344470c6bb1c Fermenter editor layout is ready. Load record done. Add and Delete a new fermenter is done.
Michiel Broek <mbroek@mbse.eu>
parents: 697
diff changeset
98 Perc0 = { inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 100, decimalDigits: 0, spinButtons: true };
675
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
99
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
100
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
101 /* Websocket interface. Place "websocket.onmessage = function(evt) {}" in the user script. */
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
102 var websocket = new ReconnectingWebSocket('ws://'+location.hostname+'/ws');
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
103
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
104 websocket.onerror = function(event) {
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
105 console.log('Websocket error: ' + event.data);
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
106 }
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
107
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
108
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
109
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
110 $(document).ready(function() {
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
111
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
112 $('#jqxMenu').jqxMenu({
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
113 width: 1280,
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
114 height: '30px',
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
115 autoOpen: false,
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
116 clickToOpen: true,
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
117 theme: theme
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
118 });
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
119 $('#jqxWidget').css('visibility', 'visible');
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
120 });
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
121
825210ba2707 Added websockets to thermferm. Started new www directory for websocket enabled web. The init script now waits until thermferm is completely stopped.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
122

mercurial