| | |
| | | public static final boolean APP_UKEY_EN = true; //UKEY |
| | | public static final boolean APP_SIMPOWER_EN = true; //极简化电源 |
| | | |
| | | public int CommDevType = 5; //默认显示tab选项卡 |
| | | public int CommDevType = 2; //默认显示tab选项卡 |
| | | |
| | | public static final int DebugMode_TYPE_Debug = 0; //调试模拟 |
| | | public static final int DebugMode_TYPE_Package = 1; //电脑打包模式 |
| | | public static final int DebugMode_TYPE_Screen = 2; //10寸屏模式 |
| | | |
| | | public int DebugMode = DebugMode_TYPE_Screen; //是否为调试模式true:调试模式 false:打包模式[会隐藏左侧选项卡] |
| | | public int DebugMode = DebugMode_TYPE_Package; //是否为调试模式true:调试模式 false:打包模式[会隐藏左侧选项卡] |
| | | |
| | | public boolean MonVol_Is_Adj = false; |
| | | public boolean MonRes_Is_Test = false; |
| | |
| | | frmSerialport.setFont(new Font("宋体", Font.PLAIN, 12)); |
| | | //frmSerialport.setResizable(false); |
| | | |
| | | //frmSerialport.setIconImage(Toolkit.getDefaultToolkit().getImage(main_window_computer.class.getResource("/main/fuguang.png"))); |
| | | frmSerialport.setIconImage(Toolkit.getDefaultToolkit().getImage(main_window_computer.class.getResource("/main/12164006.png"))); |
| | | frmSerialport.setIconImage(Toolkit.getDefaultToolkit().getImage(main_window_computer.class.getResource("/main/fuguang.png"))); |
| | | //frmSerialport.setIconImage(Toolkit.getDefaultToolkit().getImage(main_window_computer.class.getResource("/main/12164006.png"))); |
| | | frmSerialport.setBounds(100, 100, 1180, 640); |
| | | frmSerialport.setMinimumSize(new Dimension(1160, 640)); |
| | | //frmSerialport.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); |
| | |
| | | public void stateChanged(ChangeEvent arg0) { |
| | | System.out.println("监听到软件切换:" + main_TabbedPane.getSelectedIndex() + " CommDevType:" + CommDevType); |
| | | |
| | | if (DebugMode_TYPE_Screen == DebugMode || DebugMode_TYPE_Package == DebugMode ) { |
| | | if (DebugMode_TYPE_Screen == DebugMode /* || DebugMode_TYPE_Package == DebugMode */ ) { |
| | | //显示屏模式时会出现头部组件消失问题,提前结束 |
| | | return; |
| | | } |