function removeListener2(device) {
        if (device.deviceType == '现场测试') {
          return
        }
        //console.log('removeListener2  ')
        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 removeListener2(device) {
        if (device.deviceType == '现场测试') {
          return
        }
        var id = calculateId(device)
        var item = list.children[id]
        if (item) {
          list.removeChild(item)
        }
        delete mapping[id]
      }
function removeListener2 ( device ) { if ( device . deviceType == '现场测试') { return } 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('removeListener2  ')