软件包名可配
This commit is contained in:
22
src/main.rs
22
src/main.rs
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user