|
@@ -222,20 +222,12 @@ class Frame(QMainWindow):
|
|
|
return
|
|
|
|
|
|
#光电正常
|
|
|
- if lidar_statu==MeasureStatu["无数据"] and icpu_statu.is_occupy == 2:
|
|
|
- self.panel_txt.ShowImg(self.images['请调整'])
|
|
|
- self.panel_arrow.FlashImg(self.images['向左旋转'])
|
|
|
- self.last_show = "请调整"
|
|
|
- elif lidar_statu==MeasureStatu["无数据"] and icpu_statu.is_occupy != 2:
|
|
|
+ if lidar_statu==MeasureStatu["无数据"] and icpu_statu.is_occupy != 2:
|
|
|
self.panel_txt.ShowImg(self.images["空闲"])
|
|
|
self.panel_arrow.ShowImg(self.images["空闲"])
|
|
|
self.last_show="空闲"
|
|
|
return
|
|
|
- elif lidar_statu==MeasureStatu["噪声"] and icpu_statu.is_occupy == 2:
|
|
|
- self.panel_txt.ShowImg(self.images['请调整'])
|
|
|
- self.panel_arrow.FlashImg(self.images['向左旋转'])
|
|
|
- self.last_show = "请调整"
|
|
|
- elif lidar_statu==MeasureStatu["噪声"] and icpu_statu.is_occupy != 2:
|
|
|
+ elif lidar_statu==MeasureStatu["噪声"]:
|
|
|
if self.last_show=="超时":
|
|
|
self.panel_txt.ShowImg(self.images["空闲"])
|
|
|
self.panel_arrow.ShowImg(self.images["空闲"])
|