digital-shadow/demo-car/js/webSocketApp.js
//this function will get called when user will click on window checkbox
this function will get called when user will click on window checkbox
this function will get called when user will click on window checkbox
function handleWindowCommand(windowStatus) {
    obj = document.getElementsByClassName("action window")[0];
    obj.checked = windowStatus == "down" ? true : false;
    console.log(obj.getAttribute("data-text") + " : " + obj.checked);
}
function handleWindowCommand ( windowStatus ) { obj = document . getElementsByClassName ( "action window" ) [ 0 ] ; obj . checked = windowStatus == "down" ? true : false ; console . log ( obj . getAttribute ( "data-text" ) + " : " + obj . checked ) ; }
this function will get called when user will click on window checkbox
this function will get called when user will click on window checkbox