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