|
|
@@ -204,7 +204,12 @@ public class LoginFarme extends JFrame {
|
|
|
MesClient.mesClientFrame.setVisible(true);
|
|
|
|
|
|
if(MesClient.jfxPanel == null){
|
|
|
- String url = "http://"+ MesClient.mes_server_ip+":8980/js/a/mes/mesProductRecord/work?ucode="+user_id+"&oprno="+MesClient.mes_gw+MesClient.mes_gwflag+"&lineSn="+MesClient.mes_line_sn;
|
|
|
+ // 双工位传递dualStation=true参数
|
|
|
+ String dualStationParam = "";
|
|
|
+ if(!MesClient.mes_gwflag.isEmpty()){
|
|
|
+ dualStationParam = "&dualStation=true";
|
|
|
+ }
|
|
|
+ String url = "http://"+ MesClient.mes_server_ip+":8980/js/a/mes/mesProductRecord/work?ucode="+user_id+"&oprno="+MesClient.mes_gw+MesClient.mes_gwflag+"&lineSn="+MesClient.mes_line_sn+dualStationParam;
|
|
|
MesClient.jfxPanel = new MesWebView(url);
|
|
|
MesClient.jfxPanel.setSize(990, 550);
|
|
|
MesClient.indexPanelB.add(MesClient.jfxPanel);
|