软件包名可配

This commit is contained in:
JIe
2025-04-21 10:55:21 +08:00
parent 8b1532d213
commit 906648bf93
2 changed files with 105 additions and 91 deletions

View File

@@ -324,17 +324,17 @@ impl MainWindow {
}
}
add_log("连接成功".to_string());
match mes_service.get_order_number(mes_config.work_order.clone()){
Ok(batch) => {
label = batch + &label[label.len() - 6..];
add_log("获取订单号成功".to_string());
},
Err(e) =>{
add_log(e.to_string());
sender.send(Message::DownloadEnd((label, false))).unwrap();
return;
}
}
// match mes_service.get_order_number(mes_config.work_order.clone()){
// Ok(batch) => {
// label = batch + &label[label.len() - 6..];
// add_log("获取订单号成功".to_string());
// },
// Err(e) =>{
// add_log(e.to_string());
// sender.send(Message::DownloadEnd((label, false))).unwrap();
// return;
// }
// }
add_log("正在过站检测".to_string());
let check_result = mes_service.check_station(
mes_config.work_order.clone(),