|
@@ -1489,7 +1489,7 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
|
|
|
self.msg_type = "mcu"
|
|
self.msg_type = "mcu"
|
|
|
self.controlDevice("laser_position", 1)
|
|
self.controlDevice("laser_position", 1)
|
|
|
|
|
|
|
|
- async def run_mcu_config_single(self, config_info, goods_art_no,msg_type="run_mcu_single_finish",image_index=-1):
|
|
|
|
|
|
|
+ async def run_mcu_config_single(self, config_info, goods_art_no,msg_type="run_mcu_single_finish",image_index=-1,record_id=-1):
|
|
|
'''独立拍照 仅作测试用'''
|
|
'''独立拍照 仅作测试用'''
|
|
|
if self.checkDevice() == False:
|
|
if self.checkDevice() == False:
|
|
|
return
|
|
return
|
|
@@ -1503,6 +1503,7 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
|
|
|
mcu=self,
|
|
mcu=self,
|
|
|
goods_art_no=goods_art_no,
|
|
goods_art_no=goods_art_no,
|
|
|
image_index=image_index,
|
|
image_index=image_index,
|
|
|
|
|
+ record_id=record_id,
|
|
|
)
|
|
)
|
|
|
print("self.action_state===>", self.action_state)
|
|
print("self.action_state===>", self.action_state)
|
|
|
if self.action_state != 1:
|
|
if self.action_state != 1:
|