|
|
@@ -249,6 +249,8 @@ export const checkInfo = defineStore('checkInfo', () => {
|
|
|
device.status = 0;
|
|
|
device.msg = "未连接";
|
|
|
}
|
|
|
+ mcu.status = -0;
|
|
|
+ mcu.isInitSend = false;
|
|
|
checkTime.value++;
|
|
|
CKTimerInterval = setInterval(()=>{
|
|
|
checkTime.value++;
|
|
|
@@ -265,6 +267,10 @@ export const checkInfo = defineStore('checkInfo', () => {
|
|
|
mcu.isInitSend = false;
|
|
|
devices.mcu.msg = '拍照机连接失败';
|
|
|
}
|
|
|
+ if( devices.cam_control.status !== 2 ){
|
|
|
+ devices.cam_control.status = -1;
|
|
|
+ devices.cam_control.msg = '拍照机连接失败';
|
|
|
+ }
|
|
|
}
|
|
|
},1000)
|
|
|
await checkAction();
|