package com.mes.ui; import javax.swing.*; /** * PLC 点位读取测试入口,启动可视化监控窗口。 */ public class PlcReadTest { public static void main(String[] args) { SwingUtilities.invokeLater(() -> { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (Exception ignored) { } String plcIp = PlcReadTestFrame.loadPlcIp(); PlcReadTestFrame frame = new PlcReadTestFrame(plcIp); frame.setVisible(true); }); } }