张世豪
昨天 8f8eed75beb5bb9b66f2a87de856f2dbf11e6ffe
src/xitongshezhi/SystemDebugDialog.java
ÎļþÃû´Ó src/chuankou/SystemDebugDialog.java ÐÞ¸Ä
@@ -1,7 +1,11 @@
package chuankou;
package xitongshezhi;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import chuankou.Sendmsg;
import chuankou.SerialPortService;
import java.awt.*;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -102,7 +106,7 @@
        
        // å…³é—­æŒ‰é’®
        JButton closeButton = new JButton("关闭");
        closeButton.setFont(new Font("Microsoft YaHei", Font.PLAIN, 14));
        closeButton.setFont(new Font("宋体", Font.PLAIN, 12));
        closeButton.setBackground(DANGER_COLOR);
        closeButton.setForeground(Color.WHITE);
        closeButton.setFocusPainted(false);
@@ -347,10 +351,12 @@
                pollingButton.setText("启动查询");
                pollingButton.setBackground(SECONDARY_COLOR);
                onDataReceivedascii("[" + getCurrentTime() + "] stop\n");
                lunxun.setDEBUG_ENABLED(false);
            }
        } else {
            // å¦‚果未轮询,则启动
            if (lunxun.startPolling()) {
               lunxun.setDEBUG_ENABLED(true);
                pollingButton.setText("停止查询");
                pollingButton.setBackground(DANGER_COLOR);
                onDataReceivedascii("[" + getCurrentTime() + "] strat\n");