DELL
2024-08-08 a4317ce5e27245261022c8d5f21dd3be3ac251e6
工控机调试软件整改
35个文件已修改
48 ■■■■■ 已修改文件
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/CommBTS4810.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/bts4810_page_base$10.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/bts4810_page_base.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/com/dev/fbs9600_zdhj/zdhj_page_param.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$10.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$11.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$12.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$13.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$14.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$15.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$16.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$17.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$18.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$19.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$2.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$20.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$21.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$22.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$23.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$24.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$25.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$3.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$4.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$5.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$6.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$7.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$8.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer$9.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/config.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/lastconnection.properties 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/src/com/dev/bts4810/CommBTS4810.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/src/com/dev/bts4810/bts4810_page_base.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/src/com/dev/fbs9600_zdhj/zdhj_page_param.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/src/main/main_window_computer.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/CommBTS4810.class
Binary files differ
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/bts4810_page_base$10.class
Binary files differ
Device_Simulator_DTS_Tester/bin/com/dev/bts4810/bts4810_page_base.class
Binary files differ
Device_Simulator_DTS_Tester/bin/com/dev/fbs9600_zdhj/zdhj_page_param.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$10.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$11.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$12.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$13.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$14.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$15.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$16.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$17.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$18.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$19.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$2.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$20.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$21.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$22.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$23.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$24.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$25.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$3.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$4.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$5.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$6.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$7.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$8.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer$9.class
Binary files differ
Device_Simulator_DTS_Tester/bin/main/main_window_computer.class
Binary files differ
Device_Simulator_DTS_Tester/config.xml
@@ -2,6 +2,6 @@
<root>
  <progam_type>0</progam_type>
  <server_ip>127.0.0.1</server_ip>
  <server_ip>192.168.0.130</server_ip>
  <server_port>102</server_port>
</root>
Device_Simulator_DTS_Tester/lastconnection.properties
@@ -1,4 +1,4 @@
#Wed Jun 26 19:28:11 CST 2024
#Thu Aug 08 13:27:39 CST 2024
tselLocal=0,0
serverAddress=127.0.0.1
tselRemote=0,1
Device_Simulator_DTS_Tester/src/com/dev/bts4810/CommBTS4810.java
@@ -207,7 +207,7 @@
            comm_rx_cnt = 0;
            CommThreadRunning = true;
        }
        DEV_DATA_AESCHECK = false;
        return res;
    }
    
Device_Simulator_DTS_Tester/src/com/dev/bts4810/bts4810_page_base.java
@@ -955,7 +955,7 @@
        tf_battparam_groupvol.setDocument(new LimitedDocument(6, "0123456789."));
        
        JPanel panel_96 = new JPanel();
        panel_battparam.add(panel_96);
        //panel_battparam.add(panel_96);
        //电池温度
        panel_96.setBorder(new TitledBorder(null, "\u7535\u6c60\u6e29\u5ea6", TitledBorder.LEADING, TitledBorder.TOP, null, null));
        panel_96.setLayout(new BorderLayout(0, 0));
