function removeListener(device) {
        //console.log('removeListener  ')
        if (device.deviceType == '现场测试') {
          var id = calculateId(device)
          var item = list.children[id]

          if (item) {
            list.removeChild(item)
          }

          delete mapping[id]
        }
      }
// Triggers when a device is removed entirely from the tracker.
Triggers when a device is removed entirely from the tracker.
Triggers when a device is removed entirely from the tracker .
function removeListener(device) {
        if (device.deviceType == '现场测试') {
          var id = calculateId(device)
          var item = list.children[id]
          if (item) {
            list.removeChild(item)
          }
          delete mapping[id]
        }
      }
function removeListener ( device ) { if ( device . deviceType == '现场测试') { var id = calculateId ( device ) var item = list . children [ id ] if ( item ) { list . removeChild ( item ) } delete mapping [ id ] } }
Triggers when a device is removed entirely from the tracker.
Triggers when a device is removed entirely from the tracker .
//console.log('removeListener  ')