function addListener(device) {
        console.log('addListener ')
        if (device.deviceType == '现场测试') {
          var item = createItem(device)
          filterItem(item, device)
          insertItem(item, device)
        }

      }
// Triggers when the tracker sees a device for the first time.
Triggers when the tracker sees a device for the first time.
Triggers when the tracker sees a device for the first time .
function addListener(device) {
        console.log('addListener ')
        if (device.deviceType == '现场测试') {
          var item = createItem(device)
          filterItem(item, device)
          insertItem(item, device)
        }
      }
function addListener ( device ) { console . log ( 'addListener ' ) if ( device . deviceType == '现场测试') { var item = createItem ( device ) filterItem ( item , device ) insertItem ( item , device ) } }
Triggers when the tracker sees a device for the first time.
Triggers when the tracker sees a device for the first time .