@@ -1517,12 +1517,12 @@
                                JOptionPane.showMessageDialog(panel_sysparam, "请输入正确的停电充流(0<= 停电充流<= 20)");
                                return;
                            }
                            if(tmp_parma.MajorBattGroupNum > 57.4 || tmp_parma.MajorBattGroupNum < 40) {
                                JOptionPane.showMessageDialog(panel_sysparam, "请输入正确的电压过低(40<= 电压过低<= 57.4)");
                            if(tmp_parma.MajorBattGroupNum > 500 || tmp_parma.MajorBattGroupNum < 40) {
                                JOptionPane.showMessageDialog(panel_sysparam, "请输入正确的电压过低(40<= 电压过低<= 500)");
                                return;
                            }
                            if(tmp_parma.POF_BG_Boost_Cnt > 57.4 || tmp_parma.POF_BG_Boost_Cnt < 40) {
                                JOptionPane.showMessageDialog(panel_sysparam, "请输入正确的电压过高(40<= 电压过高<= 57.4)");
                            if(tmp_parma.POF_BG_Boost_Cnt > 500 || tmp_parma.POF_BG_Boost_Cnt < 40) {
                                JOptionPane.showMessageDialog(panel_sysparam, "请输入正确的电压过高(40<= 电压过高<= 500)");
                                return;
                            }
                            if(tmp_parma.POF_BG_Boost_VolStop > 5 || tmp_parma.POF_BG_Boost_VolStop < 2) {
Device_Simulator_DTS_Tester/src/com/dev/fbs9600_zdhj/zdhj_page_param.java
@@ -1149,7 +1149,11 @@
                tf_zdhj_batt_floatcurr_lev.setText(String.format("%1.1f", SerialComm_ZDHJ.dev_param_FloatCurrLev));
                cb_monnum_setmode.setSelectedIndex(SerialComm_ZDHJ.dev_param_monnum_setmode);
                //System.out.println("SerialComm_ZDHJ.dev_param_devid:"+SerialComm_ZDHJ.dev_param_devid);
                tf_zdhj_devid.setText(String.format("%1.3f", SerialComm_ZDHJ.dev_param_devid));
                if(SerialComm_ZDHJ.dev_param_devid > 0) {
                    tf_zdhj_devid.setText(String.format("%1.3f", SerialComm_ZDHJ.dev_param_devid));
                } else {
                    tf_zdhj_devid.setText(String.format("%1.3f", 2.2f));
                }
                
                tf_respm_d1.setText(String.format("%1.4f", SerialComm_ZDHJ.dev_param_resparam_d[0]));
                tf_respm_d2.setText(String.format("%1.4f", SerialComm_ZDHJ.dev_param_resparam_d[1]));
Device_Simulator_DTS_Tester/src/main/main_window_computer.java
@@ -357,7 +357,7 @@
        
        btn_back = new JButton(new ImageIcon(main_window_computer.class.getResource("/png_16x16/arrow_undo.png")));
        //pre_panel.setBackground(new Color(112, 181, 208));
        setComponentsColor(pre_panel);
        
        btn_back.setText("返回");
        btn_back.setSize(new Dimension(100, 80));
@@ -375,6 +375,7 @@
                        top_panel1.add(panel_10);
                    }
                    
                    cb_comm_bitrate.setEnabled(true);
                    
                    btn_break.doClick();
                    
@@ -500,6 +501,8 @@
                    
                    setJTableSelectIndex(CommDevType_ZDHJ);
                    cb_comm_bitrate.setSelectedIndex(2);
                    cb_comm_bitrate.setEnabled(false);
                    
                    mTitle = "组端汇集模块调试工具";
                    frmSerialport.setTitle(mTitle+ mVerSioin + "     " + Com.get_DTF(new Date(), Com.DTF_YMDhms));
@@ -2180,15 +2183,18 @@
    }
    
    public static void setComponentsColor(Container container) {
//        for (Component component : container.getComponents()) {
//            if (component instanceof JPanel) {
//                ((JPanel) component).setBackground(new Color(112, 181, 208));
//                setComponentsColor((Container)component);
//            }else if(component instanceof JTabbedPane) {
//                ((JTabbedPane) component).setBackground(new Color(112, 181, 208));
//                setComponentsColor((Container)component);
//            }
//        }
        if(container instanceof JPanel) {
            ((JPanel) container).setBackground(new Color(112, 181, 208));
        }
        for (Component component : container.getComponents()) {
            if (component instanceof JPanel) {
                ((JPanel) component).setBackground(new Color(112, 181, 208));
                setComponentsColor((Container)component);
            }else if(component instanceof JTabbedPane) {
                ((JTabbedPane) component).setBackground(new Color(112, 181, 208));
                setComponentsColor((Container)component);
            }
        }
    }
    
    public static void setBackgroundColor(Container container, Color color) {