|
|
@@ -129,16 +129,16 @@ public class maingoods_adapter extends RecyclerView.Adapter<RecyclerView.ViewHol |
|
|
|
*/ |
|
|
|
public void Make(View view) |
|
|
|
{ |
|
|
|
// if(!DataBus.getInstance().PlcIsConnect) |
|
|
|
// { |
|
|
|
// T.show(view.getContext(),"PLC未连接,不允许下单!"); |
|
|
|
// return; |
|
|
|
// } |
|
|
|
// |
|
|
|
// if (BusinessServer.Get().Commoditys.size() > 0) { |
|
|
|
// T.show(view.getContext(), "请等待前一饮品制作完成!"); |
|
|
|
// return; |
|
|
|
// } |
|
|
|
if(!DataBus.getInstance().PlcIsConnect) |
|
|
|
{ |
|
|
|
T.show(view.getContext(),"PLC未连接,不允许下单!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (BusinessServer.Get().Commoditys.size() > 0) { |
|
|
|
T.show(view.getContext(), "请等待前一饮品制作完成!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
BPA_ORDER order=new BPA_ORDER(); |
|
|
|
order.thirdPartyID="手动下单"; |
|
|
|