private void ShowNewDeviceInfo()
 {
     if (ShowDeviceInfoRuntime >= ZigbeeCommon.Tick)
     {
         ShowDeviceInfoRuntime -= ZigbeeCommon.Tick;
     }
     else
     {
         ShowDeviceInfoRuntime = 0;
     }
     if (ShowDeviceInfoRuntime == 0)
     {
         ShowDeviceInfoRuntime = ZigbeeCommon.ShowDeviceInfoUpdateTime;
         ZigbeeDevice.Device_t dev = ZigbeeApi.Device.GetNewDevieInfo();
         if (dev != null)
         {
             String str = "New Device:" + dev.addr.ToString("X4") + "\r\n";
             foreach (ZigbeeDevice.Point_t p in dev.PointList)
             {
                 if (p.inCLusterID != null && p.outClusterID != null)
                 {
                     str += "Point:" + p.point.ToString("X2") + "\r\n";
                     str += "device ID:" + p.devID.ToString("X4") + " ver:" + p.ver.ToString("X2") + "\r\n";
                     str += "Input  Cluster ID:" + ZigbeeCommon.U16toHexStr(p.inCLusterID, 0, p.inCLusterID.Length) + "\r\n";
                     str += "Output Cluster ID:" + ZigbeeCommon.U16toHexStr(p.outClusterID, 0, p.outClusterID.Length) + "\r\n";
                 }
             }
             str += "\r\n";
             myZtool.UpdateRecieveTextBox(str);
         }
     }
 }