فهرست منبع

全部A/B面拆分双工位

zxl 2 هفته پیش
والد
کامیت
1701f9f212

+ 7 - 10
src/main/java/com/mes/config/HgLineProfiles.java

@@ -6,8 +6,8 @@ import java.util.List;
  * 弧焊产线 PLC IP 预设:配置 {@code mes.line-profile} 后自动套到当前工位 IP。
  * 工位编码在 yml {@code mes.line-stations} 自配,这里不覆盖。
  * <p>
- * 物理仍是 5 台 PLC;客户端 6 工位:id1/id2(1#A/B)共用 ips[0],
- * id3~id6 依次对应 ips[1]~ips[4](原 2#~5#)。
+ * 物理 5 台 PLC;客户端 10 工位(每站 A/B 各一):
+ * id1/2→ips[0],id3/4→ips[1],…,id9/10→ips[4]。
  * 端口按 IP:.2/.6/.11/.16 → 5020,其余 5006。
  * </p>
  * <ul>
@@ -79,18 +79,15 @@ public final class HgLineProfiles {
 	}
 
 	/**
-	 * 工位 id → 物理 PLC 下标:1/2→0,3→1,4→2,5→3,6→4;越界返回 -1。
+	 * 工位 id → 物理 PLC 下标:每两个 id 共用一台 PLC。
+	 * 1/2→0,3/4→1,5/6→2,7/8→3,9/10→4;越界返回 -1。
 	 */
 	public static int plcIndexOfStationId(int stationId) {
-		if (stationId <= 0) {
+		if (stationId <= 0 || stationId > 10) {
 			return -1;
 		}
-		if (stationId <= 2) {
-			// 1#A / 1#B 共用第一台 PLC
-			return 0;
-		}
-		// id3~6 → 原 2#~5#
-		return stationId - 2;
+		// (id-1)/2:A/B 成对映射到同一物理 PLC
+		return (stationId - 1) / 2;
 	}
 
 	/**

+ 20 - 6
src/main/java/com/mes/config/MesClientProperties.java

@@ -9,7 +9,7 @@ import java.util.Map;
 
 /**
  * 柔性线弧焊客户端配置,对应 application.yml 中 {@code mes.*}。
- * 三条产线各 6 个工位编码在 {@code line-stations} 自配(1#A/B + 2#~5#);切 {@code line-profile} 启用其中一组。
+ * 三条产线各 10 个工位(5 物理站 × A/B),在 {@code line-stations} 自配;切 {@code line-profile} 启用其中一组。
  */
 @ConfigurationProperties(prefix = "mes")
 public class MesClientProperties {
@@ -39,12 +39,18 @@ public class MesClientProperties {
 	 */
 	private boolean autoNextOnPush = true;
 	/**
+	 * 是否写 PLC L180(MES 允许/不允许启动)。
+	 * false:取码/结案/清码都不写允许信号,相当于现场不卡 MES 允许。
+	 * yml:{@code mes-allow-enabled}
+	 */
+	private boolean mesAllowEnabled = true;
+	/**
 	 * 产线开关:T13J / T1E / T1GC。
-	 * 启动时从 {@link #lineStations} 取出该线 6 工位,再按 {@link HgLineProfiles} 填 PLC IP。
+	 * 启动时从 {@link #lineStations} 取出该线 10 工位,再按 {@link HgLineProfiles} 填 PLC IP。
 	 */
 	private String lineProfile = HgLineProfiles.DEFAULT;
 	/**
-	 * 三条产线各自的工位配置(每线 6 个:1#A/B + 2#~5#),key=T13J/T1E/T1GC。
+	 * 三条产线各自的工位配置(每线 10 个:1#~5# 各 A/B),key=T13J/T1E/T1GC。
 	 * 工位编码、标题、固定面在 yml 自配。
 	 */
 	private Map<String, List<StationConfig>> lineStations = new LinkedHashMap<String, List<StationConfig>>();
@@ -62,10 +68,10 @@ public class MesClientProperties {
 
 	/**
 	 * 单个工位 Tab:一个工位编码;PLC IP 由产线预设填充。
-	 * 配了 {@link #fixedSide} 的(通常 1#A/1#B)只盯该面;未配则运行时认 A/B。
+	 * 配了 {@link #fixedSide} 只盯该面(现全部 A/B 分站都应配置);未配则运行时认面(兼容兜底)。
 	 */
 	public static class StationConfig {
-		/** 序号:1/2=1#A/B(共用一台 PLC),3~6=原 2#~5# */
+		/** 序号:1/2=1#A/B,3/4=2#A/B,…,9/10=5#A/B(成对共用一台 PLC) */
 		private int id;
 		/** 柔性工位编码(入队/取码/过站),在 line-stations 里配 */
 		private String stationSn = "";
@@ -74,7 +80,7 @@ public class MesClientProperties {
 		/** Tab 显示名,在 line-stations 里配 */
 		private String title = "";
 		/**
-		 * 固定焊接面:A / B;空=运行时认面(2#~5#)。
+		 * 固定焊接面:A / B;空=运行时认面(兜底,全站分面后应都配置)。
 		 * yml 字段 {@code fixed-side}。
 		 */
 		private String fixedSide = "";
@@ -184,6 +190,14 @@ public class MesClientProperties {
 		this.autoNextOnPush = autoNextOnPush;
 	}
 
+	public boolean isMesAllowEnabled() {
+		return mesAllowEnabled;
+	}
+
+	public void setMesAllowEnabled(boolean mesAllowEnabled) {
+		this.mesAllowEnabled = mesAllowEnabled;
+	}
+
 	public String getLineProfile() {
 		return lineProfile;
 	}

+ 20 - 3
src/main/java/com/mes/service/MesFlexApiClient.java

@@ -192,13 +192,30 @@ public final class MesFlexApiClient {
 
 	/** 从 next 成功响应取出工件码 */
 	public static String snOf(JSONObject result) {
-		if (!isSuccess(result)) {
+		return dataFieldOf(result, "sn");
+	}
+
+	/**
+	 * 从 next 成功响应取出入队工号(PDA 扫码入队时写入队列的 userCode)。
+	 */
+	public static String userCodeOf(JSONObject result) {
+		String v = dataFieldOf(result, "userCode");
+		if (!v.isEmpty()) {
+			return v;
+		}
+		// 兼容个别端字段名
+		return dataFieldOf(result, "ucode");
+	}
+
+	/** next/clear 等成功响应 data 里取字符串字段 */
+	private static String dataFieldOf(JSONObject result, String field) {
+		if (!isSuccess(result) || field == null || field.isEmpty()) {
 			return "";
 		}
 		Object data = result.get("data");
 		if (data instanceof JSONObject) {
-			String sn = ((JSONObject) data).getString("sn");
-			return sn == null ? "" : sn.trim();
+			String v = ((JSONObject) data).getString(field);
+			return v == null ? "" : v.trim();
 		}
 		return "";
 	}

+ 88 - 12
src/main/java/com/mes/ui/MainFrame.java

@@ -16,6 +16,7 @@ import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.awt.event.WindowAdapter;
 import java.awt.event.WindowEvent;
+import java.awt.Insets;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Timer;
@@ -49,6 +50,8 @@ public class MainFrame extends JFrame {
 	public static String mes_user_code = "system";
 	/** 收到入队推送后是否自动 next */
 	public static boolean mes_auto_next_on_push = true;
+	/** 是否写 PLC L180(MES 允许启动);false=跳过允许/不允许信号 */
+	public static boolean mes_allow_enabled = true;
 	public static String sessionid = "";
 	public static String mes_gw = "";
 	public static String mes_gw1 = "";
@@ -170,7 +173,8 @@ public class MainFrame extends JFrame {
 		}
 		user20 = mes_user_code;
 		mes_auto_next_on_push = p.isAutoNextOnPush();
-		// 产线开关:从 line-stations 取该线工位(1#A/B + 2#~5#),再只套 PLC IP
+		mes_allow_enabled = p.isMesAllowEnabled();
+		// 产线开关:从 line-stations 取该线工位(1#~5# 各 A/B),再只套 PLC IP
 		String line = HgLineProfiles.normalize(p.getLineProfile());
 		p.setLineProfile(line);
 		List<MesClientProperties.StationConfig> list = p.stationsOfLine(line);
@@ -179,8 +183,9 @@ public class MainFrame extends JFrame {
 		if (list == null || list.isEmpty()) {
 			log.warn("产线[{}] 无工位:请在 application.yml 的 mes.line-stations.{} 配置工位", line, line);
 		} else {
-			log.info("加载工位数={} 产线={} upload={} profile={}",
-					list.size(), line, mes_upload_path, mes_param_profile);
+			log.info("加载工位数={} 产线={} upload={} profile={} mesAllow={}",
+					list.size(), line, mes_upload_path, mes_param_profile,
+					Boolean.valueOf(mes_allow_enabled));
 			for (MesClientProperties.StationConfig s : list) {
 				log.info("工位 id={} sn={} title={} side={} plc={}:{}", s.getId(), s.getStationSn(), s.getTitle(),
 						s.getFixedSide(), s.getPlcIp(), Integer.valueOf(HgLineProfiles.portOf(s.getPlcIp())));
@@ -262,25 +267,43 @@ public class MainFrame extends JFrame {
 		status_menu.setVisible(false);
 		user_menu.setVisible(false);
 
-		JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP);
-		tabs.setFont(new Font("微软雅黑", Font.PLAIN, 14));
-		tabs.setBackground(UiTheme.BG);
-		tabs.setBorder(new EmptyBorder(8, 8, 8, 8));
-		tabs.setFocusable(false);
 		stationPanels.clear();
 		List<MesClientProperties.StationConfig> stations =
 				props == null ? null : props.getStations();
 		if (stations == null || stations.isEmpty()) {
-			JLabel empty = new JLabel("请在 application.yml 配置 mes.line-stations(1#A/B + 2#~5#)", SwingConstants.CENTER);
+			JLabel empty = new JLabel("请在 application.yml 配置 mes.line-stations(1#~5# 各 A/B)", SwingConstants.CENTER);
 			empty.setFont(new Font("微软雅黑", Font.PLAIN, 18));
 			content.add(empty, BorderLayout.CENTER);
 			return;
 		}
+
+		// 顶部:可横向滑动的工位栏(滚动条代替小箭头,方便点选)
+		JPanel tabStrip = new JPanel(new FlowLayout(FlowLayout.LEFT, 6, 6));
+		tabStrip.setBackground(UiTheme.BG);
+		tabStrip.setBorder(new EmptyBorder(4, 4, 0, 4));
+		ButtonGroup tabGroup = new ButtonGroup();
+		final CardLayout cards = new CardLayout();
+		final JPanel cardHost = new JPanel(cards);
+		cardHost.setBackground(UiTheme.BG);
+
 		List<String> stationSnList = new ArrayList<String>();
+		boolean first = true;
 		for (MesClientProperties.StationConfig sc : stations) {
 			StationPanel panel = new StationPanel(sc, mes_server_ip, mes_user_code);
 			stationPanels.add(panel);
-			tabs.addTab(panel.tabTitle(), panel);
+			final String key = "st-" + sc.getId();
+			cardHost.add(panel, key);
+			JToggleButton tabBtn = buildStationTabButton(panel.tabTitle(), first);
+			final String showKey = key;
+			tabBtn.addActionListener(new ActionListener() {
+				@Override
+				public void actionPerformed(ActionEvent e) {
+					cards.show(cardHost, showKey);
+				}
+			});
+			tabGroup.add(tabBtn);
+			tabStrip.add(tabBtn);
+			first = false;
 			// A/B 面工位都进工作记录查询范围
 			for (String ssn : panel.allStationSns()) {
 				if (!ssn.isEmpty() && !stationSnList.contains(ssn)) {
@@ -296,8 +319,55 @@ public class MainFrame extends JFrame {
 			}
 			csv.append(stationSnList.get(i));
 		}
-		tabs.addTab("工作记录", new WorkRecordPanel(mes_server_ip, csv.toString()));
-		content.add(tabs, BorderLayout.CENTER);
+		WorkRecordPanel workPanel = new WorkRecordPanel(mes_server_ip, csv.toString());
+		cardHost.add(workPanel, "work");
+		JToggleButton workBtn = buildStationTabButton("工作记录", false);
+		workBtn.addActionListener(new ActionListener() {
+			@Override
+			public void actionPerformed(ActionEvent e) {
+				cards.show(cardHost, "work");
+			}
+		});
+		tabGroup.add(workBtn);
+		tabStrip.add(workBtn);
+
+		JScrollPane tabScroll = new JScrollPane(tabStrip,
+				ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER,
+				ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
+		tabScroll.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, UiTheme.ACCENT));
+		tabScroll.getViewport().setBackground(UiTheme.BG);
+		tabScroll.setOpaque(false);
+		// 加粗横向滑动条,现场好拖
+		JScrollBar hBar = tabScroll.getHorizontalScrollBar();
+		hBar.setUnitIncrement(48);
+		hBar.setBlockIncrement(160);
+		hBar.setPreferredSize(new Dimension(Integer.MAX_VALUE, 22));
+
+		JPanel center = new JPanel(new BorderLayout(0, 0));
+		center.setBackground(UiTheme.BG);
+		center.add(tabScroll, BorderLayout.NORTH);
+		center.add(cardHost, BorderLayout.CENTER);
+		content.add(center, BorderLayout.CENTER);
+		cards.show(cardHost, "st-" + stations.get(0).getId());
+	}
+
+	/**
+	 * 工位切换按钮:高度够点,选中高亮。
+	 */
+	private static JToggleButton buildStationTabButton(String title, boolean selected) {
+		JToggleButton btn = new JToggleButton(title == null ? "" : title);
+		btn.setFont(new Font("微软雅黑", Font.PLAIN, 13));
+		btn.setFocusable(false);
+		btn.setMargin(new Insets(8, 14, 8, 14));
+		btn.setPreferredSize(null);
+		Dimension pref = btn.getPreferredSize();
+		if (pref != null) {
+			btn.setPreferredSize(new Dimension(Math.max(pref.width, 96), Math.max(pref.height, 40)));
+		} else {
+			btn.setPreferredSize(new Dimension(120, 40));
+		}
+		btn.setSelected(selected);
+		return btn;
 	}
 
 	/**
@@ -433,11 +503,17 @@ public class MainFrame extends JFrame {
 
 	/**
 	 * 写 L180(MES 允许启动)。关允许时:同 PLC 其它面板若仍在 HOLD 等启动,则不关,避免 1#A/B 互踩。
+	 * {@link #mes_allow_enabled}=false 时整段跳过,不发允许也不发关闭。
 	 */
 	public static void applyMesAllow(StationPanel self, boolean allow) {
 		if (self == null) {
 			return;
 		}
+		if (!mes_allow_enabled) {
+			log.debug("mes-allow-enabled=false,跳过写 L180 allow={} sn={}",
+					Boolean.valueOf(allow), self.getStationSn());
+			return;
+		}
 		if (allow) {
 			self.writeMesAllow(true);
 			return;

+ 32 - 6
src/main/java/com/mes/ui/StationPanel.java

@@ -29,8 +29,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
 /**
  * 单个工位面板:一个工位编码对应一次入队/取码。
  * <p>
- * 配了 fixed-side(通常 1#A/1#B):只盯该面,与对面各算一工位、可共用一台 PLC。<br>
- * 未配:取码后哪面先跑认哪面(2#~5#)。
+ * 配了 fixed-side:只盯该面,与对面各算一工位、可共用一台 PLC(现 1#~5# 均 A/B 分站)。<br>
+ * 未配:取码后哪面先跑认哪面(兼容兜底,正常配置不应走到)。
  * 取码 → 写 L180 → 本面运行采参 → 结束 uploadAndSubmit。
  * 取码后超半小时未结案:丢弃采样并清队列,须重新扫码。
  * </p>
@@ -54,10 +54,15 @@ public class StationPanel extends JPanel {
 	private final MesClientProperties.StationConfig cfg;
 	private final HgPlcClient plc;
 	private final String serverIp;
+	/** yml 默认工号(兜底;一般仅 PDA 未带工号时用) */
 	private final String userCode;
 
 	private volatile Phase phase = Phase.IDLE;
 	private volatile String currentSn = "";
+	/**
+	 * 本件过站/清码用工号:优先取码队列带回的入队工号,空则回落 {@link #userCode}。
+	 */
+	private volatile String currentUserCode = "";
 	/** 本件绑定的焊接面:A / B,启动时由 PLC 识别 */
 	private volatile String activeSide = "";
 	/** 本件是否已见到过运行中(用于判定「运行结束」) */
@@ -342,8 +347,12 @@ public class StationPanel extends JPanel {
 
 	/**
 	 * 实际写 L180;对外关允许请走 {@link MainFrame#applyMesAllow},避免同 PLC 对面 HOLD 被误关。
+	 * {@link MainFrame#mes_allow_enabled}=false 时不写 PLC。
 	 */
 	public void writeMesAllow(boolean allow) {
+		if (!MainFrame.mes_allow_enabled) {
+			return;
+		}
 		plc.setMesAllowEntry(allow);
 	}
 
@@ -507,7 +516,7 @@ public class StationPanel extends JPanel {
 	}
 
 	/**
-	 * 认运行面:配了 fixed-side 只看本面;未配则哪面先跑认哪面(同时跑优先 A)。
+	 * 认运行面:配了 fixed-side 只看本面;未配则哪面先跑认哪面(同时跑优先 A,兜底)。
 	 */
 	private String detectRunningSide() {
 		String fixed = resolveFixedSide();
@@ -580,7 +589,7 @@ public class StationPanel extends JPanel {
 			public void run() {
 				try {
 					if (!sn.isEmpty()) {
-						JSONObject ret = MesFlexApiClient.clear(serverIp, sn, cfg.getStationSn(), userCode);
+						JSONObject ret = MesFlexApiClient.clear(serverIp, sn, cfg.getStationSn(), resolveJobUserCode());
 						if (!MesFlexApiClient.isSuccess(ret)) {
 							log.warn("工位[{}] 超时清码失败 sn={} msg={}", cfg.getStationSn(), sn,
 									MesFlexApiClient.messageOf(ret));
@@ -658,7 +667,7 @@ public class StationPanel extends JPanel {
 	}
 
 	private void doClear(String sn) {
-		JSONObject ret = MesFlexApiClient.clear(serverIp, sn, cfg.getStationSn(), userCode);
+		JSONObject ret = MesFlexApiClient.clear(serverIp, sn, cfg.getStationSn(), resolveJobUserCode());
 		if (!MesFlexApiClient.isSuccess(ret)) {
 			setStatusUi("清码失败:" + MesFlexApiClient.messageOf(ret));
 			MainFrame.setMenuStatus(cfg.getStationSn() + " 清码失败", -1);
@@ -687,6 +696,10 @@ public class StationPanel extends JPanel {
 			return;
 		}
 		currentSn = sn;
+		// 过站用工号:PDA 入队写入队列的 userCode;没有才用 yml 默认
+		String fromQueue = MesFlexApiClient.userCodeOf(ret);
+		currentUserCode = fromQueue.isEmpty() ? userCode : fromQueue;
+		log.info("工位[{}] 取码成功 sn={} userCode={}", cfg.getStationSn(), sn, currentUserCode);
 		// 固定面工位取码后直接绑面,不再等运行时抢对面
 		String fixed = resolveFixedSide();
 		activeSide = fixed;
@@ -791,7 +804,8 @@ public class StationPanel extends JPanel {
 		Map<String, String> fields = new LinkedHashMap<String, String>();
 		fields.put("sn", sn);
 		fields.put("stationSn", cfg.getStationSn());
-		fields.put("userCode", userCode);
+		// 用本件入队工号过站,不用写死的 yml system
+		fields.put("userCode", resolveJobUserCode());
 		fields.put("voltage", nvl(last.voltage));
 		fields.put("currentVal", nvl(last.currentVal));
 		fields.put("wireSpeed", nvl(last.wireSpeed));
@@ -839,9 +853,21 @@ public class StationPanel extends JPanel {
 		return arr.toJSONString();
 	}
 
+	/**
+	 * 本件过站/清码工号:取码带回的入队工号优先,否则 yml 默认。
+	 */
+	private String resolveJobUserCode() {
+		String job = nvl(currentUserCode);
+		if (!job.isEmpty()) {
+			return job;
+		}
+		return nvl(userCode).isEmpty() ? "system" : userCode;
+	}
+
 	private void resetToIdle(String msg) {
 		phase = Phase.IDLE;
 		currentSn = "";
+		currentUserCode = "";
 		activeSide = "";
 		seenRunning = false;
 		lastSampleAtMs = 0L;

+ 2 - 1
src/main/java/com/mes/ui/UiTheme.java

@@ -51,7 +51,8 @@ public final class UiTheme {
 	public static final Font FONT_BODY = new Font("微软雅黑", Font.PLAIN, 14);
 	public static final Font FONT_LABEL = new Font("微软雅黑", Font.PLAIN, 12);
 	public static final Font FONT_SN = new Font("Consolas", Font.BOLD, 28);
-	public static final Font FONT_VALUE = new Font("Consolas", Font.BOLD, 17);
+	/** 参数值字体:须含中文(设备类型「弧焊」等);Consolas 无汉字会显示乱码/方框 */
+	public static final Font FONT_VALUE = new Font("微软雅黑", Font.BOLD, 17);
 	public static final Font FONT_BTN = new Font("微软雅黑", Font.BOLD, 15);
 
 	public static void applyLookAndFeel() {

+ 90 - 28
src/main/resources/config/application.yml

@@ -11,9 +11,9 @@ logging:
     root: INFO
     com.mes: INFO
 
-# 弧焊一拖五物理站 → 客户端 6 个工位 Tab:
-#   id1/id2 = 1# 的 A/B 面(各一个工位编码,共用一台 PLC)
-#   id3~id6 = 原 2#~5#(各一台 PLC;A/B 仍运行时认面)
+# 弧焊一拖五物理站 → 客户端 10 个工位 Tab(每站 A/B 各一工位,共用一台 PLC):
+#   id1/2=1#A/B → PLC1;id3/4=2#A/B → PLC2;…;id9/10=5#A/B → PLC5
+# 全部配 fixed-side,不再运行时认面
 # 点位:L180=MES允许启动;M1216/M1222=A运行/完成;M1217/M1223=B;R1=D822/803/805+D970;R2=D826/807/809+D980
 mes:
   app-title: MES 弧焊客户端
@@ -24,34 +24,56 @@ mes:
   device-type: 弧焊
   device-heartbeat-minutes: 5
   auto-next-on-push: true
+  # 是否写 PLC L180(MES允许/不允许启动)。false=完全跳过,不发允许也不发关闭
+  mes-allow-enabled: false
   # 启用哪条产线:启动时取 line-stations 下对应工位,并自动套该线 PLC IP
   #   T13J → IP .51/.56/.61/.66/.71(5006)
   #   T1E  → IP .26/.31/.36/.41/.46(5006)
   #   T1GC → IP .2/.6/.11/.16(5020),.21(5006)
-  line-profile: T13J
+  line-profile: T1GC
 
   line-stations:
     T13J:
       - id: 1
         title: T13J 弧焊1#A
-        station-sn: TIGC8030-HUHAN-01
+        station-sn: T13J01
         fixed-side: A
       - id: 2
         title: T13J 弧焊1#B
-        station-sn: TIGC8030-HUHAN-02
+        station-sn: T13J02
         fixed-side: B
       - id: 3
-        title: T13J 弧焊2#
-        station-sn: TIGC8030-HUHAN-03
+        title: T13J 弧焊2#A
+        station-sn: T13J03
+        fixed-side: A
       - id: 4
-        title: T13J 弧焊3#
-        station-sn: TIGC8030-HUHAN-04
+        title: T13J 弧焊2#B
+        station-sn: T13J04
+        fixed-side: B
       - id: 5
-        title: T13J 弧焊4#
-        station-sn: TIGC8030-HUHAN-05
+        title: T13J 弧焊3#A
+        station-sn: T13J05
+        fixed-side: A
       - id: 6
-        title: T13J 弧焊5#
-        station-sn: TIGC8030-HUHAN-06
+        title: T13J 弧焊3#B
+        station-sn: T13J06
+        fixed-side: B
+      - id: 7
+        title: T13J 弧焊4#A
+        station-sn: T13J07
+        fixed-side: A
+      - id: 8
+        title: T13J 弧焊4#B
+        station-sn: T13J08
+        fixed-side: B
+      - id: 9
+        title: T13J 弧焊5#A
+        station-sn: T13J09
+        fixed-side: A
+      - id: 10
+        title: T13J 弧焊5#B
+        station-sn: T13J10
+        fixed-side: B
     T1E:
       - id: 1
         title: T1E 弧焊1#A
@@ -62,35 +84,75 @@ mes:
         station-sn: T1E02
         fixed-side: B
       - id: 3
-        title: T1E 弧焊2#
+        title: T1E 弧焊2#A
         station-sn: T1E03
+        fixed-side: A
       - id: 4
-        title: T1E 弧焊3#
+        title: T1E 弧焊2#B
         station-sn: T1E04
+        fixed-side: B
       - id: 5
-        title: T1E 弧焊4#
+        title: T1E 弧焊3#A
         station-sn: T1E05
+        fixed-side: A
       - id: 6
-        title: T1E 弧焊5#
+        title: T1E 弧焊3#B
         station-sn: T1E06
+        fixed-side: B
+      - id: 7
+        title: T1E 弧焊4#A
+        station-sn: T1E07
+        fixed-side: A
+      - id: 8
+        title: T1E 弧焊4#B
+        station-sn: T1E08
+        fixed-side: B
+      - id: 9
+        title: T1E 弧焊5#A
+        station-sn: T1E09
+        fixed-side: A
+      - id: 10
+        title: T1E 弧焊5#B
+        station-sn: T1E10
+        fixed-side: B
     T1GC:
       - id: 1
         title: T1GC 弧焊1#A
-        station-sn: T1GC01
+        station-sn: TIGC8030-HUHAN-01
         fixed-side: A
       - id: 2
         title: T1GC 弧焊1#B
-        station-sn: T1GC06
+        station-sn: TIGC8030-HUHAN-02
         fixed-side: B
       - id: 3
-        title: T1GC 弧焊2#
-        station-sn: T1GC02
+        title: T1GC 弧焊2#A
+        station-sn: TIGC8030-HUHAN-03
+        fixed-side: A
       - id: 4
-        title: T1GC 弧焊3#
-        station-sn: T1GC03
+        title: T1GC 弧焊2#B
+        station-sn: TIGC8030-HUHAN-04
+        fixed-side: B
       - id: 5
-        title: T1GC 弧焊4#
-        station-sn: T1GC04
+        title: T1GC 弧焊3#A
+        station-sn: TIGC8030-HUHAN-05
+        fixed-side: A
       - id: 6
-        title: T1GC 弧焊5#
-        station-sn: T1GC05
+        title: T1GC 弧焊3#B
+        station-sn: TIGC8030-HUHAN-06
+        fixed-side: B
+      - id: 7
+        title: T1GC 弧焊4#A
+        station-sn: TIGC8030-HUHAN-07
+        fixed-side: A
+      - id: 8
+        title: T1GC 弧焊4#B
+        station-sn: TIGC8030-HUHAN-08
+        fixed-side: B
+      - id: 9
+        title: T1GC 弧焊5#A
+        station-sn: TIGC8030-HUHAN-09
+        fixed-side: A
+      - id: 10
+        title: T1GC 弧焊5#B
+        station-sn: TIGC8030-HUHAN-10
+        fixed-side: B