equal
deleted
inserted
replaced
241 }; |
241 }; |
242 |
242 |
243 function send_hmi_value(index, value) { |
243 function send_hmi_value(index, value) { |
244 if(index > last_remote_index){ |
244 if(index > last_remote_index){ |
245 updates[index] = value; |
245 updates[index] = value; |
|
246 |
|
247 if(persistent_indexes.has(index)){ |
|
248 let varname = persistent_indexes.get(index); |
|
249 console.log(varname+"="+value+"; max-age=3153600000"); |
|
250 document.cookie = varname+"="+value+"; max-age=3153600000"; |
|
251 } |
|
252 |
246 requestHMIAnimation(); |
253 requestHMIAnimation(); |
247 return; |
254 return; |
248 } |
255 } |
249 |
256 |
250 let iectype = hmitree_types[index]; |
257 let iectype = hmitree_types[index]; |