|
@@ -70,7 +70,6 @@ public class MesClient extends JFrame {
|
|
|
public static JFrame welcomeWin;
|
|
public static JFrame welcomeWin;
|
|
|
|
|
|
|
|
// public static JPanel indexPanelWork; // 已弃用,改为使用 WorkRecordPanel
|
|
// public static JPanel indexPanelWork; // 已弃用,改为使用 WorkRecordPanel
|
|
|
- public static MesWebView jfxPanel = null;
|
|
|
|
|
|
|
|
|
|
public static JTable table;
|
|
public static JTable table;
|
|
|
public static Object[] columnNames = { "物料名称", "绑定批次", "剩余次数", "操作" };
|
|
public static Object[] columnNames = { "物料名称", "绑定批次", "剩余次数", "操作" };
|
|
@@ -79,6 +78,7 @@ public class MesClient extends JFrame {
|
|
|
public static WorkJPanelOP60 workJPanelOP60;
|
|
public static WorkJPanelOP60 workJPanelOP60;
|
|
|
public static WorkJPanelOP60Transfer workJPanelOP60Transfer;
|
|
public static WorkJPanelOP60Transfer workJPanelOP60Transfer;
|
|
|
public static WorkJPanelOP70Transfer workJPanelOP70Transfer;
|
|
public static WorkJPanelOP70Transfer workJPanelOP70Transfer;
|
|
|
|
|
+ public static WorkJPanel70Xh workJPanel70XhFront; // 正面换型台(OP070,扫码按OP070方式)
|
|
|
|
|
|
|
|
public static WorkJPanelOP65 workJPanelOP65A;
|
|
public static WorkJPanelOP65 workJPanelOP65A;
|
|
|
|
|
|
|
@@ -192,7 +192,7 @@ public class MesClient extends JFrame {
|
|
|
|
|
|
|
|
public MesClient() {
|
|
public MesClient() {
|
|
|
setIconImage(Toolkit.getDefaultToolkit().getImage(MesClient.class.getResource("/bg/logo.png")));
|
|
setIconImage(Toolkit.getDefaultToolkit().getImage(MesClient.class.getResource("/bg/logo.png")));
|
|
|
- setTitle("MES系统客户端:OP60-OP70");
|
|
|
|
|
|
|
+ setTitle("MES系统客户端:OP70-OP80");
|
|
|
// setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
// setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
// setBounds(0, 0, 1920, 1080);
|
|
// setBounds(0, 0, 1920, 1080);
|
|
|
setBounds(0, 0, 1024, 768);
|
|
setBounds(0, 0, 1024, 768);
|
|
@@ -363,9 +363,18 @@ public class MesClient extends JFrame {
|
|
|
indexPanel60Bc.add(workJPanelOP70Transfer);
|
|
indexPanel60Bc.add(workJPanelOP70Transfer);
|
|
|
indexPanelB.add(indexPanel60Bc);
|
|
indexPanelB.add(indexPanel60Bc);
|
|
|
|
|
|
|
|
|
|
+ // 正面换型台:集中扫码,OP60设备面板从其文本框取码(扫码按OP070方式)
|
|
|
|
|
+ JPanel indexPanel60Xh = new JPanel();
|
|
|
|
|
+ indexPanel60Xh.setLayout(null);
|
|
|
|
|
+ indexPanel60Xh.setBackground(Color.WHITE);
|
|
|
|
|
+ workJPanel70XhFront = new WorkJPanel70Xh("OP070", "C");
|
|
|
|
|
+ workJPanel70XhFront.setBounds(10, 10, workJPanel70XhFront.workWidth, workJPanel70XhFront.workHeight);
|
|
|
|
|
+ indexPanel60Xh.add(workJPanel70XhFront);
|
|
|
|
|
+ indexPanelB.add(indexPanel60Xh);
|
|
|
|
|
|
|
|
|
|
|
|
|
- tabbedPane.addTab("OP60封板正面FSW", null, indexScrollPaneB, null);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ tabbedPane.addTab("OP70封板正面FSW", null, indexScrollPaneB, null);
|
|
|
tabbedPane.setEnabledAt(0, true);
|
|
tabbedPane.setEnabledAt(0, true);
|
|
|
|
|
|
|
|
JPanel indexPanelC = new JPanel();
|
|
JPanel indexPanelC = new JPanel();
|
|
@@ -387,7 +396,7 @@ public class MesClient extends JFrame {
|
|
|
indexPanelC.add(indexPanel65A);
|
|
indexPanelC.add(indexPanel65A);
|
|
|
|
|
|
|
|
|
|
|
|
|
- tabbedPane.addTab("OP65打磨", null, indexScrollPaneC, null);
|
|
|
|
|
|
|
+ tabbedPane.addTab("OP75封板正面打磨", null, indexScrollPaneC, null);
|
|
|
tabbedPane.setForegroundAt(1, Color.RED);
|
|
tabbedPane.setForegroundAt(1, Color.RED);
|
|
|
|
|
|
|
|
JPanel indexPanelD = new JPanel();
|
|
JPanel indexPanelD = new JPanel();
|
|
@@ -463,7 +472,7 @@ public class MesClient extends JFrame {
|
|
|
indexPanelD.add(indexPanel70D);
|
|
indexPanelD.add(indexPanel70D);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- tabbedPane.addTab("OP70封板反面FSW", null, indexScrollPaneD, null);
|
|
|
|
|
|
|
+ tabbedPane.addTab("OP80封板反面FSW", null, indexScrollPaneD, null);
|
|
|
|
|
|
|
|
|
|
|
|
|
// ========== 工作记录 Tab(改造:OP60/OP65/OP70子工位Tab + 所有工位) ==========
|
|
// ========== 工作记录 Tab(改造:OP60/OP65/OP70子工位Tab + 所有工位) ==========
|
|
@@ -472,13 +481,13 @@ public class MesClient extends JFrame {
|
|
|
workRecordTabbedPane.setFont(new Font("微软雅黑", Font.PLAIN, 14));
|
|
workRecordTabbedPane.setFont(new Font("微软雅黑", Font.PLAIN, 14));
|
|
|
|
|
|
|
|
// 定义所有子工位
|
|
// 定义所有子工位
|
|
|
- // OP60: A, B
|
|
|
|
|
- // OP65: A, B
|
|
|
|
|
- // OP70: A, B, C, D, E, F
|
|
|
|
|
|
|
+ // OP70(原OP60正面FSW): A, B
|
|
|
|
|
+ // OP75(原OP65打磨): A, B
|
|
|
|
|
+ // OP80(原OP70反面FSW): A, B, C, D, E, F
|
|
|
String[][] stationGroups = {
|
|
String[][] stationGroups = {
|
|
|
- {"OP060", "A", "B"},
|
|
|
|
|
- {"OP065", "A", "B"},
|
|
|
|
|
- {"OP070", "A", "B", "C", "D", "E", "F"}
|
|
|
|
|
|
|
+ {"OP070", "A", "B"},
|
|
|
|
|
+ {"OP075", "A", "B"},
|
|
|
|
|
+ {"OP080", "A", "B", "C", "D", "E", "F"}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// 计算总的工位数(用于数组大小)
|
|
// 计算总的工位数(用于数组大小)
|