mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 13:14:11 +08:00
fixed
This commit is contained in:
parent
cf15bc7063
commit
74a090f320
@ -80,7 +80,6 @@ class TaskResultToolsFrame(QFrame):
|
|||||||
if result.code < 0:
|
if result.code < 0:
|
||||||
self.set_default()
|
self.set_default()
|
||||||
MessageBox("校准启动失败", "error", get_msg_info(msg.record.code).decode('utf-8'), AppContext.get_main_window()).show()
|
MessageBox("校准启动失败", "error", get_msg_info(msg.record.code).decode('utf-8'), AppContext.get_main_window()).show()
|
||||||
# QMessageBox.warning(self, '校准启动失败', get_msg_info(msg.record.code).decode('utf-8'))
|
|
||||||
|
|
||||||
# 开始检测
|
# 开始检测
|
||||||
def start_check(self):
|
def start_check(self):
|
||||||
@ -102,7 +101,6 @@ class TaskResultToolsFrame(QFrame):
|
|||||||
result = AppContext.get_edge_context().get_component('image-framework').stop_check()
|
result = AppContext.get_edge_context().get_component('image-framework').stop_check()
|
||||||
if result.code < 0:
|
if result.code < 0:
|
||||||
MessageBox("检测停止失败", "error", get_msg_info(msg.record.code).decode('utf-8'), AppContext.get_main_window()).show()
|
MessageBox("检测停止失败", "error", get_msg_info(msg.record.code).decode('utf-8'), AppContext.get_main_window()).show()
|
||||||
# QMessageBox.warning(self, '检测停止失败', get_msg_info(msg.record.code).decode('utf-8'))
|
|
||||||
self.set_default()
|
self.set_default()
|
||||||
|
|
||||||
# 结束任务
|
# 结束任务
|
||||||
|
Loading…
Reference in New Issue
Block a user