package com.dev.simpower;
|
|
import java.awt.BorderLayout;
|
import java.awt.Color;
|
import java.awt.Dimension;
|
import java.awt.FlowLayout;
|
import java.awt.Font;
|
import java.awt.GridLayout;
|
import java.awt.Toolkit;
|
import java.awt.datatransfer.Clipboard;
|
import java.awt.datatransfer.StringSelection;
|
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionListener;
|
import java.awt.event.MouseAdapter;
|
import java.awt.event.MouseEvent;
|
import java.io.File;
|
import java.nio.ByteBuffer;
|
import java.util.Calendar;
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Vector;
|
import javax.swing.BoxLayout;
|
import javax.swing.DefaultComboBoxModel;
|
import javax.swing.ImageIcon;
|
import javax.swing.JButton;
|
import javax.swing.JComboBox;
|
import javax.swing.JFileChooser;
|
import javax.swing.JLabel;
|
import javax.swing.JMenuItem;
|
import javax.swing.JOptionPane;
|
import javax.swing.JPanel;
|
import javax.swing.JPopupMenu;
|
import javax.swing.JScrollPane;
|
import javax.swing.JTabbedPane;
|
import javax.swing.JTable;
|
import javax.swing.JTextArea;
|
import javax.swing.JTextField;
|
import javax.swing.ScrollPaneConstants;
|
import javax.swing.UIManager;
|
import javax.swing.border.TitledBorder;
|
import javax.swing.filechooser.FileFilter;
|
import javax.swing.table.DefaultTableModel;
|
|
import org.apache.logging.log4j.LogManager;
|
import org.apache.logging.log4j.Logger;
|
|
import com.Com;
|
import com.LimitedDocument;
|
import com.dev.modbus.MyModBusRtu;
|
import com.dev.simpower.dev.Power_ACData;
|
import com.dev.simpower.dev.Power_AlmParam;
|
import com.dev.simpower.dev.Power_AlmState;
|
import com.dev.simpower.dev.Power_ComBase;
|
import com.dev.simpower.dev.Power_LIBMSData;
|
import com.dev.simpower.dev.Power_Param;
|
import com.dev.simpower.dev.Power_TimeControl;
|
|
import main.page_debug_inf;
|
import main.page_dfu;
|
|
/**
|
* ¼«¼ò»¯µçÔ´½çÃæ
|
* @author DELL
|
*
|
*/
|
public class power_page_base extends JPanel {
|
public static int LANG_TYPE_CN = 0;
|
public static int LANG_TYPE_EN = 1;
|
public static int LANG_TYPE = LANG_TYPE_CN;
|
public SPCommPower Comm_POWER = null;
|
/**
|
*
|
*/
|
|
|
private JTextField tf_acin_inputvol; //½»Á÷ÊäÈëµçѹ
|
private JTextField tf_acin_inputcurr; //½»Á÷ÊäÈëµçÁ÷
|
private JTextField tf_acin_inputpower; //½»Á÷ÊäÈ빦ÂÊ
|
private JTextField tf_groupvol; //×é¶Ëµçѹ
|
private JTextField tf_groupcurr; //×é¶ËµçÁ÷
|
private JTextField tf_totalcurr; //¸ººÉ×ܵçÁ÷
|
private JTextField tf_devtemp; //É豸Ö÷°åζÈ
|
private JTextField tf_envirtemp; //»·¾³Î¶È
|
private JTextField tf_envirhumid; //»·¾³Êª¶È
|
private JTextField tf_devversion; //É豸°æ±¾ºÅ
|
|
private JTable table_power_data; //µçÔ´Ò£²â±í¸ñ
|
private Vector<String> columnVector_power;
|
private Vector<Vector<String>> dataRow_power;
|
|
private JTextField tf_setoutputvol; //µçÔ´Êä³öµçѹÉ趨
|
private JTextField tf_setoutputcurr; //µçÔ´Êä³öÏÞÁ÷É趨
|
private JButton btn_param_read; //¶ÁÈ¡
|
private JButton btn_param_write; //ÉèÖÃ
|
|
private JTextField tf_op_rest_inf; //²Ù×ö½á¹ûÐÅÏ¢
|
|
private JTextField tf_monvol_cnt_1; //°ü1µ¥Ìåµç³ØÊýÄ¿
|
private JTextField tf_montmp_cnt_1; //°ü1µçоζÈÊýÄ¿
|
private JTextField tf_envir_temp_1; //°ü1»·¾³Î¶È
|
private JTextField tf_mos_temp_1; //°ü1MOS¹ÜζÈ
|
private JTextField tf_batt_curr_1; //°ü1µç³ØµçÁ÷
|
private JTextField tf_batt_vol_1; //°ü1µç³Ø×Üѹ
|
private JTextField tf_rest_cap_1; //°ü1Ê£ÓàÈÝÁ¿
|
private JTextField tf_total_cap_1; //°ü1×ÜÈÝÁ¿
|
private JTextField tf_batt_cycles_1; //°ü1µç³ØÑ»·´ÎÊý
|
private JTextField tf_batt_soc_1; //°ü1SOC
|
private JTextField tf_batt_soh_1; //°ü1SOH
|
|
private JTextField tf_monvol_cnt_2; //°ü2µ¥Ìåµç³ØÊýÄ¿
|
private JTextField tf_montmp_cnt_2; //°ü2µçоζÈÊýÄ¿
|
private JTextField tf_envir_temp_2; //°ü2»·¾³Î¶È
|
private JTextField tf_mos_temp_2; //°ü2MOS¹ÜζÈ
|
private JTextField tf_batt_curr_2; //°ü2µç³ØµçÁ÷
|
private JTextField tf_batt_vol_2; //°ü2µç³Ø×Üѹ
|
private JTextField tf_rest_cap_2; //°ü2Ê£ÓàÈÝÁ¿
|
private JTextField tf_total_cap_2; //°ü2×ÜÈÝÁ¿
|
private JTextField tf_batt_cycles_2; //°ü2µç³ØÑ»·´ÎÊý
|
private JTextField tf_batt_soc_2; //°ü2SOC
|
private JTextField tf_batt_soh_2; //°ü2SOH
|
|
private JTextField tf_monvol_cnt_3; //°ü3µ¥Ìåµç³ØÊýÄ¿
|
private JTextField tf_montmp_cnt_3; //°ü3µçоζÈÊýÄ¿
|
private JTextField tf_envir_temp_3; //°ü3»·¾³Î¶È
|
private JTextField tf_mos_temp_3; //°ü3MOS¹ÜζÈ
|
private JTextField tf_batt_curr_3; //°ü3µç³ØµçÁ÷
|
private JTextField tf_batt_vol_3; //°ü3µç³Ø×Üѹ
|
private JTextField tf_rest_cap_3; //°ü3Ê£ÓàÈÝÁ¿
|
private JTextField tf_total_cap_3; //°ü3×ÜÈÝÁ¿
|
private JTextField tf_batt_cycles_3; //°ü3µç³ØÑ»·´ÎÊý
|
private JTextField tf_batt_soc_3; //°ü3SOC
|
private JTextField tf_batt_soh_3; //°ü3SOH
|
|
private JTextField tf_monvol_cnt_4; //°ü4µ¥Ìåµç³ØÊýÄ¿
|
private JTextField tf_montmp_cnt_4; //°ü4µçоζÈÊýÄ¿
|
private JTextField tf_envir_temp_4; //°ü4»·¾³Î¶È
|
private JTextField tf_mos_temp_4; //°ü4MOS¹ÜζÈ
|
private JTextField tf_batt_curr_4; //°ü4µç³ØµçÁ÷
|
private JTextField tf_batt_vol_4; //°ü4µç³Ø×Üѹ
|
private JTextField tf_rest_cap_4; //°ü4Ê£ÓàÈÝÁ¿
|
private JTextField tf_total_cap_4; //°ü4×ÜÈÝÁ¿
|
private JTextField tf_batt_cycles_4; //°ü4µç³ØÑ»·´ÎÊý
|
private JTextField tf_batt_soc_4; //°ü4SOC
|
private JTextField tf_batt_soh_4; //°ü4SOH
|
|
|
private JTextField tf_hardware_ver1; //µçÔ´Ä£¿é1Ó²¼þ°æ±¾
|
private JTextField tf_dcdc_ver1; //µçÔ´Ä£¿é1DCDC°æ±¾
|
private JTextField tf_pfc_ver1; //µçÔ´Ä£¿é1PFC°æ±¾
|
private JTextField tf_outputvol1; //µçÔ´Ä£¿é1Êä³öµçѹ
|
private JTextField tf_outputlimitcurr1; //µçÔ´Ä£¿é1Êä³öÏÞÁ÷µã
|
private JTextField tf_inputvol1; //µçÔ´Ä£¿é1ÊäÈëµçѹ
|
private JTextField tf_inertemp1; //µçÔ´Ä£¿é1ÄÚ²¿Î¶È
|
private JTextField tf_envirtemp1; //µçÔ´Ä£¿é1½ø·ç¿Ú»·¾³Î¶È
|
private JTextField tf_outputcurr1; //µçÔ´Ä£¿é1Êä³öµçÁ÷
|
private JTextField tf_almstate1_1; //µçÔ´Ä£¿é1¸æ¾¯×´Ì¬1
|
private JTextField tf_almstate2_1; //µçÔ´Ä£¿é1¸æ¾¯×´Ì¬2
|
private JTextField tf_ratedcurr_1; //µçÔ´Ä£¿é1¶î¶¨µçÁ÷
|
private JTextField tf_commst_1; //µçÔ´Ä£¿é1ͨÐűêʶ
|
|
private JTextField tf_hardware_ver2; //µçÔ´Ä£¿é2Ó²¼þ°æ±¾
|
private JTextField tf_dcdc_ver2; //µçÔ´Ä£¿é2DCDC°æ±¾
|
private JTextField tf_pfc_ver2; //µçÔ´Ä£¿é2PFC°æ±¾
|
private JTextField tf_outputvol2; //µçÔ´Ä£¿é2Êä³öµçѹ
|
private JTextField tf_outputlimitcurr2; //µçÔ´Ä£¿é2Êä³öÏÞÁ÷µã
|
private JTextField tf_inputvol2; //µçÔ´Ä£¿é2ÊäÈëµçѹ
|
private JTextField tf_inertemp2; //µçÔ´Ä£¿é2ÄÚ²¿Î¶È
|
private JTextField tf_envirtemp2; //µçÔ´Ä£¿é2½ø·ç¿Ú»·¾³Î¶È
|
private JTextField tf_outputcurr2; //µçÔ´Ä£¿é2Êä³öµçÁ÷
|
private JTextField tf_almstate1_2; //µçÔ´Ä£¿é2¸æ¾¯×´Ì¬1
|
private JTextField tf_almstate2_2; //µçÔ´Ä£¿é2¸æ¾¯×´Ì¬2
|
private JTextField tf_ratedcurr_2; //µçÔ´Ä£¿é2¶î¶¨µçÁ÷
|
private JTextField tf_commst_2; //µçÔ´Ä£¿é2ͨÐűêʶ
|
|
private JTextField tf_hardware_ver3; //µçÔ´Ä£¿é3Ó²¼þ°æ±¾
|
private JTextField tf_dcdc_ver3; //µçÔ´Ä£¿é3DCDC°æ±¾
|
private JTextField tf_pfc_ver3; //µçÔ´Ä£¿é3PFC°æ±¾
|
private JTextField tf_outputvol3; //µçÔ´Ä£¿é3Êä³öµçѹ
|
private JTextField tf_outputlimitcurr3; //µçÔ´Ä£¿é3Êä³öÏÞÁ÷µã
|
private JTextField tf_inputvol3; //µçÔ´Ä£¿é3ÊäÈëµçѹ
|
private JTextField tf_inertemp3; //µçÔ´Ä£¿é3ÄÚ²¿Î¶È
|
private JTextField tf_envirtemp3; //µçÔ´Ä£¿é3½ø·ç¿Ú»·¾³Î¶È
|
private JTextField tf_outputcurr3; //µçÔ´Ä£¿é3Êä³öµçÁ÷
|
private JTextField tf_almstate1_3; //µçÔ´Ä£¿é3¸æ¾¯×´Ì¬1
|
private JTextField tf_almstate2_3; //µçÔ´Ä£¿é3¸æ¾¯×´Ì¬2
|
private JTextField tf_ratedcurr_3; //µçÔ´Ä£¿é3¶î¶¨µçÁ÷
|
private JTextField tf_commst_3; //µçÔ´Ä£¿é3ͨÐűêʶ
|
|
private JTextField tf_hardware_ver4; //µçÔ´Ä£¿é4Ó²¼þ°æ±¾
|
private JTextField tf_dcdc_ver4; //µçÔ´Ä£¿é4DCDC°æ±¾
|
private JTextField tf_pfc_ver4; //µçÔ´Ä£¿é4PFC°æ±¾
|
private JTextField tf_outputvol4; //µçÔ´Ä£¿é4Êä³öµçѹ
|
private JTextField tf_outputlimitcurr4; //µçÔ´Ä£¿é4Êä³öÏÞÁ÷µã
|
private JTextField tf_inputvol4; //µçÔ´Ä£¿é4ÊäÈëµçѹ
|
private JTextField tf_inertemp4; //µçÔ´Ä£¿é4ÄÚ²¿Î¶È
|
private JTextField tf_envirtemp4; //µçÔ´Ä£¿é4½ø·ç¿Ú»·¾³Î¶È
|
private JTextField tf_outputcurr4; //µçÔ´Ä£¿é4Êä³öµçÁ÷
|
private JTextField tf_almstate1_4; //µçÔ´Ä£¿é4¸æ¾¯×´Ì¬1
|
private JTextField tf_almstate2_4; //µçÔ´Ä£¿é4¸æ¾¯×´Ì¬2
|
private JTextField tf_ratedcurr_4; //µçÔ´Ä£¿é4¶î¶¨µçÁ÷
|
private JTextField tf_commst_4; //µçÔ´Ä£¿é4ͨÐűêʶ
|
|
private JTable table_alm; //¸æ¾¯±í¸ñ
|
private Vector<String> columnVector_alm;
|
private Vector<Vector<String>> dataRow_alm;
|
|
private JTextField tf_acin_high_limit; //½»Á÷ÊäÈë¸ßãÐÖµ
|
private JTextField tf_acin_low_limit; //½»Á÷ÊäÈëµÍãÐÖµ
|
private JTextField tf_groupvol_high_limit; //×é¶Ëµçѹ¸ßãÐÖµ
|
private JTextField tf_groupvol_low_limit; //×é¶ËµçѹµÍãÐÖµ
|
private JTextField tf_monvol_high_limit; //µ¥Ìåµçѹ¸ßãÐÖµ
|
private JTextField tf_monvol_low_limit; //µ¥ÌåµçѹµÍãÐÖµ
|
private JTextField tf_discurr_high_limit; //·ÅµçµçÁ÷´óãÐÖµ
|
private JTextField tf_chrcurr_high_limit; //³äµçµçÁ÷´óãÐÖµ
|
private JTextField tf_devtemp_high_limit; //É豸ÄÚ²¿Î¶ȸßãÐÖµ
|
private JTextField tf_devtemp_low_limit; //É豸ÄÚ²¿Î¶ȵÍãÐÖµ
|
private JTextField tf_dcoutcurr_high_limit; //Ö±Á÷Êä³öµçÁ÷´óãÐÖµ
|
|
private JButton btn_almparam_read; //¶ÁÈ¡
|
private JButton btn_almparam_write; //ÉèÖÃ
|
|
private JTextField tf_alm_param_res; //¸æ¾¯²Ù×÷½á¹ûÐÅÏ¢
|
|
|
private JTextField tf_devcommaddr; //É豸ͨÐŵØÖ·
|
private JTextField tf_libmscount; //ï®µç³Ø°ü¸öÊý
|
private JTextField tf_modelcount; //µçÔ´Ä£¿é¸öÊý
|
private JTextField tf_powerdownvol; //µç³ØÏµçµçѹ
|
private JTextField tf_backtime; //Òº¾§ÆÁ±³¹âʱ¼ä
|
private JTextField tf_charcurr_limit; //³äµçÏÞÁ÷Öµ
|
private JComboBox<String> jc_backcntrol_en; //±¸µã¿ØÖÆÊ¹ÄÜ
|
|
private JButton btn_sysparam_read; //¶ÁÈ¡
|
private JButton btn_sysparam_write; //ÉèÖÃ
|
|
private JButton btn_sysgate_open; //ÃÅ´Å´ò¿ª
|
private JButton btn_sysgate_close; //ÃŴŹرÕ
|
|
private JComboBox<String> jc_sysgate_st; //ÃÅ´Å״̬
|
|
private JButton btn_sysroad1_open; //·Ö·1´ò¿ª
|
private JButton btn_sysroad1_close; //·Ö·1¹Ø±Õ
|
private JButton btn_sysroad2_open; //·Ö·2´ò¿ª
|
private JButton btn_sysroad2_close; //·Ö·2¹Ø±Õ
|
private JButton btn_sysroad3_open; //·Ö·3´ò¿ª
|
private JButton btn_sysroad3_close; //·Ö·3¹Ø±Õ
|
private JButton btn_sysroad4_open; //·Ö·4´ò¿ª
|
private JButton btn_sysroad4_close; //·Ö·4¹Ø±Õ
|
private JButton btn_sysroad5_open; //·Ö·5´ò¿ª
|
private JButton btn_sysroad5_close; //·Ö·5¹Ø±Õ
|
private JButton btn_sysroad6_open; //·Ö·6´ò¿ª
|
private JButton btn_sysroad6_close; //·Ö·6¹Ø±Õ
|
private JButton btn_sysroad7_open; //·Ö·7´ò¿ª
|
private JButton btn_sysroad7_close; //·Ö·7¹Ø±Õ
|
private JButton btn_sysroad8_open; //·Ö·8´ò¿ª
|
private JButton btn_sysroad8_close; //·Ö·8¹Ø±Õ
|
private JButton btn_sysroad9_open; //·Ö·9´ò¿ª
|
private JButton btn_sysroad9_close; //·Ö·9¹Ø±Õ
|
private JButton btn_sysroad10_open; //·Ö·10´ò¿ª
|
private JButton btn_sysroad10_close; //·Ö·10¹Ø±Õ
|
private JButton btn_sysroad11_open; //·Ö·11´ò¿ª
|
private JButton btn_sysroad11_close; //·Ö·11¹Ø±Õ
|
private JButton btn_sysroad12_open; //·Ö·12´ò¿ª
|
private JButton btn_sysroad12_close; //·Ö·12¹Ø±Õ
|
|
private JComboBox<String> jc_sysroad1_st; //·Ö·1״̬
|
private JComboBox<String> jc_sysroad2_st; //·Ö·2״̬
|
private JComboBox<String> jc_sysroad3_st; //·Ö·3״̬
|
private JComboBox<String> jc_sysroad4_st; //·Ö·4״̬
|
private JComboBox<String> jc_sysroad5_st; //·Ö·5״̬
|
private JComboBox<String> jc_sysroad6_st; //·Ö·6״̬
|
private JComboBox<String> jc_sysroad7_st; //·Ö·7״̬
|
private JComboBox<String> jc_sysroad8_st; //·Ö·8״̬
|
private JComboBox<String> jc_sysroad9_st; //·Ö·9״̬
|
private JComboBox<String> jc_sysroad10_st; //·Ö·10״̬
|
private JComboBox<String> jc_sysroad11_st; //·Ö·11״̬
|
private JComboBox<String> jc_sysroad12_st; //·Ö·12״̬
|
|
private JButton btn_sysroad1bac_open; //·Ö·1±¸µç´ò¿ª
|
private JButton btn_sysroad1bac_close; //·Ö·1±¸µç¹Ø±Õ
|
private JButton btn_sysroad2bac_open; //·Ö·2±¸µç´ò¿ª
|
private JButton btn_sysroad2bac_close; //·Ö·2±¸µç¹Ø±Õ
|
private JButton btn_sysroad3bac_open; //·Ö·3±¸µç´ò¿ª
|
private JButton btn_sysroad3bac_close; //·Ö·3±¸µç¹Ø±Õ
|
private JButton btn_sysroad4bac_open; //·Ö·4±¸µç´ò¿ª
|
private JButton btn_sysroad4bac_close; //·Ö·4±¸µç¹Ø±Õ
|
private JButton btn_sysroad5bac_open; //·Ö·5±¸µç´ò¿ª
|
private JButton btn_sysroad5bac_close; //·Ö·5±¸µç¹Ø±Õ
|
private JButton btn_sysroad6bac_open; //·Ö·6±¸µç´ò¿ª
|
private JButton btn_sysroad6bac_close; //·Ö·6±¸µç¹Ø±Õ
|
private JButton btn_sysroad7bac_open; //·Ö·7±¸µç´ò¿ª
|
private JButton btn_sysroad7bac_close; //·Ö·7±¸µç¹Ø±Õ
|
private JButton btn_sysroad8bac_open; //·Ö·8±¸µç´ò¿ª
|
private JButton btn_sysroad8bac_close; //·Ö·8±¸µç¹Ø±Õ
|
private JButton btn_sysroad9bac_open; //·Ö·9±¸µç´ò¿ª
|
private JButton btn_sysroad9bac_close; //·Ö·9±¸µç¹Ø±Õ
|
private JButton btn_sysroad10bac_open; //·Ö·10±¸µç´ò¿ª
|
private JButton btn_sysroad10bac_close; //·Ö·10±¸µç¹Ø±Õ
|
private JButton btn_sysroad11bac_open; //·Ö·11±¸µç´ò¿ª
|
private JButton btn_sysroad11bac_close; //·Ö·11±¸µç¹Ø±Õ
|
private JButton btn_sysroad12bac_open; //·Ö·12±¸µç´ò¿ª
|
private JButton btn_sysroad12bac_close; //·Ö·12±¸µç¹Ø±Õ
|
|
private JComboBox<String> jc_sysroad1bac_st; //·Ö·1±¸µç״̬
|
private JComboBox<String> jc_sysroad2bac_st; //·Ö·2±¸µç״̬
|
private JComboBox<String> jc_sysroad3bac_st; //·Ö·3±¸µç״̬
|
private JComboBox<String> jc_sysroad4bac_st; //·Ö·4±¸µç״̬
|
private JComboBox<String> jc_sysroad5bac_st; //·Ö·5±¸µç״̬
|
private JComboBox<String> jc_sysroad6bac_st; //·Ö·6±¸µç״̬
|
private JComboBox<String> jc_sysroad7bac_st; //·Ö·7±¸µç״̬
|
private JComboBox<String> jc_sysroad8bac_st; //·Ö·8±¸µç״̬
|
private JComboBox<String> jc_sysroad9bac_st; //·Ö·9±¸µç״̬
|
private JComboBox<String> jc_sysroad10bac_st; //·Ö·10±¸µç״̬
|
private JComboBox<String> jc_sysroad11bac_st; //·Ö·11±¸µç״̬
|
private JComboBox<String> jc_sysroad12bac_st; //·Ö·12±¸µç״̬
|
|
|
|
private JTextField tf_sys_param_res; //ϵͳ²ÎÊý²Ù×÷½á¹ûÐÅÏ¢
|
|
private JTextField tf_time_year; //Äê
|
private JTextField tf_time_month; //ÔÂ
|
private JTextField tf_time_day; //ÈÕ
|
private JTextField tf_time_hour; //ʱ
|
private JTextField tf_time_minute; //·Ö
|
private JTextField tf_time_second; //Ãë
|
|
private JButton btn_systime_read; //¶ÁÈ¡É豸ʱ¼ä
|
private JButton btn_systime_write; //У׼ʱ¼ä
|
private JButton btn_systime_update; //У׼Ϊµ±Ç°Ê±¼ä
|
|
private JComboBox<String> cb_regulartime1; //·Ö·1¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year1; //·Ö·1¶¨Ê±Äê
|
private JTextField tf_regulartime_month1; //·Ö·1¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day1; //·Ö·1¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour1; //·Ö·1¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute1; //·Ö·1¶¨Ê±·Ö
|
private JTextField tf_regulartime_second1; //·Ö·1¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm1; //·Ö·1¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year1; //·Ö·1¸´Í¨Äê
|
private JTextField tf_repetcomm_month1; //·Ö·1¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day1; //·Ö·1¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour1; //·Ö·1¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute1; //·Ö·1¸´Í¨·Ö
|
private JTextField tf_repetcomm_second1; //·Ö·1¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime2; //·Ö·2¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year2; //·Ö·2¶¨Ê±Äê
|
private JTextField tf_regulartime_month2; //·Ö·2¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day2; //·Ö·2¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour2; //·Ö·2¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute2; //·Ö·2¶¨Ê±·Ö
|
private JTextField tf_regulartime_second2; //·Ö·2¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm2; //·Ö·2¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year2; //·Ö·2¸´Í¨Äê
|
private JTextField tf_repetcomm_month2; //·Ö·2¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day2; //·Ö·2¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour2; //·Ö·2¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute2; //·Ö·2¸´Í¨·Ö
|
private JTextField tf_repetcomm_second2; //·Ö·2¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime3; //·Ö·3¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year3; //·Ö·3¶¨Ê±Äê
|
private JTextField tf_regulartime_month3; //·Ö·3¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day3; //·Ö·3¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour3; //·Ö·3¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute3; //·Ö·3¶¨Ê±·Ö
|
private JTextField tf_regulartime_second3; //·Ö·3¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm3; //·Ö·3¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year3; //·Ö·3¸´Í¨Äê
|
private JTextField tf_repetcomm_month3; //·Ö·3¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day3; //·Ö·3¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour3; //·Ö·3¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute3; //·Ö·3¸´Í¨·Ö
|
private JTextField tf_repetcomm_second3; //·Ö·3¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime4; //·Ö·4¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year4; //·Ö·4¶¨Ê±Äê
|
private JTextField tf_regulartime_month4; //·Ö·4¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day4; //·Ö·4¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour4; //·Ö·4¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute4; //·Ö·4¶¨Ê±·Ö
|
private JTextField tf_regulartime_second4; //·Ö·4¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm4; //·Ö·4¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year4; //·Ö·4¸´Í¨Äê
|
private JTextField tf_repetcomm_month4; //·Ö·4¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day4; //·Ö·4¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour4; //·Ö·4¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute4; //·Ö·4¸´Í¨·Ö
|
private JTextField tf_repetcomm_second4; //·Ö·4¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime5; //·Ö·5¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year5; //·Ö·5¶¨Ê±Äê
|
private JTextField tf_regulartime_month5; //·Ö·5¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day5; //·Ö·5¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour5; //·Ö·5¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute5; //·Ö·5¶¨Ê±·Ö
|
private JTextField tf_regulartime_second5; //·Ö·5¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm5; //·Ö·5¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year5; //·Ö·5¸´Í¨Äê
|
private JTextField tf_repetcomm_month5; //·Ö·5¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day5; //·Ö·5¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour5; //·Ö·5¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute5; //·Ö·5¸´Í¨·Ö
|
private JTextField tf_repetcomm_second5; //·Ö·5¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime6; //·Ö·6¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year6; //·Ö·6¶¨Ê±Äê
|
private JTextField tf_regulartime_month6; //·Ö·6¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day6; //·Ö·6¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour6; //·Ö·6¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute6; //·Ö·6¶¨Ê±·Ö
|
private JTextField tf_regulartime_second6; //·Ö·6¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm6; //·Ö·6¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year6; //·Ö·6¸´Í¨Äê
|
private JTextField tf_repetcomm_month6; //·Ö·6¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day6; //·Ö·6¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour6; //·Ö·6¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute6; //·Ö·6¸´Í¨·Ö
|
private JTextField tf_repetcomm_second6; //·Ö·6¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime7; //·Ö·7¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year7; //·Ö·7¶¨Ê±Äê
|
private JTextField tf_regulartime_month7; //·Ö·7¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day7; //·Ö·7¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour7; //·Ö·7¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute7; //·Ö·7¶¨Ê±·Ö
|
private JTextField tf_regulartime_second7; //·Ö·7¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm7; //·Ö·7¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year7; //·Ö·7¸´Í¨Äê
|
private JTextField tf_repetcomm_month7; //·Ö·7¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day7; //·Ö·7¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour7; //·Ö·7¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute7; //·Ö·7¸´Í¨·Ö
|
private JTextField tf_repetcomm_second7; //·Ö·7¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime8; //·Ö·8¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year8; //·Ö·8¶¨Ê±Äê
|
private JTextField tf_regulartime_month8; //·Ö·8¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day8; //·Ö·8¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour8; //·Ö·8¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute8; //·Ö·8¶¨Ê±·Ö
|
private JTextField tf_regulartime_second8; //·Ö·8¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm8; //·Ö·8¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year8; //·Ö·8¸´Í¨Äê
|
private JTextField tf_repetcomm_month8; //·Ö·8¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day8; //·Ö·8¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour8; //·Ö·8¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute8; //·Ö·8¸´Í¨·Ö
|
private JTextField tf_repetcomm_second8; //·Ö·8¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime9; //·Ö·9¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year9; //·Ö·9¶¨Ê±Äê
|
private JTextField tf_regulartime_month9; //·Ö·9¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day9; //·Ö·9¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour9; //·Ö·9¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute9; //·Ö·9¶¨Ê±·Ö
|
private JTextField tf_regulartime_second9; //·Ö·9¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm9; //·Ö·9¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year9; //·Ö·9¸´Í¨Äê
|
private JTextField tf_repetcomm_month9; //·Ö·9¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day9; //·Ö·9¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour9; //·Ö·9¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute9; //·Ö·9¸´Í¨·Ö
|
private JTextField tf_repetcomm_second9; //·Ö·9¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime10; //·Ö·10¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year10; //·Ö·10¶¨Ê±Äê
|
private JTextField tf_regulartime_month10; //·Ö·10¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day10; //·Ö·10¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour10; //·Ö·10¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute10; //·Ö·10¶¨Ê±·Ö
|
private JTextField tf_regulartime_second10; //·Ö·10¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm10; //·Ö·10¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year10; //·Ö·10¸´Í¨Äê
|
private JTextField tf_repetcomm_month10; //·Ö·10¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day10; //·Ö·10¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour10; //·Ö·10¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute10; //·Ö·10¸´Í¨·Ö
|
private JTextField tf_repetcomm_second10; //·Ö·10¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime11; //·Ö·11¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year11; //·Ö·11¶¨Ê±Äê
|
private JTextField tf_regulartime_month11; //·Ö·11¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day11; //·Ö·11¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour11; //·Ö·11¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute11; //·Ö·11¶¨Ê±·Ö
|
private JTextField tf_regulartime_second11; //·Ö·11¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm11; //·Ö·11¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year11; //·Ö·11¸´Í¨Äê
|
private JTextField tf_repetcomm_month11; //·Ö·11¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day11; //·Ö·11¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour11; //·Ö·11¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute11; //·Ö·11¸´Í¨·Ö
|
private JTextField tf_repetcomm_second11; //·Ö·11¸´Í¨Ãë
|
|
private JComboBox<String> cb_regulartime12; //·Ö·11¶¨Ê±Ê¹ÄÜ
|
private JTextField tf_regulartime_year12; //·Ö·11¶¨Ê±Äê
|
private JTextField tf_regulartime_month12; //·Ö·11¶¨Ê±ÔÂ
|
private JTextField tf_regulartime_day12; //·Ö·11¶¨Ê±ÈÕ
|
private JTextField tf_regulartime_hour12; //·Ö·11¶¨Ê±Ê±
|
private JTextField tf_regulartime_minute12; //·Ö·11¶¨Ê±·Ö
|
private JTextField tf_regulartime_second12; //·Ö·11¶¨Ê±Ãë
|
|
private JComboBox<String> cb_repetcomm12; //·Ö·12¸´Í¨Ê¹ÄÜ
|
private JTextField tf_repetcomm_year12; //·Ö·12¸´Í¨Äê
|
private JTextField tf_repetcomm_month12; //·Ö·12¸´Í¨ÔÂ
|
private JTextField tf_repetcomm_day12; //·Ö·12¸´Í¨ÈÕ
|
private JTextField tf_repetcomm_hour12; //·Ö·12¸´Í¨Ê±
|
private JTextField tf_repetcomm_minute12; //·Ö·12¸´Í¨·Ö
|
private JTextField tf_repetcomm_second12; //·Ö·12¸´Í¨Ãë
|
|
private JButton btn_regulartime_read1; //·Ö·1~6·Öʱ²ÎÊý¶ÁÈ¡
|
private JButton btn_regulartime_write1; //·Ö·1~6·Öʱ²ÎÊýÉèÖÃ
|
private JButton btn_regulartime_read2; //·Ö·7~12·Öʱ²ÎÊý¶ÁÈ¡
|
private JButton btn_regulartime_write2; //·Ö·7~12·Öʱ²ÎÊýÉèÖÃ
|
|
private JTextField tf_sys_jiaozhun_res; //ϵͳУ׼²Ù×÷½á¹ûÐÅÏ¢
|
|
|
private JFileChooser parseDir; //Ñ¡ÔñÉý¼¶Îļþ
|
private JTextArea ta_dfu_inf; //Ô¶³ÌÉý¼¶ÐÅÏ¢
|
|
private JButton btn_update_start; //¿ªÊ¼·¢ËÍÉý¼¶Îļþ
|
private JButton btn_update_stop; //Í£Ö¹·¢ËÍÉý¼¶Îļþ
|
private JButton btn_update_sys; //Éý¼¶ÏµÍ³
|
private JButton btn_update_restart; //ÖØÆô
|
|
|
private static final long serialVersionUID = 1L;
|
private JTextField tf_zdhj_res_test_count;
|
private JTextField tf_zdhj_version;
|
private JTextField tf_zdhj_moncount;
|
private JTextField tf_zdhj_zdvol;
|
private JTextField tf_wenbo_curr_avg;
|
private JTextField tf_wenbo_curr_peak;
|
private JTextField tf_zdhj_curr;
|
|
private JComboBox<?> cb_zdhj_state;
|
private JComboBox<?> cb_zdhj_curr_dir;
|
private JComboBox<?> cb_zdhj_batt_state;
|
private JComboBox<?> cb_zdhj_current_res_test_mode;
|
private JButton btn_zdhj_restest_start;
|
private JButton btn_zdhj_restest_stop;
|
|
private JTabbedPane tabbedPane = null;
|
|
|
private JTabbedPane libmstabbedPane = null; //ï®µç³Ø°ü
|
|
|
|
private JTable table_libms1;
|
private Vector<String> columnVector_libms1;
|
private Vector<Vector<String>> dataRow_libms1;
|
|
private JTable table_libms2;
|
private Vector<String> columnVector_libms2;
|
private Vector<Vector<String>> dataRow_libms2;
|
|
private JTable table_libms3;
|
private Vector<String> columnVector_libms3;
|
private Vector<Vector<String>> dataRow_libms3;
|
|
private JTable table_libms4;
|
private Vector<String> columnVector_libms4;
|
private Vector<Vector<String>> dataRow_libms4;
|
|
private page_debug_inf panel_ZDHJ_debug;
|
|
|
private JPanel panel_baseinfo; //Ö÷½çÃæ
|
private JPanel panel_libms; //ï®µç³ØÊµÊ±Êý¾Ý½çÃæ
|
private JPanel panel_powermodel; //µçÔ´Ä£¿éʵʱÊý¾Ý½çÃæ
|
private JPanel panel_poweralm; //µçÔ´¸æ¾¯
|
private JPanel panel_powerparam; //²ÎÊýÉèÖýçÃæ
|
private JPanel panel_jzparam; //У׼ÒÔ¼°¶¨ÖÆÒ£µ÷½çÃæ
|
private JPanel panel_sysupdate; //ϵͳÉý¼¶
|
private page_debug_inf panel_debug; //µ÷ÊÔÐÅÏ¢
|
|
|
private Logger logger;
|
/**
|
* Create the panel.
|
*/
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
public power_page_base() {
|
logger = LogManager.getLogger(power_page_base.class);
|
|
setLayout(new BorderLayout(0, 0));
|
columnVector_power = new Vector<String>();
|
|
String zdhj_title = "";
|
zdhj_title = "·Ö·±àºÅ";
|
if(LANG_TYPE_EN == LANG_TYPE) {
|
zdhj_title = "MonNum";
|
}
|
columnVector_power.add(zdhj_title);
|
|
zdhj_title = "·Ö·µçÁ÷(A)";
|
columnVector_power.add(zdhj_title);
|
|
zdhj_title = "·Ö·¼ÆÁ¿µçÁ¿(KWH)";
|
columnVector_power.add(zdhj_title);
|
|
|
dataRow_power = new Vector<Vector<String>>();
|
MouseAdapter m_a = new MouseAdapter() {
|
public void mouseReleased(MouseEvent e) {
|
if(e.getSource() != table_power_data) {
|
return;
|
}
|
/*
|
int selectColumn = m_JTable.columnAtPoint(e.getPoint());
|
int selectRow = m_JTable.rowAtPoint(e.getPoint());
|
if (selectColumn == mCheckBoxColnumIndex) {
|
boolean value = (boolean) m_JTable.getValueAt(selectRow, selectColumn);
|
m_UI_Monit.m_MonLineChart.getSeries(selectRow+1).setVisible(!value);
|
}
|
*/
|
}
|
public void mousePressed(MouseEvent evt) {
|
if (evt.getButton() == MouseEvent.BUTTON3) {
|
JPopupMenu popupMenu = new JPopupMenu();
|
JMenuItem tableItem_export_data = null;
|
String it_str = "¸´ÖƵ½¼ôÌù°å";
|
if(LANG_TYPE_EN == LANG_TYPE) {
|
it_str = "Copy To Clipboard";
|
}
|
tableItem_export_data = new JMenuItem(it_str);
|
tableItem_export_data.addActionListener(new ActionListener(){
|
@Override
|
public void actionPerformed(ActionEvent arg0) {
|
Clipboard clipboard = getToolkit().getSystemClipboard();
|
String temp = "";
|
for(int c=0; c<columnVector_power.size(); c++) {
|
temp += columnVector_power.get(c) + "\t";
|
}
|
temp += "\n";
|
for(int r=0; r<dataRow_power.size(); r++) {
|
for(int c=0; c<columnVector_power.size(); c++) {
|
temp += dataRow_power.get(r).get(c) + "\t";
|
}
|
temp += "\n";
|
}
|
StringSelection text = new StringSelection(temp);
|
clipboard.setContents(text, null);
|
}
|
});
|
popupMenu.add(tableItem_export_data);
|
popupMenu.show(evt.getComponent(), evt.getX(), evt.getY());
|
}
|
}
|
};
|
|
setLayout(new BorderLayout(0, 0));
|
|
tabbedPane = new JTabbedPane(JTabbedPane.TOP);
|
add(tabbedPane, BorderLayout.CENTER);
|
|
panel_baseinfo = new JPanel(); //µçÔ´Ò£²â
|
|
panel_libms = new JPanel(); //ï®µç³ØÊµÊ±Êý¾Ý½çÃæ
|
panel_powermodel = new JPanel(); //µçÔ´Ä£¿éʵʱÊý¾Ý½çÃæ
|
panel_poweralm = new JPanel(); //µçÔ´¸æ¾¯
|
panel_powerparam = new JPanel(); //²ÎÊýÉèÖýçÃæ
|
panel_jzparam = new JPanel(); //У׼ÒÔ¼°¶¨ÖÆÒ£µ÷½çÃæ
|
panel_sysupdate = new JPanel(); //Ô¶³ÌÉý¼¶
|
panel_debug = new page_debug_inf(); //µ÷ÊÔÐÅÏ¢
|
|
|
//tabbedPane.add(panel_baseinfo,"µçÔ´Ò£²â");
|
tabbedPane.addTab("µçÔ´Ò£²â",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_baseinfo, null);
|
|
//tabbedPane.add(panel_libms,"ï®µç³Ø°üÒ£²â");
|
tabbedPane.addTab("ï®µç³Ø°üÒ£²â",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_libms, null);
|
|
// tabbedPane.add(panel_powermodel,"µçÔ´Ä£¿éÒ£²â");
|
tabbedPane.addTab("µçÔ´Ä£¿éÒ£²â",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_powermodel, null);
|
|
// tabbedPane.add(panel_poweralm,"µçÔ´¸æ¾¯");
|
tabbedPane.addTab("µçÔ´¸æ¾¯",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_poweralm, null);
|
|
// tabbedPane.add(panel_powerparam,"µçÔ´²ÎÊý");
|
tabbedPane.addTab("µçÔ´²ÎÊý",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_powerparam, null);
|
|
// tabbedPane.add(panel_jzparam,"µçԴУ׼");
|
tabbedPane.addTab("µçԴУ׼",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_jzparam, null);
|
|
|
tabbedPane.addTab("Ô¶³ÌÉý¼¶",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_sysupdate, null);
|
|
// tabbedPane.addTab("µ÷ÊÔÐÅÏ¢",null, panel_debug, null);
|
tabbedPane.addTab("µ÷ÊÔÐÅÏ¢",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_debug, null);
|
|
/************************ µçÔ´Ò£²â ********************************************/
|
panel_baseinfo.setLayout(new BorderLayout());
|
|
JPanel panel_100 = new JPanel();
|
panel_baseinfo.add(panel_100, BorderLayout.CENTER);
|
panel_100.setLayout(new BorderLayout(0, 0));
|
|
JScrollPane scrollPane_2 = new JScrollPane();
|
panel_100.add(scrollPane_2);
|
|
table_power_data = new JTable();
|
table_power_data.setModel(new DefaultTableModel(dataRow_power, columnVector_power));
|
|
table_power_data.addMouseListener(m_a);
|
scrollPane_2.setViewportView(table_power_data);
|
|
JPanel panel_101 = new JPanel();
|
panel_101.setLayout(new BorderLayout(0, 0));
|
panel_baseinfo.add(panel_101,BorderLayout.WEST);
|
|
JPanel panel_102 = new JPanel();
|
panel_102.setLayout(new GridLayout(5,3));
|
panel_101.add(panel_102,BorderLayout.CENTER);
|
|
JPanel panel_120 = new JPanel();
|
panel_120.setLayout(new GridLayout(2,1));
|
panel_101.add(panel_120,BorderLayout.SOUTH);
|
|
|
|
//É豸°æ±¾ºÅ
|
JPanel panel_190 = new JPanel();
|
panel_190.setBorder(new TitledBorder(null, "É豸°æ±¾ºÅ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_190);
|
panel_190.setLayout(new BorderLayout(0, 0));
|
|
tf_devversion = new JTextField();
|
panel_190.add(tf_devversion);
|
tf_devversion.setColumns(10);
|
|
//½»Á÷ÊäÈëµçѹ
|
JPanel panel_103 = new JPanel();
|
panel_103.setBorder(new TitledBorder(null, "½»Á÷ÊäÈëµçѹ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_103);
|
panel_103.setLayout(new BorderLayout(0, 0));
|
|
tf_acin_inputvol = new JTextField();
|
panel_103.add(tf_acin_inputvol);
|
tf_acin_inputvol.setColumns(10);
|
|
//½»Á÷ÊäÈëµçÁ÷
|
JPanel panel_104 = new JPanel();
|
panel_104.setBorder(new TitledBorder(null, "½»Á÷ÊäÈëµçÁ÷", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_104);
|
panel_104.setLayout(new BorderLayout(0, 0));
|
|
tf_acin_inputcurr = new JTextField();
|
panel_104.add(tf_acin_inputcurr);
|
tf_acin_inputcurr.setColumns(10);
|
|
//½»Á÷ÊäÈ빦ÂÊ
|
JPanel panel_105 = new JPanel();
|
panel_105.setBorder(new TitledBorder(null, "½»Á÷ÊäÈ빦ÂÊ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_105);
|
panel_105.setLayout(new BorderLayout(0, 0));
|
|
tf_acin_inputpower = new JTextField();
|
panel_105.add(tf_acin_inputpower);
|
tf_acin_inputpower.setColumns(10);
|
|
//×é¶Ëµçѹ
|
JPanel panel_106 = new JPanel();
|
panel_106.setBorder(new TitledBorder(null, "×é¶Ëµçѹ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_106);
|
panel_106.setLayout(new BorderLayout(0, 0));
|
|
tf_groupvol = new JTextField();
|
panel_106.add(tf_groupvol);
|
tf_groupvol.setColumns(10);
|
|
//×é¶ËµçÁ÷
|
JPanel panel_107 = new JPanel();
|
panel_107.setBorder(new TitledBorder(null, "×é¶ËµçÁ÷", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_107);
|
panel_107.setLayout(new BorderLayout(0, 0));
|
|
tf_groupcurr = new JTextField();
|
panel_107.add(tf_groupcurr);
|
tf_groupcurr.setColumns(10);
|
|
//¸ººÉ×ܵçÁ÷
|
JPanel panel_108 = new JPanel();
|
panel_108.setBorder(new TitledBorder(null, "¸ººÉ×ܵçÁ÷", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_108);
|
panel_108.setLayout(new BorderLayout(0, 0));
|
|
tf_totalcurr = new JTextField();
|
panel_108.add(tf_totalcurr);
|
tf_totalcurr.setColumns(10);
|
|
//É豸Ö÷°åζÈ
|
JPanel panel_109 = new JPanel();
|
panel_109.setBorder(new TitledBorder(null, "É豸Ö÷°åζÈ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_109);
|
panel_109.setLayout(new BorderLayout(0, 0));
|
|
tf_devtemp = new JTextField();
|
panel_109.add(tf_devtemp);
|
tf_devtemp.setColumns(10);
|
|
//»·¾³Î¶È
|
JPanel panel_110 = new JPanel();
|
panel_110.setBorder(new TitledBorder(null, "»·¾³Î¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_110);
|
panel_110.setLayout(new BorderLayout(0, 0));
|
|
tf_envirtemp = new JTextField();
|
panel_110.add(tf_envirtemp);
|
tf_envirtemp.setColumns(10);
|
|
//»·¾³Êª¶È
|
JPanel panel_111 = new JPanel();
|
panel_111.setBorder(new TitledBorder(null, "»·¾³Êª¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_102.add(panel_111);
|
panel_111.setLayout(new BorderLayout(0, 0));
|
|
tf_envirhumid = new JTextField();
|
panel_111.add(tf_envirhumid);
|
tf_envirhumid.setColumns(10);
|
|
|
//µçÔ´Êä³öµçѹ/µçÔ´Êä³öÏÞÁ÷Öµ
|
JPanel panel_121 = new JPanel();
|
panel_121.setBorder(new TitledBorder(null, "µçÔ´Êä³öµçѹ/µçÔ´Êä³öÏÞÁ÷Öµ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_120.add(panel_121);
|
panel_121.setLayout(new GridLayout(1,4,5,5));
|
|
|
tf_setoutputvol = new JTextField();
|
panel_121.add(tf_setoutputvol);
|
tf_setoutputvol.setColumns(10);
|
|
|
tf_setoutputcurr = new JTextField();
|
panel_121.add(tf_setoutputcurr);
|
tf_setoutputcurr.setColumns(10);
|
|
//¶ÁÈ¡
|
btn_param_read = new JButton("¶ÁÈ¡");
|
btn_param_read.setEnabled(false);
|
btn_param_read.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_PowerParam_RegAddr_Start, ByteBuffer.allocate(0));
|
}
|
});
|
btn_param_read.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_121.add(btn_param_read);
|
|
//ÉèÖÃ
|
btn_param_write = new JButton("ÉèÖÃ");
|
btn_param_write.setEnabled(false);
|
btn_param_write.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_Param tmp_param = new Power_Param();
|
try {
|
|
tmp_param.output_vol = Float.parseFloat(tf_setoutputvol.getText()); //2600 µçÔ´Êä³öµçѹÉ趨 0.1V
|
tmp_param.output_curr = Float.parseFloat(tf_setoutputcurr.getText()); //2601 µçÔ´Êä³öÏÞÁ÷µãÉ趨 A
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_PowerParam_RegAddr_Start, tmp_param.getPowerByteBuffer());
|
} catch (NumberFormatException e1) {
|
Toolkit.getDefaultToolkit().beep();
|
JOptionPane.showMessageDialog(tabbedPane, "ÇëÊäÈëºÏ·¨µÄ²ÎÊý!");
|
} finally {
|
tmp_param = null;
|
}
|
}
|
});
|
btn_param_write.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_121.add(btn_param_write);
|
|
JPanel panel_122 = new JPanel();
|
panel_122.setBorder(new TitledBorder(null, "²Ù×÷½á¹ûÐÅÏ¢", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_120.add(panel_122);
|
panel_122.setLayout(new BorderLayout(0, 0));
|
|
tf_op_rest_inf = new JTextField();
|
panel_122.add(tf_op_rest_inf);
|
tf_op_rest_inf.setColumns(10);
|
/********************************************************************/
|
/**************************** ï®µç³Ø°üBMSÐÅÏ¢ ****************************************/
|
panel_libms.setLayout(new BorderLayout());
|
|
libmstabbedPane = new JTabbedPane(JTabbedPane.LEFT);
|
|
panel_libms.add(libmstabbedPane, BorderLayout.CENTER);
|
|
JPanel panel_libms1 = new JPanel(); //ï®µç³Ø°ü1
|
panel_libms1.setLayout(new BorderLayout());
|
|
JPanel panel_libms2 = new JPanel(); //ï®µç³Ø°ü2
|
panel_libms2.setLayout(new BorderLayout());
|
|
JPanel panel_libms3 = new JPanel(); //ï®µç³Ø°ü3
|
panel_libms3.setLayout(new BorderLayout());
|
|
JPanel panel_libms4 = new JPanel(); //ï®µç³Ø°ü4
|
panel_libms4.setLayout(new BorderLayout());
|
|
libmstabbedPane.addTab("ï®µç³Ø°ü1",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_libms1, null);
|
libmstabbedPane.addTab("ï®µç³Ø°ü2",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_libms2, null);
|
libmstabbedPane.addTab("ï®µç³Ø°ü3",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_libms3, null);
|
libmstabbedPane.addTab("ï®µç³Ø°ü4",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_libms4, null);
|
|
JPanel panel_200 = new JPanel();
|
panel_libms1.add(panel_200,BorderLayout.CENTER);
|
panel_200.setLayout(new GridLayout(0,3));
|
|
columnVector_libms1 = new Vector<String>();
|
|
String bms_title = "µ¥Ìå±àºÅ";
|
columnVector_libms1.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ(V)";
|
columnVector_libms1.add(bms_title);
|
|
bms_title = "µçоζÈ(¡æ)";
|
columnVector_libms1.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ¸æ¾¯";
|
columnVector_libms1.add(bms_title);
|
|
bms_title = "µçо¸æ¾¯";
|
columnVector_libms1.add(bms_title);
|
|
dataRow_libms1 = new Vector<Vector<String>>();
|
|
JScrollPane scrollPane_3 = new JScrollPane();
|
panel_libms1.add(scrollPane_3,BorderLayout.EAST);
|
|
table_libms1 = new JTable();
|
table_libms1.setModel(new DefaultTableModel(dataRow_libms1, columnVector_libms1));
|
|
scrollPane_3.setViewportView(table_libms1);
|
|
//µ¥Ìåµç³ØÊýÄ¿
|
JPanel panel_201 = new JPanel();
|
panel_201.setBorder(new TitledBorder(null, "µ¥Ìåµç³ØÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_201);
|
panel_201.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_cnt_1 = new JTextField();
|
panel_201.add(tf_monvol_cnt_1);
|
tf_monvol_cnt_1.setColumns(10);
|
|
//µçоζÈÊýÄ¿
|
JPanel panel_202 = new JPanel();
|
panel_202.setBorder(new TitledBorder(null, "µçоζÈÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_202);
|
panel_202.setLayout(new BorderLayout(0, 0));
|
|
tf_montmp_cnt_1 = new JTextField();
|
panel_202.add(tf_montmp_cnt_1);
|
tf_montmp_cnt_1.setColumns(10);
|
|
//»·¾³Î¶È
|
JPanel panel_203 = new JPanel();
|
panel_203.setBorder(new TitledBorder(null, "»·¾³Î¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_203);
|
panel_203.setLayout(new BorderLayout(0, 0));
|
|
tf_envir_temp_1 = new JTextField();
|
panel_203.add(tf_envir_temp_1);
|
tf_envir_temp_1.setColumns(10);
|
|
//MOS¹ÜζÈ
|
JPanel panel_204 = new JPanel();
|
panel_204.setBorder(new TitledBorder(null, "MOS¹ÜζÈ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_204);
|
panel_204.setLayout(new BorderLayout(0, 0));
|
|
tf_mos_temp_1 = new JTextField();
|
panel_204.add(tf_mos_temp_1);
|
tf_mos_temp_1.setColumns(10);
|
|
//µç³ØµçÁ÷
|
JPanel panel_205 = new JPanel();
|
panel_205.setBorder(new TitledBorder(null, "µç³ØµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_205);
|
panel_205.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_curr_1 = new JTextField();
|
panel_205.add(tf_batt_curr_1);
|
tf_batt_curr_1.setColumns(10);
|
|
//µç³Ø×Üѹ
|
JPanel panel_206 = new JPanel();
|
panel_206.setBorder(new TitledBorder(null, "µç³Ø×Üѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_206);
|
panel_206.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_vol_1 = new JTextField();
|
panel_206.add(tf_batt_vol_1);
|
tf_batt_vol_1.setColumns(10);
|
|
//Ê£ÓàÈÝÁ¿
|
JPanel panel_207 = new JPanel();
|
panel_207.setBorder(new TitledBorder(null, "Ê£ÓàÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_207);
|
panel_207.setLayout(new BorderLayout(0, 0));
|
|
tf_rest_cap_1 = new JTextField();
|
panel_207.add(tf_rest_cap_1);
|
tf_rest_cap_1.setColumns(10);
|
|
//×ÜÈÝÁ¿
|
JPanel panel_208 = new JPanel();
|
panel_208.setBorder(new TitledBorder(null, "×ÜÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_208);
|
panel_208.setLayout(new BorderLayout(0, 0));
|
|
tf_total_cap_1 = new JTextField();
|
panel_208.add(tf_total_cap_1);
|
tf_total_cap_1.setColumns(10);
|
|
//µç³ØÑ»·´ÎÊý
|
JPanel panel_209 = new JPanel();
|
panel_209.setBorder(new TitledBorder(null, "µç³ØÑ»·´ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_209);
|
panel_209.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_cycles_1 = new JTextField();
|
panel_209.add(tf_batt_cycles_1);
|
tf_batt_cycles_1.setColumns(10);
|
|
//SOC
|
JPanel panel_210 = new JPanel();
|
panel_210.setBorder(new TitledBorder(null, "SOC", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_210);
|
panel_210.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soc_1 = new JTextField();
|
panel_210.add(tf_batt_soc_1);
|
tf_batt_soc_1.setColumns(10);
|
|
//SOH
|
JPanel panel_211 = new JPanel();
|
panel_211.setBorder(new TitledBorder(null, "SOH", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_200.add(panel_211);
|
panel_211.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soh_1 = new JTextField();
|
panel_211.add(tf_batt_soh_1);
|
tf_batt_soh_1.setColumns(10);
|
|
JPanel panel_220 = new JPanel();
|
panel_libms2.add(panel_220,BorderLayout.CENTER);
|
panel_220.setLayout(new GridLayout(0,3));
|
|
columnVector_libms2 = new Vector<String>();
|
|
bms_title = "µ¥Ìå±àºÅ";
|
columnVector_libms2.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ(V)";
|
columnVector_libms2.add(bms_title);
|
|
bms_title = "µçоζÈ(¡æ)";
|
columnVector_libms2.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ¸æ¾¯";
|
columnVector_libms2.add(bms_title);
|
|
bms_title = "µçо¸æ¾¯";
|
columnVector_libms2.add(bms_title);
|
|
dataRow_libms2 = new Vector<Vector<String>>();
|
|
JScrollPane scrollPane_4 = new JScrollPane();
|
panel_libms2.add(scrollPane_4,BorderLayout.EAST);
|
|
table_libms2 = new JTable();
|
table_libms2.setModel(new DefaultTableModel(dataRow_libms2, columnVector_libms2));
|
|
scrollPane_4.setViewportView(table_libms2);
|
|
//µ¥Ìåµç³ØÊýÄ¿
|
JPanel panel_221 = new JPanel();
|
panel_221.setBorder(new TitledBorder(null, "µ¥Ìåµç³ØÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_221);
|
panel_221.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_cnt_2 = new JTextField();
|
panel_221.add(tf_monvol_cnt_2);
|
tf_monvol_cnt_2.setColumns(10);
|
|
//µçоζÈÊýÄ¿
|
JPanel panel_222 = new JPanel();
|
panel_222.setBorder(new TitledBorder(null, "µçоζÈÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_222);
|
panel_222.setLayout(new BorderLayout(0, 0));
|
|
tf_montmp_cnt_2 = new JTextField();
|
panel_222.add(tf_montmp_cnt_2);
|
tf_montmp_cnt_2.setColumns(10);
|
|
//»·¾³Î¶È
|
JPanel panel_223 = new JPanel();
|
panel_223.setBorder(new TitledBorder(null, "»·¾³Î¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_223);
|
panel_223.setLayout(new BorderLayout(0, 0));
|
|
tf_envir_temp_2 = new JTextField();
|
panel_223.add(tf_envir_temp_2);
|
tf_envir_temp_2.setColumns(10);
|
|
//MOS¹ÜζÈ
|
JPanel panel_224 = new JPanel();
|
panel_224.setBorder(new TitledBorder(null, "MOS¹ÜζÈ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_224);
|
panel_224.setLayout(new BorderLayout(0, 0));
|
|
tf_mos_temp_2 = new JTextField();
|
panel_224.add(tf_mos_temp_2);
|
tf_mos_temp_2.setColumns(10);
|
|
//µç³ØµçÁ÷
|
JPanel panel_225 = new JPanel();
|
panel_225.setBorder(new TitledBorder(null, "µç³ØµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_225);
|
panel_225.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_curr_2 = new JTextField();
|
panel_225.add(tf_batt_curr_2);
|
tf_batt_curr_2.setColumns(10);
|
|
//µç³Ø×Üѹ
|
JPanel panel_226 = new JPanel();
|
panel_226.setBorder(new TitledBorder(null, "µç³Ø×Üѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_226);
|
panel_226.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_vol_2 = new JTextField();
|
panel_226.add(tf_batt_vol_2);
|
tf_batt_vol_2.setColumns(10);
|
|
//Ê£ÓàÈÝÁ¿
|
JPanel panel_227 = new JPanel();
|
panel_227.setBorder(new TitledBorder(null, "Ê£ÓàÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_227);
|
panel_227.setLayout(new BorderLayout(0, 0));
|
|
tf_rest_cap_2 = new JTextField();
|
panel_227.add(tf_rest_cap_2);
|
tf_rest_cap_2.setColumns(10);
|
|
//×ÜÈÝÁ¿
|
JPanel panel_228 = new JPanel();
|
panel_228.setBorder(new TitledBorder(null, "×ÜÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_228);
|
panel_228.setLayout(new BorderLayout(0, 0));
|
|
tf_total_cap_2 = new JTextField();
|
panel_228.add(tf_total_cap_2);
|
tf_total_cap_2.setColumns(10);
|
|
//µç³ØÑ»·´ÎÊý
|
JPanel panel_229 = new JPanel();
|
panel_229.setBorder(new TitledBorder(null, "µç³ØÑ»·´ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_229);
|
panel_229.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_cycles_2 = new JTextField();
|
panel_229.add(tf_batt_cycles_2);
|
tf_batt_cycles_2.setColumns(10);
|
|
//SOC
|
JPanel panel_230 = new JPanel();
|
panel_230.setBorder(new TitledBorder(null, "SOC", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_230);
|
panel_230.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soc_2 = new JTextField();
|
panel_230.add(tf_batt_soc_2);
|
tf_batt_soc_2.setColumns(10);
|
|
//SOH
|
JPanel panel_231 = new JPanel();
|
panel_231.setBorder(new TitledBorder(null, "SOH", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_220.add(panel_231);
|
panel_231.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soh_2 = new JTextField();
|
panel_231.add(tf_batt_soh_2);
|
tf_batt_soh_2.setColumns(10);
|
|
JPanel panel_240 = new JPanel();
|
panel_libms3.add(panel_240,BorderLayout.CENTER);
|
panel_240.setLayout(new GridLayout(0,3));
|
|
columnVector_libms3 = new Vector<String>();
|
|
bms_title = "µ¥Ìå±àºÅ";
|
columnVector_libms3.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ(V)";
|
columnVector_libms3.add(bms_title);
|
|
bms_title = "µçоζÈ(¡æ)";
|
columnVector_libms3.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ¸æ¾¯";
|
columnVector_libms3.add(bms_title);
|
|
bms_title = "µçо¸æ¾¯";
|
columnVector_libms3.add(bms_title);
|
|
dataRow_libms3 = new Vector<Vector<String>>();
|
|
JScrollPane scrollPane_5 = new JScrollPane();
|
panel_libms3.add(scrollPane_5,BorderLayout.EAST);
|
|
table_libms3 = new JTable();
|
table_libms3.setModel(new DefaultTableModel(dataRow_libms3, columnVector_libms3));
|
|
scrollPane_5.setViewportView(table_libms3);
|
|
//µ¥Ìåµç³ØÊýÄ¿
|
JPanel panel_241 = new JPanel();
|
panel_241.setBorder(new TitledBorder(null, "µ¥Ìåµç³ØÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_241);
|
panel_241.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_cnt_3 = new JTextField();
|
panel_241.add(tf_monvol_cnt_3);
|
tf_monvol_cnt_3.setColumns(10);
|
|
//µçоζÈÊýÄ¿
|
JPanel panel_242 = new JPanel();
|
panel_242.setBorder(new TitledBorder(null, "µçоζÈÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_242);
|
panel_242.setLayout(new BorderLayout(0, 0));
|
|
tf_montmp_cnt_3 = new JTextField();
|
panel_242.add(tf_montmp_cnt_3);
|
tf_montmp_cnt_3.setColumns(10);
|
|
//»·¾³Î¶È
|
JPanel panel_243 = new JPanel();
|
panel_243.setBorder(new TitledBorder(null, "»·¾³Î¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_243);
|
panel_243.setLayout(new BorderLayout(0, 0));
|
|
tf_envir_temp_3 = new JTextField();
|
panel_243.add(tf_envir_temp_3);
|
tf_envir_temp_3.setColumns(10);
|
|
//MOS¹ÜζÈ
|
JPanel panel_244 = new JPanel();
|
panel_244.setBorder(new TitledBorder(null, "MOS¹ÜζÈ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_244);
|
panel_244.setLayout(new BorderLayout(0, 0));
|
|
tf_mos_temp_3 = new JTextField();
|
panel_244.add(tf_mos_temp_3);
|
tf_mos_temp_3.setColumns(10);
|
|
//µç³ØµçÁ÷
|
JPanel panel_245 = new JPanel();
|
panel_245.setBorder(new TitledBorder(null, "µç³ØµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_245);
|
panel_245.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_curr_3 = new JTextField();
|
panel_245.add(tf_batt_curr_3);
|
tf_batt_curr_3.setColumns(10);
|
|
//µç³Ø×Üѹ
|
JPanel panel_246 = new JPanel();
|
panel_246.setBorder(new TitledBorder(null, "µç³Ø×Üѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_246);
|
panel_246.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_vol_3 = new JTextField();
|
panel_246.add(tf_batt_vol_3);
|
tf_batt_vol_3.setColumns(10);
|
|
//Ê£ÓàÈÝÁ¿
|
JPanel panel_247 = new JPanel();
|
panel_247.setBorder(new TitledBorder(null, "Ê£ÓàÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_247);
|
panel_247.setLayout(new BorderLayout(0, 0));
|
|
tf_rest_cap_3 = new JTextField();
|
panel_247.add(tf_rest_cap_3);
|
tf_rest_cap_3.setColumns(10);
|
|
//×ÜÈÝÁ¿
|
JPanel panel_248 = new JPanel();
|
panel_248.setBorder(new TitledBorder(null, "×ÜÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_248);
|
panel_248.setLayout(new BorderLayout(0, 0));
|
|
tf_total_cap_3 = new JTextField();
|
panel_248.add(tf_total_cap_3);
|
tf_total_cap_3.setColumns(10);
|
|
//µç³ØÑ»·´ÎÊý
|
JPanel panel_249 = new JPanel();
|
panel_249.setBorder(new TitledBorder(null, "µç³ØÑ»·´ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_249);
|
panel_249.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_cycles_3 = new JTextField();
|
panel_249.add(tf_batt_cycles_3);
|
tf_batt_cycles_3.setColumns(10);
|
|
//SOC
|
JPanel panel_250 = new JPanel();
|
panel_250.setBorder(new TitledBorder(null, "SOC", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_250);
|
panel_250.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soc_3 = new JTextField();
|
panel_250.add(tf_batt_soc_3);
|
tf_batt_soc_3.setColumns(10);
|
|
//SOH
|
JPanel panel_251 = new JPanel();
|
panel_251.setBorder(new TitledBorder(null, "SOH", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_240.add(panel_251);
|
panel_251.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soh_3 = new JTextField();
|
panel_251.add(tf_batt_soh_3);
|
tf_batt_soh_3.setColumns(10);
|
|
JPanel panel_260 = new JPanel();
|
panel_libms4.add(panel_260,BorderLayout.CENTER);
|
panel_260.setLayout(new GridLayout(0,3));
|
|
columnVector_libms4 = new Vector<String>();
|
|
bms_title = "µ¥Ìå±àºÅ";
|
columnVector_libms4.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ(V)";
|
columnVector_libms4.add(bms_title);
|
|
bms_title = "µçоζÈ(¡æ)";
|
columnVector_libms4.add(bms_title);
|
|
bms_title = "µ¥Ìåµçѹ¸æ¾¯";
|
columnVector_libms4.add(bms_title);
|
|
bms_title = "µçо¸æ¾¯";
|
columnVector_libms4.add(bms_title);
|
|
dataRow_libms4 = new Vector<Vector<String>>();
|
|
JScrollPane scrollPane_6 = new JScrollPane();
|
panel_libms4.add(scrollPane_6,BorderLayout.EAST);
|
|
table_libms4 = new JTable();
|
table_libms4.setModel(new DefaultTableModel(dataRow_libms4, columnVector_libms4));
|
|
scrollPane_6.setViewportView(table_libms4);
|
|
//µ¥Ìåµç³ØÊýÄ¿
|
JPanel panel_261 = new JPanel();
|
panel_261.setBorder(new TitledBorder(null, "µ¥Ìåµç³ØÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_261);
|
panel_261.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_cnt_4 = new JTextField();
|
panel_261.add(tf_monvol_cnt_4);
|
tf_monvol_cnt_4.setColumns(10);
|
|
//µçоζÈÊýÄ¿
|
JPanel panel_262 = new JPanel();
|
panel_262.setBorder(new TitledBorder(null, "µçоζÈÊýÄ¿", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_262);
|
panel_262.setLayout(new BorderLayout(0, 0));
|
|
tf_montmp_cnt_4 = new JTextField();
|
panel_262.add(tf_montmp_cnt_4);
|
tf_montmp_cnt_4.setColumns(10);
|
|
//»·¾³Î¶È
|
JPanel panel_263 = new JPanel();
|
panel_263.setBorder(new TitledBorder(null, "»·¾³Î¶È", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_263);
|
panel_263.setLayout(new BorderLayout(0, 0));
|
|
tf_envir_temp_4 = new JTextField();
|
panel_263.add(tf_envir_temp_4);
|
tf_envir_temp_4.setColumns(10);
|
|
//MOS¹ÜζÈ
|
JPanel panel_264 = new JPanel();
|
panel_264.setBorder(new TitledBorder(null, "MOS¹ÜζÈ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_264);
|
panel_264.setLayout(new BorderLayout(0, 0));
|
|
tf_mos_temp_4 = new JTextField();
|
panel_264.add(tf_mos_temp_4);
|
tf_mos_temp_4.setColumns(10);
|
|
//µç³ØµçÁ÷
|
JPanel panel_265 = new JPanel();
|
panel_265.setBorder(new TitledBorder(null, "µç³ØµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_265);
|
panel_265.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_curr_4 = new JTextField();
|
panel_265.add(tf_batt_curr_4);
|
tf_batt_curr_4.setColumns(10);
|
|
//µç³Ø×Üѹ
|
JPanel panel_266 = new JPanel();
|
panel_266.setBorder(new TitledBorder(null, "µç³Ø×Üѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_266);
|
panel_266.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_vol_4 = new JTextField();
|
panel_266.add(tf_batt_vol_4);
|
tf_batt_vol_3.setColumns(10);
|
|
//Ê£ÓàÈÝÁ¿
|
JPanel panel_267 = new JPanel();
|
panel_267.setBorder(new TitledBorder(null, "Ê£ÓàÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_267);
|
panel_267.setLayout(new BorderLayout(0, 0));
|
|
tf_rest_cap_4 = new JTextField();
|
panel_267.add(tf_rest_cap_4);
|
tf_rest_cap_4.setColumns(10);
|
|
//×ÜÈÝÁ¿
|
JPanel panel_268 = new JPanel();
|
panel_268.setBorder(new TitledBorder(null, "×ÜÈÝÁ¿(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_268);
|
panel_268.setLayout(new BorderLayout(0, 0));
|
|
tf_total_cap_4 = new JTextField();
|
panel_268.add(tf_total_cap_4);
|
tf_total_cap_4.setColumns(10);
|
|
//µç³ØÑ»·´ÎÊý
|
JPanel panel_269 = new JPanel();
|
panel_269.setBorder(new TitledBorder(null, "µç³ØÑ»·´ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_269);
|
panel_269.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_cycles_4 = new JTextField();
|
panel_269.add(tf_batt_cycles_4);
|
tf_batt_cycles_4.setColumns(10);
|
|
//SOC
|
JPanel panel_270 = new JPanel();
|
panel_270.setBorder(new TitledBorder(null, "SOC", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_270);
|
panel_270.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soc_4 = new JTextField();
|
panel_270.add(tf_batt_soc_4);
|
tf_batt_soc_4.setColumns(10);
|
|
//SOH
|
JPanel panel_271 = new JPanel();
|
panel_271.setBorder(new TitledBorder(null, "SOH", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_260.add(panel_271);
|
panel_271.setLayout(new BorderLayout(0, 0));
|
|
tf_batt_soh_4 = new JTextField();
|
panel_271.add(tf_batt_soh_4);
|
tf_batt_soh_4.setColumns(10);
|
|
/********************************************************************/
|
/*********************** µçÔ´Ä£¿éÒ£²â *********************************************/
|
panel_powermodel.setLayout(new GridLayout(0, 4));
|
|
JPanel panel_300 = new JPanel();
|
panel_300.setBorder(new TitledBorder(null, "µçÔ´Ä£¿é1", TitledBorder.LEADING, TitledBorder.TOP, new Font("ËÎÌå", Font.BOLD, 18), null));
|
panel_powermodel.add(panel_300);
|
panel_300.setLayout(new GridLayout(0,2));
|
|
JPanel panel_301 = new JPanel();
|
panel_301.setBorder(new TitledBorder(null, "µçÔ´Ä£¿é2", TitledBorder.LEADING, TitledBorder.TOP, new Font("ËÎÌå", Font.BOLD, 18), null));
|
panel_powermodel.add(panel_301);
|
panel_301.setLayout(new GridLayout(0,2));
|
|
JPanel panel_302 = new JPanel();
|
panel_302.setBorder(new TitledBorder(null, "µçÔ´Ä£¿é3", TitledBorder.LEADING, TitledBorder.TOP, new Font("ËÎÌå", Font.BOLD, 18), null));
|
panel_powermodel.add(panel_302);
|
panel_302.setLayout(new GridLayout(0,2));
|
|
JPanel panel_303 = new JPanel();
|
panel_303.setBorder(new TitledBorder(null, "µçÔ´Ä£¿é4", TitledBorder.LEADING, TitledBorder.TOP, new Font("ËÎÌå", Font.BOLD, 18), null));
|
panel_powermodel.add(panel_303);
|
panel_303.setLayout(new GridLayout(0,2));
|
|
//Ó²¼þ°æ±¾
|
JPanel panel_310 = new JPanel();
|
panel_310.setBorder(new TitledBorder(null, "Ó²¼þ°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_310);
|
panel_310.setLayout(new BorderLayout(0, 0));
|
|
tf_hardware_ver1 = new JTextField();
|
panel_310.add(tf_hardware_ver1);
|
tf_hardware_ver1.setColumns(10);
|
|
//DCDC°æ±¾
|
JPanel panel_311 = new JPanel();
|
panel_311.setBorder(new TitledBorder(null, "DCDC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_311);
|
panel_311.setLayout(new BorderLayout(0, 0));
|
|
tf_dcdc_ver1 = new JTextField();
|
panel_311.add(tf_dcdc_ver1);
|
tf_dcdc_ver1.setColumns(10);
|
|
//PFC°æ±¾
|
JPanel panel_312 = new JPanel();
|
panel_312.setBorder(new TitledBorder(null, "PFC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_312);
|
panel_312.setLayout(new BorderLayout(0, 0));
|
|
tf_pfc_ver1 = new JTextField();
|
panel_312.add(tf_pfc_ver1);
|
tf_pfc_ver1.setColumns(10);
|
|
//Êä³öµçѹ
|
JPanel panel_313 = new JPanel();
|
panel_313.setBorder(new TitledBorder(null, "Êä³öµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_313);
|
panel_313.setLayout(new BorderLayout(0, 0));
|
|
tf_outputvol1 = new JTextField();
|
panel_313.add(tf_outputvol1);
|
tf_outputvol1.setColumns(10);
|
|
//ʵ¼ÊÊä³öÏÞÁ÷µã
|
JPanel panel_314 = new JPanel();
|
panel_314.setBorder(new TitledBorder(null, "ʵ¼ÊÊä³öÏÞÁ÷µã", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_314);
|
panel_314.setLayout(new BorderLayout(0, 0));
|
|
tf_outputlimitcurr1 = new JTextField();
|
panel_314.add(tf_outputlimitcurr1);
|
tf_outputlimitcurr1.setColumns(10);
|
|
//ÊäÈëµçѹ
|
JPanel panel_315 = new JPanel();
|
panel_315.setBorder(new TitledBorder(null, "ÊäÈëµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_315);
|
panel_315.setLayout(new BorderLayout(0, 0));
|
|
tf_inputvol1 = new JTextField();
|
panel_315.add(tf_inputvol1);
|
tf_inputvol1.setColumns(10);
|
|
//ÄÚ²¿Î¶È
|
JPanel panel_316 = new JPanel();
|
panel_316.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_316);
|
panel_316.setLayout(new BorderLayout(0, 0));
|
|
tf_inertemp1 = new JTextField();
|
panel_316.add(tf_inertemp1);
|
tf_inertemp1.setColumns(10);
|
|
//½ø·ç¿Ú»·¾³Î¶È
|
JPanel panel_317 = new JPanel();
|
panel_317.setBorder(new TitledBorder(null, "½ø·ç¿Ú»·¾³Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_317);
|
panel_317.setLayout(new BorderLayout(0, 0));
|
|
tf_envirtemp1 = new JTextField();
|
panel_317.add(tf_envirtemp1);
|
tf_envirtemp1.setColumns(10);
|
|
//Êä³öµçÁ÷
|
JPanel panel_318 = new JPanel();
|
panel_318.setBorder(new TitledBorder(null, "Êä³öµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_318);
|
panel_318.setLayout(new BorderLayout(0, 0));
|
|
tf_outputcurr1 = new JTextField();
|
panel_318.add(tf_outputcurr1);
|
tf_outputcurr1.setColumns(10);
|
|
//¸æ¾¯×´Ì¬1
|
JPanel panel_319 = new JPanel();
|
panel_319.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬1", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_319);
|
panel_319.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate1_1 = new JTextField();
|
panel_319.add(tf_almstate1_1);
|
tf_almstate1_1.setColumns(10);
|
|
//¸æ¾¯×´Ì¬2
|
JPanel panel_320 = new JPanel();
|
panel_320.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬2", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_320);
|
panel_320.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate2_1 = new JTextField();
|
panel_320.add(tf_almstate2_1);
|
tf_almstate2_1.setColumns(10);
|
|
//Ä£¿é¶î¶¨µçÁ÷
|
JPanel panel_321 = new JPanel();
|
panel_321.setBorder(new TitledBorder(null, "Ä£¿é¶î¶¨µçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_321);
|
panel_321.setLayout(new BorderLayout(0, 0));
|
|
tf_ratedcurr_1 = new JTextField();
|
panel_321.add(tf_ratedcurr_1);
|
tf_ratedcurr_1.setColumns(10);
|
|
|
//ͨÐÅÒì³£±êʶ
|
JPanel panel_322 = new JPanel();
|
panel_322.setBorder(new TitledBorder(null, "ͨÐÅÒì³£±êʶ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_300.add(panel_322);
|
panel_322.setLayout(new BorderLayout(0, 0));
|
|
tf_commst_1 = new JTextField();
|
panel_322.add(tf_commst_1);
|
tf_commst_1.setColumns(10);
|
|
//Ó²¼þ°æ±¾
|
JPanel panel_330 = new JPanel();
|
panel_330.setBorder(new TitledBorder(null, "Ó²¼þ°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_330);
|
panel_330.setLayout(new BorderLayout(0, 0));
|
|
tf_hardware_ver2 = new JTextField();
|
panel_330.add(tf_hardware_ver2);
|
tf_hardware_ver2.setColumns(10);
|
|
//DCDC°æ±¾
|
JPanel panel_331 = new JPanel();
|
panel_331.setBorder(new TitledBorder(null, "DCDC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_331);
|
panel_331.setLayout(new BorderLayout(0, 0));
|
|
tf_dcdc_ver2 = new JTextField();
|
panel_331.add(tf_dcdc_ver2);
|
tf_dcdc_ver2.setColumns(10);
|
|
//PFC°æ±¾
|
JPanel panel_332 = new JPanel();
|
panel_332.setBorder(new TitledBorder(null, "PFC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_332);
|
panel_332.setLayout(new BorderLayout(0, 0));
|
|
tf_pfc_ver2 = new JTextField();
|
panel_332.add(tf_pfc_ver2);
|
tf_pfc_ver2.setColumns(10);
|
|
//Êä³öµçѹ
|
JPanel panel_333 = new JPanel();
|
panel_333.setBorder(new TitledBorder(null, "Êä³öµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_333);
|
panel_333.setLayout(new BorderLayout(0, 0));
|
|
tf_outputvol2 = new JTextField();
|
panel_333.add(tf_outputvol2);
|
tf_outputvol2.setColumns(10);
|
|
//ʵ¼ÊÊä³öÏÞÁ÷µã
|
JPanel panel_334 = new JPanel();
|
panel_334.setBorder(new TitledBorder(null, "ʵ¼ÊÊä³öÏÞÁ÷µã", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_334);
|
panel_334.setLayout(new BorderLayout(0, 0));
|
|
tf_outputlimitcurr2 = new JTextField();
|
panel_334.add(tf_outputlimitcurr2);
|
tf_outputlimitcurr2.setColumns(10);
|
|
//ÊäÈëµçѹ
|
JPanel panel_335 = new JPanel();
|
panel_335.setBorder(new TitledBorder(null, "ÊäÈëµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_335);
|
panel_335.setLayout(new BorderLayout(0, 0));
|
|
tf_inputvol2 = new JTextField();
|
panel_335.add(tf_inputvol2);
|
tf_inputvol2.setColumns(10);
|
|
//ÄÚ²¿Î¶È
|
JPanel panel_336 = new JPanel();
|
panel_336.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_336);
|
panel_336.setLayout(new BorderLayout(0, 0));
|
|
tf_inertemp2 = new JTextField();
|
panel_336.add(tf_inertemp2);
|
tf_inertemp2.setColumns(10);
|
|
//½ø·ç¿Ú»·¾³Î¶È
|
JPanel panel_337 = new JPanel();
|
panel_337.setBorder(new TitledBorder(null, "½ø·ç¿Ú»·¾³Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_337);
|
panel_337.setLayout(new BorderLayout(0, 0));
|
|
tf_envirtemp2 = new JTextField();
|
panel_337.add(tf_envirtemp2);
|
tf_envirtemp2.setColumns(10);
|
|
//Êä³öµçÁ÷
|
JPanel panel_338 = new JPanel();
|
panel_338.setBorder(new TitledBorder(null, "Êä³öµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_338);
|
panel_338.setLayout(new BorderLayout(0, 0));
|
|
tf_outputcurr2 = new JTextField();
|
panel_338.add(tf_outputcurr2);
|
tf_outputcurr2.setColumns(10);
|
|
//¸æ¾¯×´Ì¬1
|
JPanel panel_339 = new JPanel();
|
panel_339.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬1", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_339);
|
panel_339.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate1_2 = new JTextField();
|
panel_339.add(tf_almstate1_2);
|
tf_almstate1_2.setColumns(10);
|
|
//¸æ¾¯×´Ì¬2
|
JPanel panel_340 = new JPanel();
|
panel_340.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬2", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_340);
|
panel_340.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate2_2 = new JTextField();
|
panel_340.add(tf_almstate2_2);
|
tf_almstate2_2.setColumns(10);
|
|
//Ä£¿é¶î¶¨µçÁ÷
|
JPanel panel_341 = new JPanel();
|
panel_341.setBorder(new TitledBorder(null, "Ä£¿é¶î¶¨µçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_341);
|
panel_341.setLayout(new BorderLayout(0, 0));
|
|
tf_ratedcurr_2 = new JTextField();
|
panel_341.add(tf_ratedcurr_2);
|
tf_ratedcurr_2.setColumns(10);
|
|
|
//ͨÐÅÒì³£±êʶ
|
JPanel panel_342 = new JPanel();
|
panel_342.setBorder(new TitledBorder(null, "ͨÐÅÒì³£±êʶ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_301.add(panel_342);
|
panel_342.setLayout(new BorderLayout(0, 0));
|
|
tf_commst_2 = new JTextField();
|
panel_342.add(tf_commst_2);
|
tf_commst_2.setColumns(10);
|
|
|
//Ó²¼þ°æ±¾
|
JPanel panel_350 = new JPanel();
|
panel_350.setBorder(new TitledBorder(null, "Ó²¼þ°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_350);
|
panel_350.setLayout(new BorderLayout(0, 0));
|
|
tf_hardware_ver3 = new JTextField();
|
panel_350.add(tf_hardware_ver3);
|
tf_hardware_ver3.setColumns(10);
|
|
//DCDC°æ±¾
|
JPanel panel_351 = new JPanel();
|
panel_351.setBorder(new TitledBorder(null, "DCDC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_351);
|
panel_351.setLayout(new BorderLayout(0, 0));
|
|
tf_dcdc_ver3 = new JTextField();
|
panel_351.add(tf_dcdc_ver3);
|
tf_dcdc_ver3.setColumns(10);
|
|
//PFC°æ±¾
|
JPanel panel_352 = new JPanel();
|
panel_352.setBorder(new TitledBorder(null, "PFC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_352);
|
panel_352.setLayout(new BorderLayout(0, 0));
|
|
tf_pfc_ver3 = new JTextField();
|
panel_352.add(tf_pfc_ver3);
|
tf_pfc_ver3.setColumns(10);
|
|
//Êä³öµçѹ
|
JPanel panel_353 = new JPanel();
|
panel_353.setBorder(new TitledBorder(null, "Êä³öµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_353);
|
panel_353.setLayout(new BorderLayout(0, 0));
|
|
tf_outputvol3 = new JTextField();
|
panel_353.add(tf_outputvol3);
|
tf_outputvol3.setColumns(10);
|
|
//ʵ¼ÊÊä³öÏÞÁ÷µã
|
JPanel panel_354 = new JPanel();
|
panel_354.setBorder(new TitledBorder(null, "ʵ¼ÊÊä³öÏÞÁ÷µã", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_354);
|
panel_354.setLayout(new BorderLayout(0, 0));
|
|
tf_outputlimitcurr3 = new JTextField();
|
panel_354.add(tf_outputlimitcurr3);
|
tf_outputlimitcurr3.setColumns(10);
|
|
//ÊäÈëµçѹ
|
JPanel panel_355 = new JPanel();
|
panel_355.setBorder(new TitledBorder(null, "ÊäÈëµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_355);
|
panel_355.setLayout(new BorderLayout(0, 0));
|
|
tf_inputvol3 = new JTextField();
|
panel_355.add(tf_inputvol3);
|
tf_inputvol3.setColumns(10);
|
|
//ÄÚ²¿Î¶È
|
JPanel panel_356 = new JPanel();
|
panel_356.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_356);
|
panel_356.setLayout(new BorderLayout(0, 0));
|
|
tf_inertemp3 = new JTextField();
|
panel_356.add(tf_inertemp3);
|
tf_inertemp3.setColumns(10);
|
|
//½ø·ç¿Ú»·¾³Î¶È
|
JPanel panel_357 = new JPanel();
|
panel_357.setBorder(new TitledBorder(null, "½ø·ç¿Ú»·¾³Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_357);
|
panel_357.setLayout(new BorderLayout(0, 0));
|
|
tf_envirtemp3 = new JTextField();
|
panel_357.add(tf_envirtemp3);
|
tf_envirtemp3.setColumns(10);
|
|
//Êä³öµçÁ÷
|
JPanel panel_358 = new JPanel();
|
panel_358.setBorder(new TitledBorder(null, "Êä³öµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_358);
|
panel_358.setLayout(new BorderLayout(0, 0));
|
|
tf_outputcurr3 = new JTextField();
|
panel_358.add(tf_outputcurr3);
|
tf_outputcurr3.setColumns(10);
|
|
//¸æ¾¯×´Ì¬1
|
JPanel panel_359 = new JPanel();
|
panel_359.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬1", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_359);
|
panel_359.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate1_3 = new JTextField();
|
panel_359.add(tf_almstate1_3);
|
tf_almstate1_3.setColumns(10);
|
|
//¸æ¾¯×´Ì¬2
|
JPanel panel_360 = new JPanel();
|
panel_360.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬2", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_360);
|
panel_360.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate2_3 = new JTextField();
|
panel_360.add(tf_almstate2_3);
|
tf_almstate2_3.setColumns(10);
|
|
//Ä£¿é¶î¶¨µçÁ÷
|
JPanel panel_361 = new JPanel();
|
panel_361.setBorder(new TitledBorder(null, "Ä£¿é¶î¶¨µçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_361);
|
panel_361.setLayout(new BorderLayout(0, 0));
|
|
tf_ratedcurr_3 = new JTextField();
|
panel_361.add(tf_ratedcurr_3);
|
tf_ratedcurr_3.setColumns(10);
|
|
|
//ͨÐÅÒì³£±êʶ
|
JPanel panel_362 = new JPanel();
|
panel_362.setBorder(new TitledBorder(null, "ͨÐÅÒì³£±êʶ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_302.add(panel_362);
|
panel_362.setLayout(new BorderLayout(0, 0));
|
|
tf_commst_3 = new JTextField();
|
panel_362.add(tf_commst_3);
|
tf_commst_3.setColumns(10);
|
|
//Ó²¼þ°æ±¾
|
JPanel panel_370 = new JPanel();
|
panel_370.setBorder(new TitledBorder(null, "Ó²¼þ°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_370);
|
panel_370.setLayout(new BorderLayout(0, 0));
|
|
tf_hardware_ver4 = new JTextField();
|
panel_370.add(tf_hardware_ver4);
|
tf_hardware_ver4.setColumns(10);
|
|
//DCDC°æ±¾
|
JPanel panel_371 = new JPanel();
|
panel_371.setBorder(new TitledBorder(null, "DCDC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_371);
|
panel_371.setLayout(new BorderLayout(0, 0));
|
|
tf_dcdc_ver4 = new JTextField();
|
panel_371.add(tf_dcdc_ver4);
|
tf_dcdc_ver4.setColumns(10);
|
|
//PFC°æ±¾
|
JPanel panel_372 = new JPanel();
|
panel_372.setBorder(new TitledBorder(null, "PFC°æ±¾", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_372);
|
panel_372.setLayout(new BorderLayout(0, 0));
|
|
tf_pfc_ver4 = new JTextField();
|
panel_372.add(tf_pfc_ver4);
|
tf_pfc_ver4.setColumns(10);
|
|
//Êä³öµçѹ
|
JPanel panel_373 = new JPanel();
|
panel_373.setBorder(new TitledBorder(null, "Êä³öµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_373);
|
panel_373.setLayout(new BorderLayout(0, 0));
|
|
tf_outputvol4 = new JTextField();
|
panel_373.add(tf_outputvol4);
|
tf_outputvol4.setColumns(10);
|
|
//ʵ¼ÊÊä³öÏÞÁ÷µã
|
JPanel panel_374 = new JPanel();
|
panel_374.setBorder(new TitledBorder(null, "ʵ¼ÊÊä³öÏÞÁ÷µã", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_374);
|
panel_374.setLayout(new BorderLayout(0, 0));
|
|
tf_outputlimitcurr4 = new JTextField();
|
panel_374.add(tf_outputlimitcurr4);
|
tf_outputlimitcurr4.setColumns(10);
|
|
//ÊäÈëµçѹ
|
JPanel panel_375 = new JPanel();
|
panel_375.setBorder(new TitledBorder(null, "ÊäÈëµçѹ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_375);
|
panel_375.setLayout(new BorderLayout(0, 0));
|
|
tf_inputvol4 = new JTextField();
|
panel_375.add(tf_inputvol4);
|
tf_inputvol4.setColumns(10);
|
|
//ÄÚ²¿Î¶È
|
JPanel panel_376 = new JPanel();
|
panel_376.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_376);
|
panel_376.setLayout(new BorderLayout(0, 0));
|
|
tf_inertemp4 = new JTextField();
|
panel_376.add(tf_inertemp4);
|
tf_inertemp4.setColumns(10);
|
|
//½ø·ç¿Ú»·¾³Î¶È
|
JPanel panel_377 = new JPanel();
|
panel_377.setBorder(new TitledBorder(null, "½ø·ç¿Ú»·¾³Î¶È(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_377);
|
panel_377.setLayout(new BorderLayout(0, 0));
|
|
tf_envirtemp4 = new JTextField();
|
panel_377.add(tf_envirtemp4);
|
tf_envirtemp4.setColumns(10);
|
|
//Êä³öµçÁ÷
|
JPanel panel_378 = new JPanel();
|
panel_378.setBorder(new TitledBorder(null, "Êä³öµçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_378);
|
panel_378.setLayout(new BorderLayout(0, 0));
|
|
tf_outputcurr4 = new JTextField();
|
panel_378.add(tf_outputcurr4);
|
tf_outputcurr4.setColumns(10);
|
|
//¸æ¾¯×´Ì¬1
|
JPanel panel_379 = new JPanel();
|
panel_379.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬1", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_379);
|
panel_379.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate1_4 = new JTextField();
|
panel_379.add(tf_almstate1_4);
|
tf_almstate1_4.setColumns(10);
|
|
//¸æ¾¯×´Ì¬2
|
JPanel panel_380 = new JPanel();
|
panel_380.setBorder(new TitledBorder(null, "¸æ¾¯×´Ì¬2", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_380);
|
panel_380.setLayout(new BorderLayout(0, 0));
|
|
tf_almstate2_4 = new JTextField();
|
panel_380.add(tf_almstate2_4);
|
tf_almstate2_4.setColumns(10);
|
|
//Ä£¿é¶î¶¨µçÁ÷
|
JPanel panel_381 = new JPanel();
|
panel_381.setBorder(new TitledBorder(null, "Ä£¿é¶î¶¨µçÁ÷(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_381);
|
panel_381.setLayout(new BorderLayout(0, 0));
|
|
tf_ratedcurr_4 = new JTextField();
|
panel_381.add(tf_ratedcurr_4);
|
tf_ratedcurr_4.setColumns(10);
|
|
|
//ͨÐÅÒì³£±êʶ
|
JPanel panel_382 = new JPanel();
|
panel_382.setBorder(new TitledBorder(null, "ͨÐÅÒì³£±êʶ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_303.add(panel_382);
|
panel_382.setLayout(new BorderLayout(0, 0));
|
|
tf_commst_4 = new JTextField();
|
panel_382.add(tf_commst_4);
|
tf_commst_4.setColumns(10);
|
/********************************************************************/
|
/********************* µçÔ´¸æ¾¯ ***********************************************/
|
panel_poweralm.setLayout(new BorderLayout());
|
|
columnVector_alm = new Vector<String>();
|
|
bms_title = "񅧏";
|
columnVector_alm.add(bms_title);
|
|
bms_title = "¸æ¾¯Ãû³Æ";
|
columnVector_alm.add(bms_title);
|
|
bms_title = "¸æ¾¯×´Ì¬";
|
columnVector_alm.add(bms_title);
|
|
dataRow_alm = new Vector<Vector<String>>();
|
|
JScrollPane scrollPane_7 = new JScrollPane();
|
panel_poweralm.add(scrollPane_7,BorderLayout.CENTER);
|
|
table_alm = new JTable();
|
table_alm.setModel(new DefaultTableModel(dataRow_alm, columnVector_alm));
|
|
scrollPane_7.setViewportView(table_alm);
|
|
//¸æ¾¯²ÎÊý
|
JPanel panel_399 = new JPanel();
|
panel_poweralm.add(panel_399,BorderLayout.EAST);
|
panel_399.setLayout(new BorderLayout());
|
|
//¸æ¾¯²ÎÊý
|
JPanel panel_400 = new JPanel();
|
panel_400.setBorder(new TitledBorder(null, "¸æ¾¯²ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, new Font("ËÎÌå", Font.PLAIN, 15), null));
|
panel_399.add(panel_400,BorderLayout.CENTER);
|
panel_400.setLayout(new GridLayout(0,2));
|
|
|
|
//½»Á÷ÊäÈë¸ßãÐÖµ
|
JPanel panel_401 = new JPanel();
|
panel_401.setBorder(new TitledBorder(null, "½»Á÷ÊäÈë¸ßãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_401);
|
panel_401.setLayout(new BorderLayout(0, 0));
|
|
tf_acin_high_limit = new JTextField();
|
panel_401.add(tf_acin_high_limit);
|
tf_acin_high_limit.setColumns(10);
|
|
//½»Á÷ÊäÈëµÍãÐÖµ
|
JPanel panel_402 = new JPanel();
|
panel_402.setBorder(new TitledBorder(null, "½»Á÷ÊäÈëµÍãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_402);
|
panel_402.setLayout(new BorderLayout(0, 0));
|
|
tf_acin_low_limit = new JTextField();
|
panel_402.add(tf_acin_low_limit);
|
tf_acin_low_limit.setColumns(10);
|
|
//×é¶Ëµçѹ¸ßãÐÖµ
|
JPanel panel_403 = new JPanel();
|
panel_403.setBorder(new TitledBorder(null, "×é¶Ëµçѹ¸ßãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_403);
|
panel_403.setLayout(new BorderLayout(0, 0));
|
|
tf_groupvol_high_limit = new JTextField();
|
panel_403.add(tf_groupvol_high_limit);
|
tf_groupvol_high_limit.setColumns(10);
|
|
//×é¶ËµçѹµÍãÐÖµ
|
JPanel panel_404 = new JPanel();
|
panel_404.setBorder(new TitledBorder(null, "×é¶ËµçѹµÍãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_404);
|
panel_404.setLayout(new BorderLayout(0, 0));
|
|
tf_groupvol_low_limit = new JTextField();
|
panel_404.add(tf_groupvol_low_limit);
|
tf_groupvol_low_limit.setColumns(10);
|
|
//µ¥Ìåµçѹ¸ßãÐÖµ
|
JPanel panel_405 = new JPanel();
|
panel_405.setBorder(new TitledBorder(null, "µ¥Ìåµçѹ¸ßãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_405);
|
panel_405.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_high_limit = new JTextField();
|
panel_405.add(tf_monvol_high_limit);
|
tf_monvol_high_limit.setColumns(10);
|
|
//µ¥Ìåµçѹ¸ßãÐÖµ
|
JPanel panel_406 = new JPanel();
|
panel_406.setBorder(new TitledBorder(null, "µ¥ÌåµçѹµÍãÐÖµ(V)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_406);
|
panel_406.setLayout(new BorderLayout(0, 0));
|
|
tf_monvol_low_limit = new JTextField();
|
panel_406.add(tf_monvol_low_limit);
|
tf_monvol_low_limit.setColumns(10);
|
|
//·ÅµçµçÁ÷´óãÐÖµ
|
JPanel panel_407 = new JPanel();
|
panel_407.setBorder(new TitledBorder(null, "·ÅµçµçÁ÷´óãÐÖµ(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_407);
|
panel_407.setLayout(new BorderLayout(0, 0));
|
|
tf_discurr_high_limit = new JTextField();
|
panel_407.add(tf_discurr_high_limit);
|
tf_discurr_high_limit.setColumns(10);
|
|
//³äµçµçÁ÷´óãÐÖµ
|
JPanel panel_408 = new JPanel();
|
panel_408.setBorder(new TitledBorder(null, "³äµçµçÁ÷´óãÐÖµ(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_408);
|
panel_408.setLayout(new BorderLayout(0, 0));
|
|
tf_chrcurr_high_limit = new JTextField();
|
panel_408.add(tf_chrcurr_high_limit);
|
tf_chrcurr_high_limit.setColumns(10);
|
|
//É豸ÄÚ²¿Î¶ȸßãÐÖµ
|
JPanel panel_409 = new JPanel();
|
panel_409.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶ȸßãÐÖµ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_409);
|
panel_409.setLayout(new BorderLayout(0, 0));
|
|
tf_devtemp_high_limit = new JTextField();
|
panel_409.add(tf_devtemp_high_limit);
|
tf_devtemp_high_limit.setColumns(10);
|
|
//É豸ÄÚ²¿Î¶ȵÍãÐÖµ
|
JPanel panel_410 = new JPanel();
|
panel_410.setBorder(new TitledBorder(null, "ÄÚ²¿Î¶ȵÍãÐÖµ(¡æ)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_410);
|
panel_410.setLayout(new BorderLayout(0, 0));
|
|
tf_devtemp_low_limit = new JTextField();
|
panel_410.add(tf_devtemp_low_limit);
|
tf_devtemp_low_limit.setColumns(10);
|
|
//Ö±Á÷Êä³öµçÁ÷´óãÐÖµ
|
JPanel panel_411 = new JPanel();
|
panel_411.setBorder(new TitledBorder(null, "Ö±Á÷Êä³öµçÁ÷´óãÐÖµ(A)", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_400.add(panel_411);
|
panel_411.setLayout(new BorderLayout(0, 0));
|
|
tf_dcoutcurr_high_limit = new JTextField();
|
panel_411.add(tf_dcoutcurr_high_limit);
|
tf_dcoutcurr_high_limit.setColumns(10);
|
|
|
|
//¿ØÖƲÎÊý
|
JPanel panel_412 = new JPanel();
|
panel_399.add(panel_412,BorderLayout.SOUTH);
|
panel_412.setLayout(new GridLayout(0,1));
|
|
//²Ù×÷
|
JPanel panel_413 = new JPanel();
|
panel_413.setBorder(new TitledBorder(null, "²Ù×÷", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_412.add(panel_413);
|
panel_413.setLayout(new GridLayout(0, 2));
|
|
//¶ÁÈ¡²ÎÊý
|
btn_almparam_read = new JButton("¶ÁÈ¡²ÎÊý");
|
btn_almparam_read.setEnabled(false);
|
btn_almparam_read.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
//¶ÁÈ¡¸æ¾¯²ÎÊý
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_AlmParam_RegAddr_Start, ByteBuffer.allocate(0));
|
}
|
});
|
btn_almparam_read.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_413.add(btn_almparam_read);
|
|
//ÉèÖòÎÊý
|
btn_almparam_write = new JButton("ÉèÖòÎÊý");
|
btn_almparam_write.setEnabled(false);
|
btn_almparam_write.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_AlmParam tmp_param = new Power_AlmParam();
|
try {
|
tmp_param.acin_vol_high = Float.parseFloat(tf_acin_high_limit.getText()); //2400 ½»Á÷ÊäÈë¸ßãÐÖµ 0.1V
|
tmp_param.acin_vol_low = Float.parseFloat(tf_acin_low_limit.getText()); //2401 ½»Á÷ÊäÈëµÍãÐÖµ 0.1V
|
tmp_param.groupvol_high = Float.parseFloat(tf_groupvol_high_limit.getText()); //2402 ×é¶Ëµçѹ¸ßãÐÖµ 0.1V
|
tmp_param.groupvol_low = Float.parseFloat(tf_groupvol_low_limit.getText()); //2403 ×é¶ËµçѹµÍãÐÖµ 0.1V
|
tmp_param.monvol_high = Float.parseFloat(tf_monvol_high_limit.getText()); //2404 µ¥Ìåµçѹ¸ßãÐÖµ 0.001V
|
tmp_param.monvol_low = Float.parseFloat(tf_monvol_low_limit.getText()); //2405 µ¥ÌåµçѹµÍãÐÖµ 0.001V
|
tmp_param.discurr_high = Float.parseFloat(tf_discurr_high_limit.getText()); //2406 ·ÅµçµçÁ÷´óãÐÖµ A
|
tmp_param.chrcurr_high = Float.parseFloat(tf_chrcurr_high_limit.getText()); //2407 ³äµçµçÁ÷´óãÐÖµ A
|
tmp_param.dcoutputcurr_high = Float.parseFloat(tf_dcoutcurr_high_limit.getText()); //2408 Ö±Á÷Êä³öµçÁ÷´óãÐÖµ A
|
tmp_param.dev_temp_high = Float.parseFloat(tf_devtemp_high_limit.getText()); //2409 É豸ÄÚ²¿Î¶ȸßãÐÖµ 0.1¡æ
|
tmp_param.dev_temp_low = Float.parseFloat(tf_devtemp_low_limit.getText()); //2410 É豸ÄÚ²¿Î¶ȵÍãÐÖµ 0.1¡æ
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_AlmParam_RegAddr_Start, tmp_param.getByteBuffer());
|
} catch (NumberFormatException e1) {
|
Toolkit.getDefaultToolkit().beep();
|
JOptionPane.showMessageDialog(tabbedPane, "ÇëÊäÈëºÏ·¨µÄ²ÎÊý!");
|
} finally {
|
tmp_param = null;
|
}
|
}
|
});
|
btn_almparam_write.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_413.add(btn_almparam_write);
|
|
|
//²Ù×÷½á¹ûÐÅÏ¢
|
JPanel panel_414 = new JPanel();
|
panel_414.setBorder(new TitledBorder(null, "²Ù×÷½á¹ûÐÅÏ¢", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_412.add(panel_414);
|
panel_414.setLayout(new BorderLayout(0, 0));
|
|
tf_alm_param_res = new JTextField();
|
panel_414.add(tf_alm_param_res);
|
tf_alm_param_res.setColumns(10);
|
|
/********************************************************************/
|
/*********************** µçÔ´²ÎÊý *********************************************/
|
panel_powerparam.setLayout(new BorderLayout());
|
|
JPanel panel_500 = new JPanel();
|
|
panel_powerparam.add(panel_500,BorderLayout.CENTER);
|
|
panel_500.setLayout(new GridLayout(0,3));
|
|
JPanel panel_580 = new JPanel();
|
panel_580.setLayout(new BorderLayout());
|
panel_500.add(panel_580);
|
|
JPanel panel_502 = new JPanel();
|
panel_502.setBorder(new TitledBorder(null, "ϵͳ²ÎÊý", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_580.add(panel_502,BorderLayout.CENTER);
|
panel_502.setLayout(new GridLayout(0,1,10,10));
|
|
|
JPanel panel_503 = new JPanel();
|
panel_502.add(panel_503);
|
panel_503.setLayout(new BorderLayout());
|
|
JLabel jl_devcommaddr = new JLabel("É豸ͨÐŵØÖ·£º ");
|
panel_503.add(jl_devcommaddr,BorderLayout.WEST);
|
|
tf_devcommaddr = new JTextField();
|
panel_503.add(tf_devcommaddr,BorderLayout.CENTER);
|
tf_devcommaddr.setColumns(10);
|
|
JPanel panel_504 = new JPanel();
|
panel_502.add(panel_504);
|
panel_504.setLayout(new BorderLayout());
|
|
JLabel jl_libmscount = new JLabel("ï®µç³Ø°ü¸öÊý£º ");
|
panel_504.add(jl_libmscount,BorderLayout.WEST);
|
|
tf_libmscount = new JTextField();
|
panel_504.add(tf_libmscount,BorderLayout.CENTER);
|
tf_libmscount.setColumns(10);
|
|
|
JPanel panel_505 = new JPanel();
|
panel_502.add(panel_505);
|
panel_505.setLayout(new BorderLayout());
|
|
JLabel jl_modelcount = new JLabel("µçÔ´Ä£¿é¸öÊý£º ");
|
panel_505.add(jl_modelcount,BorderLayout.WEST);
|
|
tf_modelcount = new JTextField();
|
panel_505.add(tf_modelcount,BorderLayout.CENTER);
|
tf_modelcount.setColumns(10);
|
|
JPanel panel_506 = new JPanel();
|
panel_502.add(panel_506);
|
panel_506.setLayout(new BorderLayout());
|
|
JLabel jl_powerdownvol = new JLabel("µç³ØÏµçµçѹ£º ");
|
panel_506.add(jl_powerdownvol,BorderLayout.WEST);
|
|
tf_powerdownvol = new JTextField();
|
panel_506.add(tf_powerdownvol,BorderLayout.CENTER);
|
tf_powerdownvol.setColumns(10);
|
|
JPanel panel_507 = new JPanel();
|
panel_502.add(panel_507);
|
panel_507.setLayout(new BorderLayout());
|
|
JLabel jl_backtime = new JLabel("Òº¾§ÆÁ±³¹âʱ¼ä£º");
|
panel_507.add(jl_backtime,BorderLayout.WEST);
|
|
tf_backtime = new JTextField();
|
panel_507.add(tf_backtime,BorderLayout.CENTER);
|
tf_backtime.setColumns(10);
|
|
JPanel panel_560 = new JPanel();
|
panel_502.add(panel_560);
|
panel_560.setLayout(new BorderLayout());
|
|
JLabel jl_charcurr_limit = new JLabel("³äµçÏÞÁ÷Öµ£º ");
|
panel_560.add(jl_charcurr_limit,BorderLayout.WEST);
|
|
tf_charcurr_limit = new JTextField();
|
panel_560.add(tf_charcurr_limit,BorderLayout.CENTER);
|
tf_charcurr_limit.setColumns(10);
|
|
JPanel panel_561 = new JPanel();
|
panel_502.add(panel_561);
|
panel_561.setLayout(new BorderLayout());
|
|
JLabel jl_backcntrol_en = new JLabel("±¸µç¿ØÖÆÊ¹ÄÜ£º ");
|
panel_561.add(jl_backcntrol_en,BorderLayout.WEST);
|
|
jc_backcntrol_en = new JComboBox<>();
|
jc_backcntrol_en.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ", "ÆôÓÃ"}));
|
panel_561.add(jc_backcntrol_en,BorderLayout.CENTER);
|
|
JPanel panel_508 = new JPanel();
|
panel_502.add(panel_508);
|
panel_508.setLayout(new GridLayout(1,2,5,5));
|
|
//¶ÁÈ¡²ÎÊý
|
btn_sysparam_read = new JButton("¶ÁÈ¡²ÎÊý");
|
btn_sysparam_read.setEnabled(false);
|
btn_sysparam_read.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_SysParam_RegAddr_Start, ByteBuffer.allocate(0));
|
}
|
});
|
btn_sysparam_read.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_508.add(btn_sysparam_read);
|
|
//ÉèÖòÎÊý
|
btn_sysparam_write = new JButton("ÉèÖòÎÊý");
|
btn_sysparam_write.setEnabled(false);
|
btn_sysparam_write.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_Param tmp_param = new Power_Param();
|
|
try {
|
tmp_param.dev_comm_addr = Integer.parseInt(tf_devcommaddr.getText()); //2000 É豸ͨÐŵØÖ· ModbusÉ豸µØÖ·£¬1~250
|
tmp_param.libms_count = Integer.parseInt(tf_libmscount.getText()); //2001 ï®µç³Ø°ü¸öÊý 1~4
|
tmp_param.model_count = Integer.parseInt(tf_modelcount.getText()); //2002 µçÔ´Ä£¿é¸öÊý 1~4
|
tmp_param.power_downvol = Float.parseFloat(tf_powerdownvol.getText()); //2003 µç³ØÏµçµçѹ 0.1V
|
tmp_param.back_time = Integer.parseInt(tf_backtime.getText()); //2004 Òº¾§ÆÁ±³¹âʱ¼ä Min£¬15~99
|
|
tmp_param.charcurr_limit = Integer.parseInt(tf_charcurr_limit.getText()); //2004 Òº¾§ÆÁ±³¹âʱ¼ä Min£¬15~99
|
tmp_param.back_control_en = jc_backcntrol_en.getSelectedIndex(); //2004 Òº¾§ÆÁ±³¹âʱ¼ä Min£¬15~99
|
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_SysParam_RegAddr_Start, tmp_param.getByteBuffer());
|
} catch (NumberFormatException e1) {
|
e1.printStackTrace();
|
Toolkit.getDefaultToolkit().beep();
|
JOptionPane.showMessageDialog(tabbedPane, "ÇëÊäÈëºÏ·¨µÄ²ÎÊý!");
|
} finally{
|
tmp_param = null;
|
}
|
}
|
});
|
btn_sysparam_write.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_508.add(btn_sysparam_write);
|
|
JPanel panel_509 = new JPanel();
|
panel_509.setBorder(new TitledBorder(null, "ÃÅ´Å¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_580.add(panel_509,BorderLayout.SOUTH);
|
panel_509.setLayout(new FlowLayout(FlowLayout.CENTER,0,5));
|
|
jc_sysgate_st = new JComboBox<>();
|
jc_sysgate_st.setModel(new DefaultComboBoxModel(new String[] {"¹ØÃÅ ", "¿ªÃÅ "}));
|
jc_sysgate_st.setEnabled(false);
|
|
panel_509.add(jc_sysgate_st);
|
|
//ÃÅ´Å´ò¿ª
|
btn_sysgate_open = new JButton("ÃÅ´Å´ò¿ª");
|
btn_sysgate_open.setEnabled(false);
|
btn_sysgate_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
//ÃÅ´Å¿ØÖÆ-´ò¿ª
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_DoorControl_RegAddr_Start, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysgate_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_509.add(btn_sysgate_open);
|
|
//ÃŴŹرÕ
|
btn_sysgate_close = new JButton("ÃŴŹرÕ");
|
btn_sysgate_close.setEnabled(false);
|
btn_sysgate_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
//ÃÅ´Å¿ØÖÆ-¹Ø±Õ
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_DoorControl_RegAddr_Start, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysgate_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_509.add(btn_sysgate_close);
|
|
JPanel panel_501 = new JPanel();
|
panel_501.setBorder(new TitledBorder(null, "²Ù×÷½á¹ûÐÅÏ¢", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_powerparam.add(panel_501,BorderLayout.SOUTH);
|
panel_501.setLayout(new BorderLayout(0, 0));
|
|
tf_sys_param_res = new JTextField();
|
panel_501.add(tf_sys_param_res,BorderLayout.CENTER);
|
|
|
JPanel panel_510 = new JPanel();
|
panel_510.setBorder(new TitledBorder(null, "·Ö·1~12¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_500.add(panel_510);
|
panel_510.setLayout(new GridLayout(6,2,5,5));
|
|
JPanel panel_511 = new JPanel();
|
panel_511.setBorder(new TitledBorder(null, "·Ö·1¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_511);
|
panel_511.setLayout(new GridLayout(1,3,2,2));
|
|
jc_sysroad1_st = new JComboBox<>();
|
jc_sysroad1_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad1_st.setEnabled(false);
|
panel_511.add(jc_sysroad1_st);
|
|
|
//·Ö·1´ò¿ª
|
btn_sysroad1_open = new JButton("´ò¿ª");
|
btn_sysroad1_open.setEnabled(false);
|
btn_sysroad1_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad1_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_511.add(btn_sysroad1_open);
|
|
//·Ö·1¹Ø±Õ
|
btn_sysroad1_close = new JButton("¹Ø±Õ");
|
btn_sysroad1_close.setEnabled(false);
|
btn_sysroad1_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad1_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_511.add(btn_sysroad1_close);
|
|
JPanel panel_512 = new JPanel();
|
panel_512.setBorder(new TitledBorder(null, "·Ö·2¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_512);
|
panel_512.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad2_st = new JComboBox<>();
|
jc_sysroad2_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad2_st.setEnabled(false);
|
panel_512.add(jc_sysroad2_st);
|
|
//·Ö·2´ò¿ª
|
btn_sysroad2_open = new JButton("´ò¿ª");
|
btn_sysroad2_open.setEnabled(false);
|
btn_sysroad2_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 1, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad2_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_512.add(btn_sysroad2_open);
|
|
//·Ö·2¹Ø±Õ
|
btn_sysroad2_close = new JButton("¹Ø±Õ");
|
btn_sysroad2_close.setEnabled(false);
|
btn_sysroad2_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 1, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad2_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_512.add(btn_sysroad2_close);
|
|
JPanel panel_513 = new JPanel();
|
panel_513.setBorder(new TitledBorder(null, "·Ö·3¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_513);
|
panel_513.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad3_st = new JComboBox<>();
|
jc_sysroad3_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad3_st.setEnabled(false);
|
panel_513.add(jc_sysroad3_st);
|
|
//·Ö·3´ò¿ª
|
btn_sysroad3_open = new JButton("´ò¿ª");
|
btn_sysroad3_open.setEnabled(false);
|
btn_sysroad3_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 2, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad3_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_513.add(btn_sysroad3_open);
|
|
|
//·Ö·3¹Ø±Õ
|
btn_sysroad3_close = new JButton("¹Ø±Õ");
|
btn_sysroad3_close.setEnabled(false);
|
btn_sysroad3_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 2, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad3_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_513.add(btn_sysroad3_close);
|
|
JPanel panel_514 = new JPanel();
|
panel_514.setBorder(new TitledBorder(null, "·Ö·4¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_514);
|
panel_514.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad4_st = new JComboBox<>();
|
jc_sysroad4_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad4_st.setEnabled(false);
|
panel_514.add(jc_sysroad4_st);
|
|
//·Ö·4´ò¿ª
|
btn_sysroad4_open = new JButton("´ò¿ª");
|
btn_sysroad4_open.setEnabled(false);
|
btn_sysroad4_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 3, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad4_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_514.add(btn_sysroad4_open);
|
|
//·Ö·4¹Ø±Õ
|
btn_sysroad4_close = new JButton("¹Ø±Õ");
|
btn_sysroad4_close.setEnabled(false);
|
btn_sysroad4_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 3, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad4_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_514.add(btn_sysroad4_close);
|
|
JPanel panel_515 = new JPanel();
|
panel_515.setBorder(new TitledBorder(null, "·Ö·5¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_515);
|
panel_515.setLayout(new GridLayout(0,3,3,3));
|
|
jc_sysroad5_st = new JComboBox<>();
|
jc_sysroad5_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad5_st.setEnabled(false);
|
panel_515.add(jc_sysroad5_st);
|
|
//·Ö·5´ò¿ª
|
btn_sysroad5_open = new JButton("´ò¿ª");
|
btn_sysroad5_open.setEnabled(false);
|
btn_sysroad5_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 4, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad5_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_515.add(btn_sysroad5_open);
|
|
//·Ö·5¹Ø±Õ
|
btn_sysroad5_close = new JButton("¹Ø±Õ");
|
btn_sysroad5_close.setEnabled(false);
|
btn_sysroad5_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 4, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad5_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_515.add(btn_sysroad5_close);
|
|
JPanel panel_516 = new JPanel();
|
panel_516.setBorder(new TitledBorder(null, "·Ö·6¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_516);
|
panel_516.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad6_st = new JComboBox<>();
|
jc_sysroad6_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad6_st.setEnabled(false);
|
panel_516.add(jc_sysroad6_st);
|
|
//·Ö·6´ò¿ª
|
btn_sysroad6_open = new JButton("´ò¿ª");
|
btn_sysroad6_open.setEnabled(false);
|
btn_sysroad6_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 5, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad6_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_516.add(btn_sysroad6_open);
|
|
//·Ö·6¹Ø±Õ
|
btn_sysroad6_close = new JButton("¹Ø±Õ");
|
btn_sysroad6_close.setEnabled(false);
|
btn_sysroad6_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 5, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad6_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_516.add(btn_sysroad6_close);
|
|
JPanel panel_517 = new JPanel();
|
panel_517.setBorder(new TitledBorder(null, "·Ö·7¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_517);
|
panel_517.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad7_st = new JComboBox<>();
|
jc_sysroad7_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad7_st.setEnabled(false);
|
panel_517.add(jc_sysroad7_st);
|
|
//·Ö·7´ò¿ª
|
btn_sysroad7_open = new JButton("´ò¿ª");
|
btn_sysroad7_open.setEnabled(false);
|
btn_sysroad7_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 6, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad7_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_517.add(btn_sysroad7_open);
|
|
//·Ö·7¹Ø±Õ
|
btn_sysroad7_close = new JButton("¹Ø±Õ");
|
btn_sysroad7_close.setEnabled(false);
|
btn_sysroad7_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 6, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad7_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_517.add(btn_sysroad7_close);
|
|
JPanel panel_518 = new JPanel();
|
panel_518.setBorder(new TitledBorder(null, "·Ö·8¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_518);
|
panel_518.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad8_st = new JComboBox<>();
|
jc_sysroad8_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad8_st.setEnabled(false);
|
panel_518.add(jc_sysroad8_st);
|
|
//·Ö·8´ò¿ª
|
btn_sysroad8_open = new JButton("´ò¿ª");
|
btn_sysroad8_open.setEnabled(false);
|
btn_sysroad8_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 7, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad8_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_518.add(btn_sysroad8_open);
|
|
//·Ö·8¹Ø±Õ
|
btn_sysroad8_close = new JButton("¹Ø±Õ");
|
btn_sysroad8_close.setEnabled(false);
|
btn_sysroad8_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 7, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad8_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_518.add(btn_sysroad8_close);
|
|
JPanel panel_519 = new JPanel();
|
panel_519.setBorder(new TitledBorder(null, "·Ö·9¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_519);
|
panel_519.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad9_st = new JComboBox<>();
|
jc_sysroad9_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad9_st.setEnabled(false);
|
panel_519.add(jc_sysroad9_st);
|
|
//·Ö·9´ò¿ª
|
btn_sysroad9_open = new JButton("´ò¿ª");
|
btn_sysroad9_open.setEnabled(false);
|
btn_sysroad9_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 8, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad9_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_519.add(btn_sysroad9_open);
|
|
//·Ö·9¹Ø±Õ
|
btn_sysroad9_close = new JButton("¹Ø±Õ");
|
btn_sysroad9_close.setEnabled(false);
|
btn_sysroad9_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 8, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad9_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_519.add(btn_sysroad9_close);
|
|
JPanel panel_520 = new JPanel();
|
panel_520.setBorder(new TitledBorder(null, "·Ö·10¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_520);
|
panel_520.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad10_st = new JComboBox<>();
|
jc_sysroad10_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad10_st.setEnabled(false);
|
panel_520.add(jc_sysroad10_st);
|
|
//·Ö·10´ò¿ª
|
btn_sysroad10_open = new JButton("´ò¿ª");
|
btn_sysroad10_open.setEnabled(false);
|
btn_sysroad10_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 9, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad10_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_520.add(btn_sysroad10_open);
|
|
//·Ö·10¹Ø±Õ
|
btn_sysroad10_close = new JButton("¹Ø±Õ");
|
btn_sysroad10_close.setEnabled(false);
|
btn_sysroad10_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 9, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad10_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_520.add(btn_sysroad10_close);
|
|
JPanel panel_521 = new JPanel();
|
panel_521.setBorder(new TitledBorder(null, "·Ö·11¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_521);
|
panel_521.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad11_st = new JComboBox<>();
|
jc_sysroad11_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad11_st.setEnabled(false);
|
panel_521.add(jc_sysroad11_st);
|
|
//·Ö·11´ò¿ª
|
btn_sysroad11_open = new JButton("´ò¿ª");
|
btn_sysroad11_open.setEnabled(false);
|
btn_sysroad11_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 10, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad11_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_521.add(btn_sysroad11_open);
|
|
//·Ö·11¹Ø±Õ
|
btn_sysroad11_close = new JButton("¹Ø±Õ");
|
btn_sysroad11_close.setEnabled(false);
|
btn_sysroad11_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 10, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad11_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_521.add(btn_sysroad11_close);
|
|
JPanel panel_522 = new JPanel();
|
panel_522.setBorder(new TitledBorder(null, "·Ö·12¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_510.add(panel_522);
|
panel_522.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad12_st = new JComboBox<>();
|
jc_sysroad12_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad12_st.setEnabled(false);
|
panel_522.add(jc_sysroad12_st);
|
|
//·Ö·12´ò¿ª
|
btn_sysroad12_open = new JButton("´ò¿ª");
|
btn_sysroad12_open.setEnabled(false);
|
btn_sysroad12_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 11, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad12_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_522.add(btn_sysroad12_open);
|
|
//·Ö·12¹Ø±Õ
|
btn_sysroad12_close = new JButton("¹Ø±Õ");
|
btn_sysroad12_close.setEnabled(false);
|
btn_sysroad12_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_LoadControl_RegAddr_Start + 11, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad12_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_522.add(btn_sysroad12_close);
|
|
JPanel panel_530 = new JPanel();
|
panel_530.setBorder(new TitledBorder(null, "·Ö·1~12±¸µç¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_500.add(panel_530);
|
panel_530.setLayout(new GridLayout(6,2,5,5));
|
|
JPanel panel_531 = new JPanel();
|
panel_531.setBorder(new TitledBorder(null, "·Ö·1¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_531);
|
panel_531.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad1bac_st = new JComboBox<>();
|
jc_sysroad1bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad1bac_st.setEnabled(false);
|
panel_531.add(jc_sysroad1bac_st);
|
|
//·Ö·1´ò¿ª
|
btn_sysroad1bac_open = new JButton("´ò¿ª");
|
btn_sysroad1bac_open.setEnabled(false);
|
btn_sysroad1bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad1bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_531.add(btn_sysroad1bac_open);
|
|
//·Ö·1¹Ø±Õ
|
btn_sysroad1bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad1bac_close.setEnabled(false);
|
btn_sysroad1bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad1bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_531.add(btn_sysroad1bac_close);
|
|
JPanel panel_532 = new JPanel();
|
panel_532.setBorder(new TitledBorder(null, "·Ö·2¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_532);
|
panel_532.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad2bac_st = new JComboBox<>();
|
jc_sysroad2bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad2bac_st.setEnabled(false);
|
panel_532.add(jc_sysroad2bac_st);
|
|
//·Ö·2´ò¿ª
|
btn_sysroad2bac_open = new JButton("´ò¿ª");
|
btn_sysroad2bac_open.setEnabled(false);
|
btn_sysroad2bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 1, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad2bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_532.add(btn_sysroad2bac_open);
|
|
//·Ö·2¹Ø±Õ
|
btn_sysroad2bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad2bac_close.setEnabled(false);
|
btn_sysroad2bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 1, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad2bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_532.add(btn_sysroad2bac_close);
|
|
JPanel panel_533 = new JPanel();
|
panel_533.setBorder(new TitledBorder(null, "·Ö·3¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_533);
|
panel_533.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad3bac_st = new JComboBox<>();
|
jc_sysroad3bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad3bac_st.setEnabled(false);
|
panel_533.add(jc_sysroad3bac_st);
|
|
//·Ö·3´ò¿ª
|
btn_sysroad3bac_open = new JButton("´ò¿ª");
|
btn_sysroad3bac_open.setEnabled(false);
|
btn_sysroad3bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 2, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad3bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_533.add(btn_sysroad3bac_open);
|
|
//·Ö·3¹Ø±Õ
|
btn_sysroad3bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad3bac_close.setEnabled(false);
|
btn_sysroad3bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 2, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad3bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_533.add(btn_sysroad3bac_close);
|
|
JPanel panel_534 = new JPanel();
|
panel_534.setBorder(new TitledBorder(null, "·Ö·4¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_534);
|
panel_534.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad4bac_st = new JComboBox<>();
|
jc_sysroad4bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad4bac_st.setEnabled(false);
|
panel_534.add(jc_sysroad4bac_st);
|
|
//·Ö·4´ò¿ª
|
btn_sysroad4bac_open = new JButton("´ò¿ª");
|
btn_sysroad4bac_open.setEnabled(false);
|
btn_sysroad4bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 3, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad4bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_534.add(btn_sysroad4bac_open);
|
|
//·Ö·4¹Ø±Õ
|
btn_sysroad4bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad4bac_close.setEnabled(false);
|
btn_sysroad4bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 3, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad4bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_534.add(btn_sysroad4bac_close);
|
|
JPanel panel_535 = new JPanel();
|
panel_535.setBorder(new TitledBorder(null, "·Ö·5¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_535);
|
panel_535.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad5bac_st = new JComboBox<>();
|
jc_sysroad5bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad5bac_st.setEnabled(false);
|
panel_535.add(jc_sysroad5bac_st);
|
|
//·Ö·5´ò¿ª
|
btn_sysroad5bac_open = new JButton("´ò¿ª");
|
btn_sysroad5bac_open.setEnabled(false);
|
btn_sysroad5bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 4, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad5bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_535.add(btn_sysroad5bac_open);
|
|
//·Ö·5¹Ø±Õ
|
btn_sysroad5bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad5bac_close.setEnabled(false);
|
btn_sysroad5bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 4, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad5bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_535.add(btn_sysroad5bac_close);
|
|
JPanel panel_536 = new JPanel();
|
panel_536.setBorder(new TitledBorder(null, "·Ö·6¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_536);
|
panel_536.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad6bac_st = new JComboBox<>();
|
jc_sysroad6bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad6bac_st.setEnabled(false);
|
panel_536.add(jc_sysroad6bac_st);
|
|
//·Ö·6´ò¿ª
|
btn_sysroad6bac_open = new JButton("´ò¿ª");
|
btn_sysroad6bac_open.setEnabled(false);
|
btn_sysroad6bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 5, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad6bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_536.add(btn_sysroad6bac_open);
|
|
//·Ö·6¹Ø±Õ
|
btn_sysroad6bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad6bac_close.setEnabled(false);
|
btn_sysroad6bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 5, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad6bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_536.add(btn_sysroad6bac_close);
|
|
JPanel panel_537 = new JPanel();
|
panel_537.setBorder(new TitledBorder(null, "·Ö·7¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_537);
|
panel_537.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad7bac_st = new JComboBox<>();
|
jc_sysroad7bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad7bac_st.setEnabled(false);
|
panel_537.add(jc_sysroad7bac_st);
|
|
//·Ö·7´ò¿ª
|
btn_sysroad7bac_open = new JButton("´ò¿ª");
|
btn_sysroad7bac_open.setEnabled(false);
|
btn_sysroad7bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 6, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad7bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_537.add(btn_sysroad7bac_open);
|
|
//·Ö·7¹Ø±Õ
|
btn_sysroad7bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad7bac_close.setEnabled(false);
|
btn_sysroad7bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 6, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad7bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_537.add(btn_sysroad7bac_close);
|
|
JPanel panel_538 = new JPanel();
|
panel_538.setBorder(new TitledBorder(null, "·Ö·8¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_538);
|
panel_538.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad8bac_st = new JComboBox<>();
|
jc_sysroad8bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad8bac_st.setEnabled(false);
|
panel_538.add(jc_sysroad8bac_st);
|
|
//·Ö·8´ò¿ª
|
btn_sysroad8bac_open = new JButton("´ò¿ª");
|
btn_sysroad8bac_open.setEnabled(false);
|
btn_sysroad8bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 7, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad8bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_538.add(btn_sysroad8bac_open);
|
|
//·Ö·8¹Ø±Õ
|
btn_sysroad8bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad8bac_close.setEnabled(false);
|
btn_sysroad8bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 7, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad8bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_538.add(btn_sysroad8bac_close);
|
|
JPanel panel_539 = new JPanel();
|
panel_539.setBorder(new TitledBorder(null, "·Ö·9¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_539);
|
panel_539.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad9bac_st = new JComboBox<>();
|
jc_sysroad9bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad9bac_st.setEnabled(false);
|
panel_539.add(jc_sysroad9bac_st);
|
|
//·Ö·9´ò¿ª
|
btn_sysroad9bac_open = new JButton("´ò¿ª");
|
btn_sysroad9bac_open.setEnabled(false);
|
btn_sysroad9bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 8, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad9bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_539.add(btn_sysroad9bac_open);
|
|
//·Ö·9¹Ø±Õ
|
btn_sysroad9bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad9bac_close.setEnabled(false);
|
btn_sysroad9bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 8, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad9bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_539.add(btn_sysroad9bac_close);
|
|
JPanel panel_540 = new JPanel();
|
panel_540.setBorder(new TitledBorder(null, "·Ö·10¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_540);
|
panel_540.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad10bac_st = new JComboBox<>();
|
jc_sysroad10bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad10bac_st.setEnabled(false);
|
panel_540.add(jc_sysroad10bac_st);
|
|
//·Ö·10´ò¿ª
|
btn_sysroad10bac_open = new JButton("´ò¿ª");
|
btn_sysroad10bac_open.setEnabled(false);
|
btn_sysroad10bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 9, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad10bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_540.add(btn_sysroad10bac_open);
|
|
//·Ö·10¹Ø±Õ
|
btn_sysroad10bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad10bac_close.setEnabled(false);
|
btn_sysroad10bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 9, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad10bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_540.add(btn_sysroad10bac_close);
|
|
JPanel panel_541 = new JPanel();
|
panel_541.setBorder(new TitledBorder(null, "·Ö·11¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_541);
|
panel_541.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad11bac_st = new JComboBox<>();
|
jc_sysroad11bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad11bac_st.setEnabled(false);
|
panel_541.add(jc_sysroad11bac_st);
|
|
//·Ö·11´ò¿ª
|
btn_sysroad11bac_open = new JButton("´ò¿ª");
|
btn_sysroad11bac_open.setEnabled(false);
|
btn_sysroad11bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 10, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad11bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_541.add(btn_sysroad11bac_open);
|
|
//·Ö·11¹Ø±Õ
|
btn_sysroad11bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad11bac_close.setEnabled(false);
|
btn_sysroad11bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 10, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad11bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_541.add(btn_sysroad11bac_close);
|
|
JPanel panel_542 = new JPanel();
|
panel_542.setBorder(new TitledBorder(null, "·Ö·12¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_530.add(panel_542);
|
panel_542.setLayout(new GridLayout(0,3,2,2));
|
|
jc_sysroad12bac_st = new JComboBox<>();
|
jc_sysroad12bac_st.setModel(new DefaultComboBoxModel(new String[] {"¹Ø±Õ", "´ò¿ª"}));
|
jc_sysroad12bac_st.setEnabled(false);
|
panel_542.add(jc_sysroad12bac_st);
|
|
//·Ö·12´ò¿ª
|
btn_sysroad12bac_open = new JButton("´ò¿ª");
|
btn_sysroad12bac_open.setEnabled(false);
|
btn_sysroad12bac_open.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 11, power_util.createControlByteBuffer(true));
|
}
|
});
|
btn_sysroad12bac_open.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_542.add(btn_sysroad12bac_open);
|
|
//·Ö·12¹Ø±Õ
|
btn_sysroad12bac_close = new JButton("¹Ø±Õ");
|
btn_sysroad12bac_close.setEnabled(false);
|
btn_sysroad12bac_close.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_STD, Power_ComBase.PWD_BackControl_RegAddr_Start + 11, power_util.createControlByteBuffer(false));
|
}
|
});
|
btn_sysroad12bac_close.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_542.add(btn_sysroad12bac_close);
|
|
/********************************************************************/
|
/************** µçԴУ׼ *******************************************/
|
panel_jzparam.setLayout(new BorderLayout());
|
|
JPanel panel_600 = new JPanel();
|
panel_600.setBorder(new TitledBorder(null, "É豸ʱ¼äУ׼", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_jzparam.add(panel_600,BorderLayout.NORTH);
|
panel_600.setLayout(new FlowLayout(FlowLayout.LEFT, 10, 0));
|
|
JPanel panel_601 = new JPanel();
|
panel_601.setBorder(new TitledBorder(null, "·Ö·¶¨Ê±¿ØÖÆ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_jzparam.add(panel_601,BorderLayout.CENTER);
|
panel_601.setLayout(new BorderLayout());
|
|
JPanel panel_602 = new JPanel();
|
panel_602.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_600.add(panel_602,BorderLayout.CENTER);
|
panel_602.setLayout(new FlowLayout());
|
|
tf_time_year = new JTextField();
|
tf_time_year.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_year);
|
tf_time_year.setColumns(4);
|
tf_time_year.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JLabel year_lab1 = new JLabel("-");
|
panel_602.add(year_lab1);
|
|
tf_time_month = new JTextField();
|
tf_time_month.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_month);
|
tf_time_month.setColumns(2);
|
tf_time_month.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JLabel year_lab2 = new JLabel("-");
|
panel_602.add(year_lab2);
|
|
tf_time_day = new JTextField();
|
tf_time_day.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_day);
|
tf_time_day.setColumns(2);
|
tf_time_day.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JLabel year_lab3 = new JLabel(" ");
|
panel_602.add(year_lab3);
|
|
tf_time_hour = new JTextField();
|
tf_time_hour.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_hour);
|
tf_time_hour.setColumns(2);
|
tf_time_hour.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JLabel year_lab4 = new JLabel(":");
|
panel_602.add(year_lab4);
|
|
tf_time_minute = new JTextField();
|
tf_time_minute.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_minute);
|
tf_time_minute.setColumns(2);
|
tf_time_minute.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JLabel year_lab5 = new JLabel(":");
|
panel_602.add(year_lab5);
|
|
tf_time_second = new JTextField();
|
tf_time_second.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_602.add(tf_time_second);
|
tf_time_second.setColumns(2);
|
tf_time_second.setDocument(new LimitedDocument(5, "0123456789"));
|
|
//¶ÁÈ¡É豸ʱ¼ä
|
btn_systime_read = new JButton("¶ÁÈ¡É豸ʱ¼ä");
|
btn_systime_read.setEnabled(false);
|
btn_systime_read.setPreferredSize(new Dimension(150, 40));
|
btn_systime_read.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_SchoolTime_RegAddr_Start, ByteBuffer.allocate(0));
|
}
|
});
|
btn_systime_read.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_600.add(btn_systime_read);
|
|
|
btn_systime_write = new JButton("¸üÐÂÉ豸ʱ¼ä");
|
btn_systime_write.setEnabled(false);
|
btn_systime_write.setPreferredSize(new Dimension(150, 40));
|
btn_systime_write.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_Param tmp_param = new Power_Param();
|
|
try {
|
tmp_param.dev_year = Integer.parseInt(tf_time_year.getText()); //2800 Äê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_param.dev_month = Integer.parseInt(tf_time_month.getText()); //2801 ÔÂ
|
tmp_param.dev_day = Integer.parseInt(tf_time_day.getText()); //2802 ÈÕ
|
tmp_param.dev_hour = Integer.parseInt(tf_time_hour.getText()); //2803 ʱ
|
tmp_param.dev_minute = Integer.parseInt(tf_time_minute.getText()); //2804 ·Ö
|
tmp_param.dev_second = Integer.parseInt(tf_time_second.getText()); //2805 Ãë
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_SchoolTime_RegAddr_Start, tmp_param.getTimeByteBuffer());
|
} catch (NumberFormatException e1) {
|
e1.printStackTrace();
|
Toolkit.getDefaultToolkit().beep();
|
JOptionPane.showMessageDialog(tabbedPane, "ÇëÊäÈëºÏ·¨µÄ²ÎÊý!");
|
} finally {
|
tmp_param = null;
|
}
|
}
|
});
|
btn_systime_write.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_600.add(btn_systime_write);
|
|
btn_systime_update = new JButton("ͬ²½ÏµÍ³Ê±¼ä");
|
btn_systime_update.setEnabled(false);
|
|
btn_systime_update.setPreferredSize(new Dimension(150, 40));
|
btn_systime_update.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_Param tmp_param = new Power_Param();
|
|
Calendar cal = Calendar.getInstance();
|
|
tmp_param.dev_year = cal.get(Calendar.YEAR); //2800 Äê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_param.dev_month = cal.get(Calendar.MONTH)+1; //2801 ÔÂ
|
tmp_param.dev_day = cal.get(Calendar.DATE); //2802 ÈÕ
|
tmp_param.dev_hour = cal.get(Calendar.HOUR_OF_DAY); //2803 ʱ
|
tmp_param.dev_minute = cal.get(Calendar.MINUTE); //2804 ·Ö
|
tmp_param.dev_second = cal.get(Calendar.SECOND); //2805 Ãë
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_SchoolTime_RegAddr_Start, tmp_param.getTimeByteBuffer());
|
}
|
});
|
btn_systime_update.setFont(new Font("ËÎÌå", Font.PLAIN, 12));
|
panel_600.add(btn_systime_update);
|
|
JTabbedPane jt_time_panel = new JTabbedPane(JTabbedPane.TOP);
|
panel_601.add(jt_time_panel, BorderLayout.CENTER);
|
|
JPanel panel_610 = new JPanel();
|
panel_610.setLayout(new BorderLayout());
|
|
JPanel panel_611 = new JPanel();
|
panel_611.setLayout(new BorderLayout());
|
|
jt_time_panel.addTab("1~6··Öʱ¿ØÖÆ",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_610, null);
|
jt_time_panel.addTab("7~12··Öʱ¿ØÖÆ",null/*new ImageIcon(zdhj_page_base.class.getResource("/png_16x16/target.png"))*/, panel_611, null);
|
|
JPanel panel_612 = new JPanel();
|
|
panel_612.setLayout(new GridLayout(2,3,5,5));
|
panel_610.add(panel_612,BorderLayout.CENTER);
|
|
|
|
JPanel panel_613 = new JPanel();
|
panel_613.setBorder(new TitledBorder(null, "·Ö·1", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_613);
|
panel_613.setLayout(new GridLayout(2,1));
|
|
JPanel panel_615 = new JPanel();
|
panel_613.add(panel_615);
|
panel_615.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_616 = new JPanel();
|
panel_616.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_615.add(panel_616);
|
panel_616.setLayout(new BorderLayout());
|
|
cb_regulartime1 = new JComboBox<String>();
|
cb_regulartime1.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_616.add(cb_regulartime1,BorderLayout.CENTER);
|
|
JPanel panel_614 = new JPanel();
|
panel_614.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_615.add(panel_614);
|
panel_614.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year1 = new JTextField();
|
tf_regulartime_year1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_year1);
|
tf_regulartime_year1.setColumns(4);
|
tf_regulartime_year1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_614.add(new JLabel("-"));
|
|
tf_regulartime_month1 = new JTextField();
|
tf_regulartime_month1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_month1);
|
tf_regulartime_month1.setColumns(2);
|
tf_regulartime_month1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_614.add(new JLabel("-"));
|
|
tf_regulartime_day1 = new JTextField();
|
tf_regulartime_day1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_day1);
|
tf_regulartime_day1.setColumns(2);
|
tf_regulartime_day1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_614.add(new JLabel(" "));
|
|
tf_regulartime_hour1 = new JTextField();
|
tf_regulartime_hour1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_hour1);
|
tf_regulartime_hour1.setColumns(2);
|
tf_regulartime_hour1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_614.add(new JLabel(":"));
|
|
tf_regulartime_minute1 = new JTextField();
|
tf_regulartime_minute1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_minute1);
|
tf_regulartime_minute1.setColumns(2);
|
tf_regulartime_minute1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_614.add(new JLabel(":"));
|
|
tf_regulartime_second1 = new JTextField();
|
tf_regulartime_second1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_614.add(tf_regulartime_second1);
|
tf_regulartime_second1.setColumns(2);
|
tf_regulartime_second1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_617 = new JPanel();
|
panel_613.add(panel_617);
|
panel_617.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_618 = new JPanel();
|
panel_618.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_617.add(panel_618);
|
panel_618.setLayout(new BorderLayout());
|
|
cb_repetcomm1 = new JComboBox<String>();
|
cb_repetcomm1.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_618.add(cb_repetcomm1,BorderLayout.CENTER);
|
|
JPanel panel_619 = new JPanel();
|
panel_619.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_617.add(panel_619);
|
panel_619.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year1 = new JTextField();
|
tf_repetcomm_year1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_year1);
|
tf_repetcomm_year1.setColumns(4);
|
tf_repetcomm_year1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_619.add(new JLabel("-"));
|
|
tf_repetcomm_month1 = new JTextField();
|
tf_repetcomm_month1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_month1);
|
tf_repetcomm_month1.setColumns(2);
|
tf_repetcomm_month1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_619.add(new JLabel("-"));
|
|
tf_repetcomm_day1 = new JTextField();
|
tf_repetcomm_day1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_day1);
|
tf_repetcomm_day1.setColumns(2);
|
tf_repetcomm_day1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_619.add(new JLabel(" "));
|
|
tf_repetcomm_hour1 = new JTextField();
|
tf_repetcomm_hour1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_hour1);
|
tf_repetcomm_hour1.setColumns(2);
|
tf_repetcomm_hour1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_619.add(new JLabel(":"));
|
|
tf_repetcomm_minute1 = new JTextField();
|
tf_repetcomm_minute1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_minute1);
|
tf_repetcomm_minute1.setColumns(2);
|
tf_repetcomm_minute1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_619.add(new JLabel(":"));
|
|
tf_repetcomm_second1 = new JTextField();
|
tf_repetcomm_second1.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_619.add(tf_repetcomm_second1);
|
tf_repetcomm_second1.setColumns(2);
|
tf_repetcomm_second1.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_620 = new JPanel();
|
panel_620.setBorder(new TitledBorder(null, "·Ö·2", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_620);
|
panel_620.setLayout(new GridLayout(2,1));
|
|
JPanel panel_621 = new JPanel();
|
panel_620.add(panel_621);
|
panel_621.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_622 = new JPanel();
|
panel_622.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_621.add(panel_622);
|
panel_622.setLayout(new BorderLayout());
|
|
cb_regulartime2 = new JComboBox<String>();
|
cb_regulartime2.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_622.add(cb_regulartime2,BorderLayout.CENTER);
|
|
JPanel panel_623 = new JPanel();
|
panel_623.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_621.add(panel_623);
|
panel_623.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year2 = new JTextField();
|
tf_regulartime_year2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_year2);
|
tf_regulartime_year2.setColumns(4);
|
tf_regulartime_year2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_623.add(new JLabel("-"));
|
|
tf_regulartime_month2 = new JTextField();
|
tf_regulartime_month2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_month2);
|
tf_regulartime_month2.setColumns(2);
|
tf_regulartime_month2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_623.add(new JLabel("-"));
|
|
tf_regulartime_day2 = new JTextField();
|
tf_regulartime_day2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_day2);
|
tf_regulartime_day2.setColumns(2);
|
tf_regulartime_day2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_623.add(new JLabel(" "));
|
|
tf_regulartime_hour2 = new JTextField();
|
tf_regulartime_hour2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_hour2);
|
tf_regulartime_hour2.setColumns(2);
|
tf_regulartime_hour2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_623.add(new JLabel(":"));
|
|
tf_regulartime_minute2 = new JTextField();
|
tf_regulartime_minute2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_minute2);
|
tf_regulartime_minute2.setColumns(2);
|
tf_regulartime_minute2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_623.add(new JLabel(":"));
|
|
tf_regulartime_second2 = new JTextField();
|
tf_regulartime_second2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_623.add(tf_regulartime_second2);
|
tf_regulartime_second2.setColumns(2);
|
tf_regulartime_second2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_624 = new JPanel();
|
panel_620.add(panel_624);
|
panel_624.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_625 = new JPanel();
|
panel_625.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_624.add(panel_625);
|
panel_625.setLayout(new BorderLayout());
|
|
cb_repetcomm2 = new JComboBox<String>();
|
cb_repetcomm2.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_625.add(cb_repetcomm2,BorderLayout.CENTER);
|
|
JPanel panel_626 = new JPanel();
|
panel_626.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_624.add(panel_626);
|
panel_626.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year2 = new JTextField();
|
tf_repetcomm_year2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_year2);
|
tf_repetcomm_year2.setColumns(4);
|
tf_repetcomm_year2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_626.add(new JLabel("-"));
|
|
tf_repetcomm_month2 = new JTextField();
|
tf_repetcomm_month2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_month2);
|
tf_repetcomm_month2.setColumns(2);
|
tf_repetcomm_month2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_626.add(new JLabel("-"));
|
|
tf_repetcomm_day2 = new JTextField();
|
tf_repetcomm_day2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_day2);
|
tf_repetcomm_day2.setColumns(2);
|
tf_repetcomm_day2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_626.add(new JLabel(" "));
|
|
tf_repetcomm_hour2 = new JTextField();
|
tf_repetcomm_hour2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_hour2);
|
tf_repetcomm_hour2.setColumns(2);
|
tf_repetcomm_hour2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_626.add(new JLabel(":"));
|
|
tf_repetcomm_minute2 = new JTextField();
|
tf_repetcomm_minute2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_minute2);
|
tf_repetcomm_minute2.setColumns(2);
|
tf_repetcomm_minute2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_626.add(new JLabel(":"));
|
|
tf_repetcomm_second2 = new JTextField();
|
tf_repetcomm_second2.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_626.add(tf_repetcomm_second2);
|
tf_repetcomm_second2.setColumns(2);
|
tf_repetcomm_second2.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
JPanel panel_627 = new JPanel();
|
panel_627.setBorder(new TitledBorder(null, "·Ö·3", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_627);
|
panel_627.setLayout(new GridLayout(2,1));
|
|
JPanel panel_628 = new JPanel();
|
panel_627.add(panel_628);
|
panel_628.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_629 = new JPanel();
|
panel_629.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_628.add(panel_629);
|
panel_629.setLayout(new BorderLayout());
|
|
cb_regulartime3 = new JComboBox<String>();
|
cb_regulartime3.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_629.add(cb_regulartime3,BorderLayout.CENTER);
|
|
JPanel panel_630 = new JPanel();
|
panel_630.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_628.add(panel_630);
|
panel_630.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year3 = new JTextField();
|
tf_regulartime_year3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_year3);
|
tf_regulartime_year3.setColumns(4);
|
tf_regulartime_year3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_630.add(new JLabel("-"));
|
|
tf_regulartime_month3 = new JTextField();
|
tf_regulartime_month3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_month3);
|
tf_regulartime_month3.setColumns(2);
|
tf_regulartime_month3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_630.add(new JLabel("-"));
|
|
tf_regulartime_day3 = new JTextField();
|
tf_regulartime_day3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_day3);
|
tf_regulartime_day3.setColumns(2);
|
tf_regulartime_day3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_630.add(new JLabel(" "));
|
|
tf_regulartime_hour3 = new JTextField();
|
tf_regulartime_hour3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_hour3);
|
tf_regulartime_hour3.setColumns(2);
|
tf_regulartime_hour3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_630.add(new JLabel(":"));
|
|
tf_regulartime_minute3 = new JTextField();
|
tf_regulartime_minute3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_minute3);
|
tf_regulartime_minute3.setColumns(2);
|
tf_regulartime_minute3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_630.add(new JLabel(":"));
|
|
tf_regulartime_second3 = new JTextField();
|
tf_regulartime_second3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_630.add(tf_regulartime_second3);
|
tf_regulartime_second3.setColumns(2);
|
tf_regulartime_second3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_631 = new JPanel();
|
panel_627.add(panel_631);
|
panel_631.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_632 = new JPanel();
|
panel_632.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_631.add(panel_632);
|
panel_632.setLayout(new BorderLayout());
|
|
cb_repetcomm3 = new JComboBox<String>();
|
cb_repetcomm3.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_632.add(cb_repetcomm3,BorderLayout.CENTER);
|
|
JPanel panel_633 = new JPanel();
|
panel_633.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_631.add(panel_633);
|
panel_633.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year3 = new JTextField();
|
tf_repetcomm_year3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_year3);
|
tf_repetcomm_year3.setColumns(4);
|
tf_repetcomm_year3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_633.add(new JLabel("-"));
|
|
tf_repetcomm_month3 = new JTextField();
|
tf_repetcomm_month3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_month3);
|
tf_repetcomm_month3.setColumns(2);
|
tf_repetcomm_month3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_633.add(new JLabel("-"));
|
|
tf_repetcomm_day3 = new JTextField();
|
tf_repetcomm_day3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_day3);
|
tf_repetcomm_day3.setColumns(2);
|
tf_repetcomm_day3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_633.add(new JLabel(" "));
|
|
tf_repetcomm_hour3 = new JTextField();
|
tf_repetcomm_hour3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_hour3);
|
tf_repetcomm_hour3.setColumns(2);
|
tf_repetcomm_hour3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_633.add(new JLabel(":"));
|
|
tf_repetcomm_minute3 = new JTextField();
|
tf_repetcomm_minute3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_minute3);
|
tf_repetcomm_minute3.setColumns(2);
|
tf_repetcomm_minute3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_633.add(new JLabel(":"));
|
|
tf_repetcomm_second3 = new JTextField();
|
tf_repetcomm_second3.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_633.add(tf_repetcomm_second3);
|
tf_repetcomm_second3.setColumns(2);
|
tf_repetcomm_second3.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_634 = new JPanel();
|
panel_634.setBorder(new TitledBorder(null, "·Ö·4", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_634);
|
panel_634.setLayout(new GridLayout(2,1));
|
|
JPanel panel_635 = new JPanel();
|
panel_634.add(panel_635);
|
panel_635.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_636 = new JPanel();
|
panel_636.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_635.add(panel_636);
|
panel_636.setLayout(new BorderLayout());
|
|
cb_regulartime4 = new JComboBox<String>();
|
cb_regulartime4.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_636.add(cb_regulartime4,BorderLayout.CENTER);
|
|
JPanel panel_637 = new JPanel();
|
panel_637.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_635.add(panel_637);
|
panel_637.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year4 = new JTextField();
|
tf_regulartime_year4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_year4);
|
tf_regulartime_year4.setColumns(4);
|
tf_regulartime_year4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_637.add(new JLabel("-"));
|
|
tf_regulartime_month4 = new JTextField();
|
tf_regulartime_month4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_month4);
|
tf_regulartime_month4.setColumns(2);
|
tf_regulartime_month4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_637.add(new JLabel("-"));
|
|
tf_regulartime_day4 = new JTextField();
|
tf_regulartime_day4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_day4);
|
tf_regulartime_day4.setColumns(2);
|
tf_regulartime_day4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_637.add(new JLabel(" "));
|
|
tf_regulartime_hour4 = new JTextField();
|
tf_regulartime_hour4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_hour4);
|
tf_regulartime_hour4.setColumns(2);
|
tf_regulartime_hour4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_637.add(new JLabel(":"));
|
|
tf_regulartime_minute4 = new JTextField();
|
tf_regulartime_minute4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_minute4);
|
tf_regulartime_minute4.setColumns(2);
|
tf_regulartime_minute4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_637.add(new JLabel(":"));
|
|
tf_regulartime_second4 = new JTextField();
|
tf_regulartime_second4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_637.add(tf_regulartime_second4);
|
tf_regulartime_second4.setColumns(2);
|
tf_regulartime_second4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
JPanel panel_638 = new JPanel();
|
panel_634.add(panel_638);
|
panel_638.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_639 = new JPanel();
|
panel_639.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_638.add(panel_639);
|
panel_639.setLayout(new BorderLayout());
|
|
cb_repetcomm4 = new JComboBox<String>();
|
cb_repetcomm4.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_639.add(cb_repetcomm4,BorderLayout.CENTER);
|
|
JPanel panel_640 = new JPanel();
|
panel_640.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_638.add(panel_640);
|
panel_640.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year4 = new JTextField();
|
tf_repetcomm_year4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_year4);
|
tf_repetcomm_year4.setColumns(4);
|
tf_repetcomm_year4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_640.add(new JLabel("-"));
|
|
tf_repetcomm_month4 = new JTextField();
|
tf_repetcomm_month4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_month4);
|
tf_repetcomm_month4.setColumns(2);
|
tf_repetcomm_month4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_640.add(new JLabel("-"));
|
|
tf_repetcomm_day4 = new JTextField();
|
tf_repetcomm_day4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_day4);
|
tf_repetcomm_day4.setColumns(2);
|
tf_repetcomm_day4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_640.add(new JLabel(" "));
|
|
tf_repetcomm_hour4 = new JTextField();
|
tf_repetcomm_hour4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_hour4);
|
tf_repetcomm_hour4.setColumns(2);
|
tf_repetcomm_hour4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_640.add(new JLabel(":"));
|
|
tf_repetcomm_minute4 = new JTextField();
|
tf_repetcomm_minute4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_minute4);
|
tf_repetcomm_minute4.setColumns(2);
|
tf_repetcomm_minute4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_640.add(new JLabel(":"));
|
|
tf_repetcomm_second4 = new JTextField();
|
tf_repetcomm_second4.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_640.add(tf_repetcomm_second4);
|
tf_repetcomm_second4.setColumns(2);
|
tf_repetcomm_second4.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
|
JPanel panel_641 = new JPanel();
|
panel_641.setBorder(new TitledBorder(null, "·Ö·5", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_641);
|
panel_641.setLayout(new GridLayout(2,1));
|
|
JPanel panel_642 = new JPanel();
|
panel_641.add(panel_642);
|
panel_642.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_643 = new JPanel();
|
panel_643.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_642.add(panel_643);
|
panel_643.setLayout(new BorderLayout());
|
|
cb_regulartime5 = new JComboBox<String>();
|
cb_regulartime5.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_643.add(cb_regulartime5,BorderLayout.CENTER);
|
|
JPanel panel_644 = new JPanel();
|
panel_644.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_642.add(panel_644);
|
panel_644.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year5 = new JTextField();
|
tf_regulartime_year5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_year5);
|
tf_regulartime_year5.setColumns(4);
|
tf_regulartime_year5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_644.add(new JLabel("-"));
|
|
tf_regulartime_month5 = new JTextField();
|
tf_regulartime_month5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_month5);
|
tf_regulartime_month5.setColumns(2);
|
tf_regulartime_month5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_644.add(new JLabel("-"));
|
|
tf_regulartime_day5 = new JTextField();
|
tf_regulartime_day5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_day5);
|
tf_regulartime_day5.setColumns(2);
|
tf_regulartime_day5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_644.add(new JLabel(" "));
|
|
tf_regulartime_hour5 = new JTextField();
|
tf_regulartime_hour5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_hour5);
|
tf_regulartime_hour5.setColumns(2);
|
tf_regulartime_hour5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_644.add(new JLabel(":"));
|
|
tf_regulartime_minute5 = new JTextField();
|
tf_regulartime_minute5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_minute5);
|
tf_regulartime_minute5.setColumns(2);
|
tf_regulartime_minute5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_644.add(new JLabel(":"));
|
|
tf_regulartime_second5 = new JTextField();
|
tf_regulartime_second5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_644.add(tf_regulartime_second5);
|
tf_regulartime_second5.setColumns(2);
|
tf_regulartime_second5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_645 = new JPanel();
|
panel_641.add(panel_645);
|
panel_645.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_646 = new JPanel();
|
panel_646.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_645.add(panel_646);
|
panel_646.setLayout(new BorderLayout());
|
|
cb_repetcomm5 = new JComboBox<String>();
|
cb_repetcomm5.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_646.add(cb_repetcomm5,BorderLayout.CENTER);
|
|
JPanel panel_647 = new JPanel();
|
panel_647.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_645.add(panel_647);
|
panel_647.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year5 = new JTextField();
|
tf_repetcomm_year5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_year5);
|
tf_repetcomm_year5.setColumns(4);
|
tf_repetcomm_year5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_647.add(new JLabel("-"));
|
|
tf_repetcomm_month5 = new JTextField();
|
tf_repetcomm_month5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_month5);
|
tf_repetcomm_month5.setColumns(2);
|
tf_repetcomm_month5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_647.add(new JLabel("-"));
|
|
tf_repetcomm_day5 = new JTextField();
|
tf_repetcomm_day5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_day5);
|
tf_repetcomm_day5.setColumns(2);
|
tf_repetcomm_day5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_647.add(new JLabel(" "));
|
|
tf_repetcomm_hour5 = new JTextField();
|
tf_repetcomm_hour5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_hour5);
|
tf_repetcomm_hour5.setColumns(2);
|
tf_repetcomm_hour5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_647.add(new JLabel(":"));
|
|
tf_repetcomm_minute5 = new JTextField();
|
tf_repetcomm_minute5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_minute5);
|
tf_repetcomm_minute5.setColumns(2);
|
tf_repetcomm_minute5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_647.add(new JLabel(":"));
|
|
tf_repetcomm_second5 = new JTextField();
|
tf_repetcomm_second5.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_647.add(tf_repetcomm_second5);
|
tf_repetcomm_second5.setColumns(2);
|
tf_repetcomm_second5.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_648 = new JPanel();
|
panel_648.setBorder(new TitledBorder(null, "·Ö·6", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_612.add(panel_648);
|
panel_648.setLayout(new GridLayout(2,1));
|
|
JPanel panel_649 = new JPanel();
|
panel_648.add(panel_649);
|
panel_649.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_650 = new JPanel();
|
panel_650.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_649.add(panel_650);
|
panel_650.setLayout(new BorderLayout());
|
|
cb_regulartime6 = new JComboBox<String>();
|
cb_regulartime6.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_650.add(cb_regulartime6,BorderLayout.CENTER);
|
|
JPanel panel_651 = new JPanel();
|
panel_651.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_649.add(panel_651);
|
panel_651.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year6 = new JTextField();
|
tf_regulartime_year6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_year6);
|
tf_regulartime_year6.setColumns(4);
|
tf_regulartime_year6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_651.add(new JLabel("-"));
|
|
tf_regulartime_month6 = new JTextField();
|
tf_regulartime_month6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_month6);
|
tf_regulartime_month6.setColumns(2);
|
tf_regulartime_month6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_651.add(new JLabel("-"));
|
|
tf_regulartime_day6 = new JTextField();
|
tf_regulartime_day6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_day6);
|
tf_regulartime_day6.setColumns(2);
|
tf_regulartime_day6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_651.add(new JLabel(" "));
|
|
tf_regulartime_hour6 = new JTextField();
|
tf_regulartime_hour6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_hour6);
|
tf_regulartime_hour6.setColumns(2);
|
tf_regulartime_hour6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_651.add(new JLabel(":"));
|
|
tf_regulartime_minute6 = new JTextField();
|
tf_regulartime_minute6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_minute6);
|
tf_regulartime_minute6.setColumns(2);
|
tf_regulartime_minute6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_651.add(new JLabel(":"));
|
|
tf_regulartime_second6 = new JTextField();
|
tf_regulartime_second6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_651.add(tf_regulartime_second6);
|
tf_regulartime_second6.setColumns(2);
|
tf_regulartime_second6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_652 = new JPanel();
|
panel_648.add(panel_652);
|
panel_652.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_653 = new JPanel();
|
panel_653.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_652.add(panel_653);
|
panel_653.setLayout(new BorderLayout());
|
|
cb_repetcomm6 = new JComboBox<String>();
|
cb_repetcomm6.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_653.add(cb_repetcomm6,BorderLayout.CENTER);
|
|
JPanel panel_654 = new JPanel();
|
panel_654.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_652.add(panel_654);
|
panel_654.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year6 = new JTextField();
|
tf_repetcomm_year6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_year6);
|
tf_repetcomm_year6.setColumns(4);
|
tf_repetcomm_year6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_654.add(new JLabel("-"));
|
|
tf_repetcomm_month6 = new JTextField();
|
tf_repetcomm_month6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_month6);
|
tf_repetcomm_month6.setColumns(2);
|
tf_repetcomm_month6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_654.add(new JLabel("-"));
|
|
tf_repetcomm_day6 = new JTextField();
|
tf_repetcomm_day6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_day6);
|
tf_repetcomm_day6.setColumns(2);
|
tf_repetcomm_day6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_654.add(new JLabel(" "));
|
|
tf_repetcomm_hour6 = new JTextField();
|
tf_repetcomm_hour6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_hour6);
|
tf_repetcomm_hour6.setColumns(2);
|
tf_repetcomm_hour6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_654.add(new JLabel(":"));
|
|
tf_repetcomm_minute6 = new JTextField();
|
tf_repetcomm_minute6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_minute6);
|
tf_repetcomm_minute6.setColumns(2);
|
tf_repetcomm_minute6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_654.add(new JLabel(":"));
|
|
tf_repetcomm_second6 = new JTextField();
|
tf_repetcomm_second6.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_654.add(tf_repetcomm_second6);
|
tf_repetcomm_second6.setColumns(2);
|
tf_repetcomm_second6.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_656 = new JPanel();
|
|
panel_656.setLayout(new GridLayout(2,3,5,5));
|
panel_611.add(panel_656,BorderLayout.CENTER);
|
|
|
|
JPanel panel_657 = new JPanel();
|
panel_657.setBorder(new TitledBorder(null, "·Ö·7", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_657);
|
panel_657.setLayout(new GridLayout(2,1));
|
|
JPanel panel_658 = new JPanel();
|
panel_657.add(panel_658);
|
panel_658.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_659 = new JPanel();
|
panel_659.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_658.add(panel_659);
|
panel_659.setLayout(new BorderLayout());
|
|
cb_regulartime7 = new JComboBox<String>();
|
cb_regulartime7.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_659.add(cb_regulartime7,BorderLayout.CENTER);
|
|
JPanel panel_660 = new JPanel();
|
panel_660.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_658.add(panel_660);
|
panel_660.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year7 = new JTextField();
|
tf_regulartime_year7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_year7);
|
tf_regulartime_year7.setColumns(4);
|
tf_regulartime_year7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_660.add(new JLabel("-"));
|
|
tf_regulartime_month7 = new JTextField();
|
tf_regulartime_month7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_month7);
|
tf_regulartime_month7.setColumns(2);
|
tf_regulartime_month7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_660.add(new JLabel("-"));
|
|
tf_regulartime_day7 = new JTextField();
|
tf_regulartime_day7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_day7);
|
tf_regulartime_day7.setColumns(2);
|
tf_regulartime_day7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_660.add(new JLabel(" "));
|
|
tf_regulartime_hour7 = new JTextField();
|
tf_regulartime_hour7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_hour7);
|
tf_regulartime_hour7.setColumns(2);
|
tf_regulartime_hour7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_660.add(new JLabel(":"));
|
|
tf_regulartime_minute7 = new JTextField();
|
tf_regulartime_minute7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_minute7);
|
tf_regulartime_minute7.setColumns(2);
|
tf_regulartime_minute7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_660.add(new JLabel(":"));
|
|
tf_regulartime_second7 = new JTextField();
|
tf_regulartime_second7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_660.add(tf_regulartime_second7);
|
tf_regulartime_second7.setColumns(2);
|
tf_regulartime_second7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_661 = new JPanel();
|
panel_657.add(panel_661);
|
panel_661.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_662 = new JPanel();
|
panel_662.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_661.add(panel_662);
|
panel_662.setLayout(new BorderLayout());
|
|
cb_repetcomm7 = new JComboBox<String>();
|
cb_repetcomm7.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_662.add(cb_repetcomm7,BorderLayout.CENTER);
|
|
JPanel panel_663 = new JPanel();
|
panel_663.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_661.add(panel_663);
|
panel_663.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year7 = new JTextField();
|
tf_repetcomm_year7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_year7);
|
tf_repetcomm_year7.setColumns(4);
|
tf_repetcomm_year7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_663.add(new JLabel("-"));
|
|
tf_repetcomm_month7 = new JTextField();
|
tf_repetcomm_month7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_month7);
|
tf_repetcomm_month7.setColumns(2);
|
tf_repetcomm_month7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_663.add(new JLabel("-"));
|
|
tf_repetcomm_day7 = new JTextField();
|
tf_repetcomm_day7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_day7);
|
tf_repetcomm_day7.setColumns(2);
|
tf_repetcomm_day7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_663.add(new JLabel(" "));
|
|
tf_repetcomm_hour7 = new JTextField();
|
tf_repetcomm_hour7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_hour7);
|
tf_repetcomm_hour7.setColumns(2);
|
tf_repetcomm_hour7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_663.add(new JLabel(":"));
|
|
tf_repetcomm_minute7 = new JTextField();
|
tf_repetcomm_minute7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_minute7);
|
tf_repetcomm_minute7.setColumns(2);
|
tf_repetcomm_minute7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_663.add(new JLabel(":"));
|
|
tf_repetcomm_second7 = new JTextField();
|
tf_repetcomm_second7.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_663.add(tf_repetcomm_second7);
|
tf_repetcomm_second7.setColumns(2);
|
tf_repetcomm_second7.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_664 = new JPanel();
|
panel_664.setBorder(new TitledBorder(null, "·Ö·8", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_664);
|
panel_664.setLayout(new GridLayout(2,1));
|
|
JPanel panel_665 = new JPanel();
|
panel_664.add(panel_665);
|
panel_665.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_666 = new JPanel();
|
panel_666.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_665.add(panel_666);
|
panel_666.setLayout(new BorderLayout());
|
|
cb_regulartime8 = new JComboBox<String>();
|
cb_regulartime8.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_666.add(cb_regulartime8,BorderLayout.CENTER);
|
|
JPanel panel_667 = new JPanel();
|
panel_667.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_665.add(panel_667);
|
panel_667.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year8 = new JTextField();
|
tf_regulartime_year8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_year8);
|
tf_regulartime_year8.setColumns(4);
|
tf_regulartime_year8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_667.add(new JLabel("-"));
|
|
tf_regulartime_month8 = new JTextField();
|
tf_regulartime_month8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_month8);
|
tf_regulartime_month8.setColumns(2);
|
tf_regulartime_month8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_667.add(new JLabel("-"));
|
|
tf_regulartime_day8 = new JTextField();
|
tf_regulartime_day8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_day8);
|
tf_regulartime_day8.setColumns(2);
|
tf_regulartime_day8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_667.add(new JLabel(" "));
|
|
tf_regulartime_hour8 = new JTextField();
|
tf_regulartime_hour8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_hour8);
|
tf_regulartime_hour8.setColumns(2);
|
tf_regulartime_hour8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_667.add(new JLabel(":"));
|
|
tf_regulartime_minute8 = new JTextField();
|
tf_regulartime_minute8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_minute8);
|
tf_regulartime_minute8.setColumns(2);
|
tf_regulartime_minute8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_667.add(new JLabel(":"));
|
|
tf_regulartime_second8 = new JTextField();
|
tf_regulartime_second8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_667.add(tf_regulartime_second8);
|
tf_regulartime_second8.setColumns(2);
|
tf_regulartime_second8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_668 = new JPanel();
|
panel_664.add(panel_668);
|
panel_668.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_669 = new JPanel();
|
panel_669.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_668.add(panel_669);
|
panel_669.setLayout(new BorderLayout());
|
|
cb_repetcomm8 = new JComboBox<String>();
|
cb_repetcomm8.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_669.add(cb_repetcomm8,BorderLayout.CENTER);
|
|
JPanel panel_670 = new JPanel();
|
panel_670.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_668.add(panel_670);
|
panel_670.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year8 = new JTextField();
|
tf_repetcomm_year8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_year8);
|
tf_repetcomm_year8.setColumns(4);
|
tf_repetcomm_year8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_670.add(new JLabel("-"));
|
|
tf_repetcomm_month8 = new JTextField();
|
tf_repetcomm_month8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_month8);
|
tf_repetcomm_month8.setColumns(2);
|
tf_repetcomm_month8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_670.add(new JLabel("-"));
|
|
tf_repetcomm_day8 = new JTextField();
|
tf_repetcomm_day8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_day8);
|
tf_repetcomm_day8.setColumns(2);
|
tf_repetcomm_day8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_670.add(new JLabel(" "));
|
|
tf_repetcomm_hour8 = new JTextField();
|
tf_repetcomm_hour8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_hour8);
|
tf_repetcomm_hour8.setColumns(2);
|
tf_repetcomm_hour8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_670.add(new JLabel(":"));
|
|
tf_repetcomm_minute8 = new JTextField();
|
tf_repetcomm_minute8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_minute8);
|
tf_repetcomm_minute8.setColumns(2);
|
tf_repetcomm_minute8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_670.add(new JLabel(":"));
|
|
tf_repetcomm_second8 = new JTextField();
|
tf_repetcomm_second8.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_670.add(tf_repetcomm_second8);
|
tf_repetcomm_second8.setColumns(2);
|
tf_repetcomm_second8.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
JPanel panel_671 = new JPanel();
|
panel_671.setBorder(new TitledBorder(null, "·Ö·9", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_671);
|
panel_671.setLayout(new GridLayout(2,1));
|
|
JPanel panel_672 = new JPanel();
|
panel_671.add(panel_672);
|
panel_672.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_673 = new JPanel();
|
panel_673.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_672.add(panel_673);
|
panel_673.setLayout(new BorderLayout());
|
|
cb_regulartime9 = new JComboBox<String>();
|
cb_regulartime9.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_673.add(cb_regulartime9,BorderLayout.CENTER);
|
|
JPanel panel_674 = new JPanel();
|
panel_674.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_672.add(panel_674);
|
panel_674.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year9 = new JTextField();
|
tf_regulartime_year9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_year9);
|
tf_regulartime_year9.setColumns(4);
|
tf_regulartime_year9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_674.add(new JLabel("-"));
|
|
tf_regulartime_month9 = new JTextField();
|
tf_regulartime_month9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_month9);
|
tf_regulartime_month9.setColumns(2);
|
tf_regulartime_month9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_674.add(new JLabel("-"));
|
|
tf_regulartime_day9 = new JTextField();
|
tf_regulartime_day9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_day9);
|
tf_regulartime_day9.setColumns(2);
|
tf_regulartime_day9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_674.add(new JLabel(" "));
|
|
tf_regulartime_hour9 = new JTextField();
|
tf_regulartime_hour9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_hour9);
|
tf_regulartime_hour9.setColumns(2);
|
tf_regulartime_hour9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_674.add(new JLabel(":"));
|
|
tf_regulartime_minute9 = new JTextField();
|
tf_regulartime_minute9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_minute9);
|
tf_regulartime_minute9.setColumns(2);
|
tf_regulartime_minute9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_674.add(new JLabel(":"));
|
|
tf_regulartime_second9 = new JTextField();
|
tf_regulartime_second9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_674.add(tf_regulartime_second9);
|
tf_regulartime_second9.setColumns(2);
|
tf_regulartime_second9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_675 = new JPanel();
|
panel_671.add(panel_675);
|
panel_675.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_676 = new JPanel();
|
panel_676.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_675.add(panel_676);
|
panel_676.setLayout(new BorderLayout());
|
|
cb_repetcomm9 = new JComboBox<String>();
|
cb_repetcomm9.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_676.add(cb_repetcomm9,BorderLayout.CENTER);
|
|
JPanel panel_677 = new JPanel();
|
panel_677.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_675.add(panel_677);
|
panel_677.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year9 = new JTextField();
|
tf_repetcomm_year9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_year9);
|
tf_repetcomm_year9.setColumns(4);
|
tf_repetcomm_year9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_677.add(new JLabel("-"));
|
|
tf_repetcomm_month9 = new JTextField();
|
tf_repetcomm_month9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_month9);
|
tf_repetcomm_month9.setColumns(2);
|
tf_repetcomm_month9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_677.add(new JLabel("-"));
|
|
tf_repetcomm_day9 = new JTextField();
|
tf_repetcomm_day9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_day9);
|
tf_repetcomm_day9.setColumns(2);
|
tf_repetcomm_day9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_677.add(new JLabel(" "));
|
|
tf_repetcomm_hour9 = new JTextField();
|
tf_repetcomm_hour9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_hour9);
|
tf_repetcomm_hour9.setColumns(2);
|
tf_repetcomm_hour9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_677.add(new JLabel(":"));
|
|
tf_repetcomm_minute9 = new JTextField();
|
tf_repetcomm_minute9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_minute9);
|
tf_repetcomm_minute9.setColumns(2);
|
tf_repetcomm_minute9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_677.add(new JLabel(":"));
|
|
tf_repetcomm_second9 = new JTextField();
|
tf_repetcomm_second9.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_677.add(tf_repetcomm_second9);
|
tf_repetcomm_second9.setColumns(2);
|
tf_repetcomm_second9.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_678 = new JPanel();
|
panel_678.setBorder(new TitledBorder(null, "·Ö·10", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_678);
|
panel_678.setLayout(new GridLayout(2,1));
|
|
JPanel panel_679 = new JPanel();
|
panel_678.add(panel_679);
|
panel_679.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_680 = new JPanel();
|
panel_680.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_679.add(panel_680);
|
panel_680.setLayout(new BorderLayout());
|
|
cb_regulartime10 = new JComboBox<String>();
|
cb_regulartime10.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_680.add(cb_regulartime10,BorderLayout.CENTER);
|
|
JPanel panel_681 = new JPanel();
|
panel_681.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_679.add(panel_681);
|
panel_681.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year10 = new JTextField();
|
tf_regulartime_year10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_year10);
|
tf_regulartime_year10.setColumns(4);
|
tf_regulartime_year10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_681.add(new JLabel("-"));
|
|
tf_regulartime_month10 = new JTextField();
|
tf_regulartime_month10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_month10);
|
tf_regulartime_month10.setColumns(2);
|
tf_regulartime_month10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_681.add(new JLabel("-"));
|
|
tf_regulartime_day10 = new JTextField();
|
tf_regulartime_day10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_day10);
|
tf_regulartime_day10.setColumns(2);
|
tf_regulartime_day10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_681.add(new JLabel(" "));
|
|
tf_regulartime_hour10 = new JTextField();
|
tf_regulartime_hour10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_hour10);
|
tf_regulartime_hour10.setColumns(2);
|
tf_regulartime_hour10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_681.add(new JLabel(":"));
|
|
tf_regulartime_minute10 = new JTextField();
|
tf_regulartime_minute10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_minute10);
|
tf_regulartime_minute10.setColumns(2);
|
tf_regulartime_minute10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_681.add(new JLabel(":"));
|
|
tf_regulartime_second10 = new JTextField();
|
tf_regulartime_second10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_681.add(tf_regulartime_second10);
|
tf_regulartime_second10.setColumns(2);
|
tf_regulartime_second10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
JPanel panel_682 = new JPanel();
|
panel_678.add(panel_682);
|
panel_682.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_683 = new JPanel();
|
panel_683.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_682.add(panel_683);
|
panel_683.setLayout(new BorderLayout());
|
|
cb_repetcomm10 = new JComboBox<String>();
|
cb_repetcomm10.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_683.add(cb_repetcomm10,BorderLayout.CENTER);
|
|
JPanel panel_684 = new JPanel();
|
panel_684.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_682.add(panel_684);
|
panel_684.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year10 = new JTextField();
|
tf_repetcomm_year10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_year10);
|
tf_repetcomm_year10.setColumns(4);
|
tf_repetcomm_year10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_684.add(new JLabel("-"));
|
|
tf_repetcomm_month10 = new JTextField();
|
tf_repetcomm_month10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_month10);
|
tf_repetcomm_month10.setColumns(2);
|
tf_repetcomm_month10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_684.add(new JLabel("-"));
|
|
tf_repetcomm_day10 = new JTextField();
|
tf_repetcomm_day10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_day10);
|
tf_repetcomm_day10.setColumns(2);
|
tf_repetcomm_day10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_684.add(new JLabel(" "));
|
|
tf_repetcomm_hour10 = new JTextField();
|
tf_repetcomm_hour10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_hour10);
|
tf_repetcomm_hour10.setColumns(2);
|
tf_repetcomm_hour10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_684.add(new JLabel(":"));
|
|
tf_repetcomm_minute10 = new JTextField();
|
tf_repetcomm_minute10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_minute10);
|
tf_repetcomm_minute10.setColumns(2);
|
tf_repetcomm_minute10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_684.add(new JLabel(":"));
|
|
tf_repetcomm_second10 = new JTextField();
|
tf_repetcomm_second10.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_684.add(tf_repetcomm_second10);
|
tf_repetcomm_second10.setColumns(2);
|
tf_repetcomm_second10.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
JPanel panel_685 = new JPanel();
|
panel_685.setBorder(new TitledBorder(null, "·Ö·11", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_685);
|
panel_685.setLayout(new GridLayout(2,1));
|
|
JPanel panel_686 = new JPanel();
|
panel_685.add(panel_686);
|
panel_686.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_687 = new JPanel();
|
panel_687.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_686.add(panel_687);
|
panel_687.setLayout(new BorderLayout());
|
|
cb_regulartime11 = new JComboBox<String>();
|
cb_regulartime11.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_687.add(cb_regulartime11,BorderLayout.CENTER);
|
|
JPanel panel_688 = new JPanel();
|
panel_688.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_686.add(panel_688);
|
panel_688.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year11 = new JTextField();
|
tf_regulartime_year11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_year11);
|
tf_regulartime_year11.setColumns(4);
|
tf_regulartime_year11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_688.add(new JLabel("-"));
|
|
tf_regulartime_month11 = new JTextField();
|
tf_regulartime_month11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_month11);
|
tf_regulartime_month11.setColumns(2);
|
tf_regulartime_month11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_688.add(new JLabel("-"));
|
|
tf_regulartime_day11 = new JTextField();
|
tf_regulartime_day11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_day11);
|
tf_regulartime_day11.setColumns(2);
|
tf_regulartime_day11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_688.add(new JLabel(" "));
|
|
tf_regulartime_hour11 = new JTextField();
|
tf_regulartime_hour11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_hour11);
|
tf_regulartime_hour11.setColumns(2);
|
tf_regulartime_hour11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_688.add(new JLabel(":"));
|
|
tf_regulartime_minute11 = new JTextField();
|
tf_regulartime_minute11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_minute11);
|
tf_regulartime_minute11.setColumns(2);
|
tf_regulartime_minute11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_688.add(new JLabel(":"));
|
|
tf_regulartime_second11 = new JTextField();
|
tf_regulartime_second11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_688.add(tf_regulartime_second11);
|
tf_regulartime_second11.setColumns(2);
|
tf_regulartime_second11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_689 = new JPanel();
|
panel_685.add(panel_689);
|
panel_689.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_690 = new JPanel();
|
panel_690.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_689.add(panel_690);
|
panel_690.setLayout(new BorderLayout());
|
|
cb_repetcomm11 = new JComboBox<String>();
|
cb_repetcomm11.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_690.add(cb_repetcomm11,BorderLayout.CENTER);
|
|
JPanel panel_691 = new JPanel();
|
panel_691.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_689.add(panel_691);
|
panel_691.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year11 = new JTextField();
|
tf_repetcomm_year11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_year11);
|
tf_repetcomm_year11.setColumns(4);
|
tf_repetcomm_year11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_691.add(new JLabel("-"));
|
|
tf_repetcomm_month11 = new JTextField();
|
tf_repetcomm_month11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_month11);
|
tf_repetcomm_month11.setColumns(2);
|
tf_repetcomm_month11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_691.add(new JLabel("-"));
|
|
tf_repetcomm_day11 = new JTextField();
|
tf_repetcomm_day11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_day11);
|
tf_repetcomm_day11.setColumns(2);
|
tf_repetcomm_day11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_691.add(new JLabel(" "));
|
|
tf_repetcomm_hour11 = new JTextField();
|
tf_repetcomm_hour11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_hour11);
|
tf_repetcomm_hour11.setColumns(2);
|
tf_repetcomm_hour11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_691.add(new JLabel(":"));
|
|
tf_repetcomm_minute11 = new JTextField();
|
tf_repetcomm_minute11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_minute11);
|
tf_repetcomm_minute11.setColumns(2);
|
tf_repetcomm_minute11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_691.add(new JLabel(":"));
|
|
tf_repetcomm_second11 = new JTextField();
|
tf_repetcomm_second11.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_691.add(tf_repetcomm_second11);
|
tf_repetcomm_second11.setColumns(2);
|
tf_repetcomm_second11.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_692 = new JPanel();
|
panel_692.setBorder(new TitledBorder(null, "·Ö·12", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_656.add(panel_692);
|
panel_692.setLayout(new GridLayout(2,1));
|
|
JPanel panel_693 = new JPanel();
|
panel_692.add(panel_693);
|
panel_693.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_694 = new JPanel();
|
panel_694.setBorder(new TitledBorder(null, "¶¨Ê±¹Ø¶ÏʹÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_693.add(panel_694);
|
panel_694.setLayout(new BorderLayout());
|
|
cb_regulartime12 = new JComboBox<String>();
|
cb_regulartime12.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_694.add(cb_regulartime12,BorderLayout.CENTER);
|
|
JPanel panel_695 = new JPanel();
|
panel_695.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_693.add(panel_695);
|
panel_695.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_regulartime_year12 = new JTextField();
|
tf_regulartime_year12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_year12);
|
tf_regulartime_year12.setColumns(4);
|
tf_regulartime_year12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_695.add(new JLabel("-"));
|
|
tf_regulartime_month12 = new JTextField();
|
tf_regulartime_month12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_month12);
|
tf_regulartime_month12.setColumns(2);
|
tf_regulartime_month12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_695.add(new JLabel("-"));
|
|
tf_regulartime_day12 = new JTextField();
|
tf_regulartime_day12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_day12);
|
tf_regulartime_day12.setColumns(2);
|
tf_regulartime_day12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_695.add(new JLabel(" "));
|
|
tf_regulartime_hour12 = new JTextField();
|
tf_regulartime_hour12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_hour12);
|
tf_regulartime_hour12.setColumns(2);
|
tf_regulartime_hour12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_695.add(new JLabel(":"));
|
|
tf_regulartime_minute12 = new JTextField();
|
tf_regulartime_minute12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_minute12);
|
tf_regulartime_minute12.setColumns(2);
|
tf_regulartime_minute12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_695.add(new JLabel(":"));
|
|
tf_regulartime_second12 = new JTextField();
|
tf_regulartime_second12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_695.add(tf_regulartime_second12);
|
tf_regulartime_second12.setColumns(2);
|
tf_regulartime_second12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
|
|
JPanel panel_696 = new JPanel();
|
panel_692.add(panel_696);
|
panel_696.setLayout(new FlowLayout(FlowLayout.LEFT, 6, 0));
|
|
JPanel panel_697 = new JPanel();
|
panel_697.setBorder(new TitledBorder(null, "¶¨Ê±¸´Í¨Ê¹ÄÜ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_696.add(panel_697);
|
panel_697.setLayout(new BorderLayout());
|
|
cb_repetcomm12 = new JComboBox<String>();
|
cb_repetcomm12.setModel(new DefaultComboBoxModel(new String[] {"½ûÓÃ ", "ÆôÓÃ "}));
|
panel_697.add(cb_repetcomm12,BorderLayout.CENTER);
|
|
JPanel panel_698 = new JPanel();
|
panel_698.setBorder(new TitledBorder(null, "Äê-ÔÂ-ÈÕ Ê±:·Ö:Ãë", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_696.add(panel_698);
|
panel_698.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 0));
|
|
tf_repetcomm_year12 = new JTextField();
|
tf_repetcomm_year12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_year12);
|
tf_repetcomm_year12.setColumns(4);
|
tf_repetcomm_year12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_698.add(new JLabel("-"));
|
|
tf_repetcomm_month12 = new JTextField();
|
tf_repetcomm_month12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_month12);
|
tf_repetcomm_month12.setColumns(2);
|
tf_repetcomm_month12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_698.add(new JLabel("-"));
|
|
tf_repetcomm_day12 = new JTextField();
|
tf_repetcomm_day12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_day12);
|
tf_repetcomm_day12.setColumns(2);
|
tf_repetcomm_day12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_698.add(new JLabel(" "));
|
|
tf_repetcomm_hour12 = new JTextField();
|
tf_repetcomm_hour12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_hour12);
|
tf_repetcomm_hour12.setColumns(2);
|
tf_repetcomm_hour12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_698.add(new JLabel(":"));
|
|
tf_repetcomm_minute12 = new JTextField();
|
tf_repetcomm_minute12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_minute12);
|
tf_repetcomm_minute12.setColumns(2);
|
tf_repetcomm_minute12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
panel_698.add(new JLabel(":"));
|
|
tf_repetcomm_second12 = new JTextField();
|
tf_repetcomm_second12.setFont(new Font("Courier New", Font.PLAIN, 14));
|
panel_698.add(tf_repetcomm_second12);
|
tf_repetcomm_second12.setColumns(2);
|
tf_repetcomm_second12.setDocument(new LimitedDocument(5, "0123456789"));
|
|
JPanel panel_param1 = new JPanel();
|
panel_param1.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 0));
|
panel_610.add(panel_param1,BorderLayout.SOUTH);
|
|
//·Ö·1~6²ÎÊý¶ÁÈ¡
|
btn_regulartime_read1 = new JButton("·Ö·1~6²ÎÊý¶ÁÈ¡");
|
btn_regulartime_read1.setEnabled(false);
|
btn_regulartime_read1.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_Load1Time_RegAddr_Start, ByteBuffer.allocate(0));
|
}
|
});
|
panel_param1.add(btn_regulartime_read1);
|
|
//·Ö·1~6·Öʱ²ÎÊýÉèÖÃ
|
btn_regulartime_write1 = new JButton("·Ö·1~6²ÎÊýÉèÖÃ");
|
btn_regulartime_write1.setEnabled(false);
|
btn_regulartime_write1.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_TimeControl tmp_timeControl = new Power_TimeControl();
|
|
tmp_timeControl.timeControls[0].time_close_en = cb_regulartime1.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[0].time_close_year = Integer.parseInt(tf_regulartime_year1.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[0].time_close_month = Integer.parseInt(tf_regulartime_month1.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[0].time_close_day = Integer.parseInt(tf_regulartime_day1.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[0].time_close_hour = Integer.parseInt(tf_regulartime_hour1.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[0].time_close_minute = Integer.parseInt(tf_regulartime_minute1.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[0].time_close_second = Integer.parseInt(tf_regulartime_second1.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[0].time_repetcomm_en = cb_repetcomm1.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[0].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year1.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[0].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month1.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[0].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day1.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[0].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour1.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[0].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute1.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[0].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second1.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
System.out.println("tmp_timeControl.timeControls[0].time_repetcomm_hour£º"+tmp_timeControl.timeControls[0].time_repetcomm_hour);
|
|
tmp_timeControl.timeControls[1].time_close_en = cb_regulartime2.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[1].time_close_year = Integer.parseInt(tf_regulartime_year2.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[1].time_close_month = Integer.parseInt(tf_regulartime_month2.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[1].time_close_day = Integer.parseInt(tf_regulartime_day2.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[1].time_close_hour = Integer.parseInt(tf_regulartime_hour2.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[1].time_close_minute = Integer.parseInt(tf_regulartime_minute2.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[1].time_close_second = Integer.parseInt(tf_regulartime_second2.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[1].time_repetcomm_en = cb_repetcomm2.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[1].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year2.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[1].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month2.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[1].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day2.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[1].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour2.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[1].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute2.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[1].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second2.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[2].time_close_en = cb_regulartime3.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[2].time_close_year = Integer.parseInt(tf_regulartime_year3.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[2].time_close_month = Integer.parseInt(tf_regulartime_month3.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[2].time_close_day = Integer.parseInt(tf_regulartime_day3.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[2].time_close_hour = Integer.parseInt(tf_regulartime_hour3.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[2].time_close_minute = Integer.parseInt(tf_regulartime_minute3.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[2].time_close_second = Integer.parseInt(tf_regulartime_second3.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[2].time_repetcomm_en = cb_repetcomm3.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[2].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year3.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[2].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month3.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[2].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day3.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[2].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour3.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[2].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute3.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[2].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second3.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[3].time_close_en = cb_regulartime4.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[3].time_close_year = Integer.parseInt(tf_regulartime_year4.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[3].time_close_month = Integer.parseInt(tf_regulartime_month4.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[3].time_close_day = Integer.parseInt(tf_regulartime_day4.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[3].time_close_hour = Integer.parseInt(tf_regulartime_hour4.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[3].time_close_minute = Integer.parseInt(tf_regulartime_minute4.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[3].time_close_second = Integer.parseInt(tf_regulartime_second4.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[3].time_repetcomm_en = cb_repetcomm4.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[3].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year4.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[3].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month4.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[3].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day4.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[3].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour4.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[3].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute4.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[3].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second4.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[4].time_close_en = cb_regulartime5.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[4].time_close_year = Integer.parseInt(tf_regulartime_year5.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[4].time_close_month = Integer.parseInt(tf_regulartime_month5.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[4].time_close_day = Integer.parseInt(tf_regulartime_day5.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[4].time_close_hour = Integer.parseInt(tf_regulartime_hour5.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[4].time_close_minute = Integer.parseInt(tf_regulartime_minute5.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[4].time_close_second = Integer.parseInt(tf_regulartime_second5.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[4].time_repetcomm_en = cb_repetcomm5.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[4].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year5.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[4].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month5.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[4].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day5.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[4].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour5.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[4].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute5.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[4].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second5.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[5].time_close_en = cb_regulartime6.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[5].time_close_year = Integer.parseInt(tf_regulartime_year6.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[5].time_close_month = Integer.parseInt(tf_regulartime_month6.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[5].time_close_day = Integer.parseInt(tf_regulartime_day6.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[5].time_close_hour = Integer.parseInt(tf_regulartime_hour6.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[5].time_close_minute = Integer.parseInt(tf_regulartime_minute6.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[5].time_close_second = Integer.parseInt(tf_regulartime_second6.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[5].time_repetcomm_en = cb_repetcomm6.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[5].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year6.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[5].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month6.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[5].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day6.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[5].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour6.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[5].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute6.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[5].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second6.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_Load1Time_RegAddr_Start, tmp_timeControl.getByteBuffer1());
|
|
}
|
});
|
panel_param1.add(btn_regulartime_write1);
|
|
|
JPanel panel_param2 = new JPanel();
|
panel_param2.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 0));
|
panel_611.add(panel_param2,BorderLayout.SOUTH);
|
|
//·Ö·7~12²ÎÊý¶ÁÈ¡
|
btn_regulartime_read2 = new JButton("·Ö·7~12²ÎÊý¶ÁÈ¡");
|
btn_regulartime_read2.setEnabled(false);
|
btn_regulartime_read2.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_READ, Power_ComBase.PWD_Load7Time_RegAddr_Start, ByteBuffer.allocate(0));
|
|
}
|
});
|
panel_param2.add(btn_regulartime_read2);
|
|
//·Ö·7~12²ÎÊýÉèÖÃ
|
btn_regulartime_write2 = new JButton("·Ö·7~12²ÎÊýÉèÖÃ");
|
btn_regulartime_write2.setEnabled(false);
|
btn_regulartime_write2.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Power_TimeControl tmp_timeControl = new Power_TimeControl();
|
|
tmp_timeControl.timeControls[6].time_close_en = cb_regulartime7.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[6].time_close_year = Integer.parseInt(tf_regulartime_year7.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[6].time_close_month = Integer.parseInt(tf_regulartime_month7.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[6].time_close_day = Integer.parseInt(tf_regulartime_day7.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[6].time_close_hour = Integer.parseInt(tf_regulartime_hour7.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[6].time_close_minute = Integer.parseInt(tf_regulartime_minute7.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[6].time_close_second = Integer.parseInt(tf_regulartime_second7.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[6].time_repetcomm_en = cb_repetcomm7.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[6].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year7.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[6].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month7.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[6].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day7.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[6].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour7.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[6].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute7.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[6].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second7.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[7].time_close_en = cb_regulartime8.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[7].time_close_year = Integer.parseInt(tf_regulartime_year8.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[7].time_close_month = Integer.parseInt(tf_regulartime_month8.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[7].time_close_day = Integer.parseInt(tf_regulartime_day8.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[7].time_close_hour = Integer.parseInt(tf_regulartime_hour8.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[7].time_close_minute = Integer.parseInt(tf_regulartime_minute8.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[7].time_close_second = Integer.parseInt(tf_regulartime_second8.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[7].time_repetcomm_en = cb_repetcomm8.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[7].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year8.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[7].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month8.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[7].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day8.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[7].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour8.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[7].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute8.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[7].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second8.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[8].time_close_en = cb_regulartime9.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[8].time_close_year = Integer.parseInt(tf_regulartime_year9.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[8].time_close_month = Integer.parseInt(tf_regulartime_month9.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[8].time_close_day = Integer.parseInt(tf_regulartime_day9.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[8].time_close_hour = Integer.parseInt(tf_regulartime_hour9.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[8].time_close_minute = Integer.parseInt(tf_regulartime_minute9.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[8].time_close_second = Integer.parseInt(tf_regulartime_second9.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[8].time_repetcomm_en = cb_repetcomm9.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[8].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year9.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[8].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month9.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[8].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day9.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[8].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour9.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[8].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute9.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[8].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second9.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[9].time_close_en = cb_regulartime10.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[9].time_close_year = Integer.parseInt(tf_regulartime_year10.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[9].time_close_month = Integer.parseInt(tf_regulartime_month10.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[9].time_close_day = Integer.parseInt(tf_regulartime_day10.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[9].time_close_hour = Integer.parseInt(tf_regulartime_hour10.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[9].time_close_minute = Integer.parseInt(tf_regulartime_minute10.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[9].time_close_second = Integer.parseInt(tf_regulartime_second10.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[9].time_repetcomm_en = cb_repetcomm10.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[9].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year10.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[9].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month10.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[9].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day10.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[9].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour10.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[9].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute10.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[9].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second10.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[10].time_close_en = cb_regulartime11.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[10].time_close_year = Integer.parseInt(tf_regulartime_year11.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[10].time_close_month = Integer.parseInt(tf_regulartime_month11.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[10].time_close_day = Integer.parseInt(tf_regulartime_day11.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[10].time_close_hour = Integer.parseInt(tf_regulartime_hour11.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[10].time_close_minute = Integer.parseInt(tf_regulartime_minute11.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[10].time_close_second = Integer.parseInt(tf_regulartime_second11.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[10].time_repetcomm_en = cb_repetcomm11.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[10].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year11.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[10].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month11.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[10].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day11.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[10].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour11.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[10].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute11.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[10].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second11.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[11].time_close_en = cb_regulartime12.getSelectedIndex(); //3000 ·Ö·1¶¨Ê±¹Ø¶ÏʹÄÜ 1£ºÊ¹Äܶ¨Ê±¹Ø¶Ï
|
tmp_timeControl.timeControls[11].time_close_year = Integer.parseInt(tf_regulartime_year12.getText()); //3001 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[11].time_close_month = Integer.parseInt(tf_regulartime_month12.getText()); //3002 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[11].time_close_day = Integer.parseInt(tf_regulartime_day12.getText()); //3003 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[11].time_close_hour = Integer.parseInt(tf_regulartime_hour12.getText()); //3004 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÊ±
|
tmp_timeControl.timeControls[11].time_close_minute = Integer.parseInt(tf_regulartime_minute12.getText()); //3005 ·Ö·1¹Ø¶Ïʱ¼ä¡ª·Ö
|
tmp_timeControl.timeControls[11].time_close_second = Integer.parseInt(tf_regulartime_second12.getText()); //3006 ·Ö·1¹Ø¶Ïʱ¼ä¡ªÃë
|
|
tmp_timeControl.timeControls[11].time_repetcomm_en = cb_repetcomm12.getSelectedIndex(); //3007 ·Ö·1¶¨Ê±¸´Í¨Ê¹ÄÜ
|
tmp_timeControl.timeControls[11].time_repetcomm_year = Integer.parseInt(tf_repetcomm_year12.getText()); //3008 ·Ö·1¸´Í¨Ê±¼ä¡ªÄê 0~100£¬Àý£º2024Ä꣬2024-2000=24
|
tmp_timeControl.timeControls[11].time_repetcomm_month = Integer.parseInt(tf_repetcomm_month12.getText()); //3009 ·Ö·1¸´Í¨Ê±¼ä¡ªÔÂ
|
tmp_timeControl.timeControls[11].time_repetcomm_day = Integer.parseInt(tf_repetcomm_day12.getText()); //3010 ·Ö·1¸´Í¨Ê±¼ä¡ªÈÕ
|
tmp_timeControl.timeControls[11].time_repetcomm_hour = Integer.parseInt(tf_repetcomm_hour12.getText()); //3011 ·Ö·1¸´Í¨Ê±¼ä¡ªÊ±
|
tmp_timeControl.timeControls[11].time_repetcomm_minute = Integer.parseInt(tf_repetcomm_minute12.getText()); //3012 ·Ö·1¸´Í¨Ê±¼ä¡ª·Ö
|
tmp_timeControl.timeControls[11].time_repetcomm_second = Integer.parseInt(tf_repetcomm_second12.getText()); //3013 ·Ö·1¸´Í¨Ê±¼ä¡ªÃë
|
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_MULTY, Power_ComBase.PWD_Load7Time_RegAddr_Start, tmp_timeControl.getByteBuffer2());
|
|
}
|
});
|
panel_param2.add(btn_regulartime_write2);
|
|
|
//²Ù×÷½á¹ûÐÅÏ¢
|
JPanel panel_result = new JPanel();
|
panel_result.setBorder(new TitledBorder(null, "²Ù×÷½á¹ûÐÅÏ¢", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_jzparam.add(panel_result,BorderLayout.SOUTH);
|
panel_result.setLayout(new BorderLayout(0, 0));
|
|
tf_sys_jiaozhun_res = new JTextField();
|
panel_result.add(tf_sys_jiaozhun_res);
|
tf_sys_jiaozhun_res.setColumns(10);
|
/********************************************************************/
|
/********************* Ô¶³ÌÉý¼¶ ***********************************************/
|
|
panel_sysupdate.setBackground(Color.yellow);
|
panel_sysupdate.setLayout(new BorderLayout());
|
|
JPanel panel_700 = new JPanel();
|
panel_sysupdate.add(panel_700, BorderLayout.NORTH);
|
panel_700.setLayout(new BorderLayout(0, 0));
|
|
//³ÌÐòÎļþ·¾¶
|
JPanel panel_701 = new JPanel();
|
panel_701.setBorder(new TitledBorder(null, " \u7A0B\u5E8F\u6587\u4EF6\u8DEF\u5F84", TitledBorder.LEADING, TitledBorder.TOP, null, null));
|
panel_700.add(panel_701, BorderLayout.NORTH);
|
panel_701.setLayout(new BorderLayout(0, 0));
|
|
JTextField tf_updatefile = new JTextField();
|
panel_701.add(tf_updatefile, BorderLayout.CENTER);
|
tf_updatefile.setColumns(10);
|
|
JPanel panel_702 = new JPanel();
|
panel_700.add(panel_702, BorderLayout.SOUTH);
|
panel_702.setLayout(new GridLayout(0, 6, 4, 0));
|
|
//µ¼ÈëÎļþ
|
JButton btn_openfile = new JButton("\u5BFC\u5165\u6587\u4EF6");
|
btn_openfile.setEnabled(false);
|
btn_openfile.setIcon(new ImageIcon(page_dfu.class.getResource("/png_32x32/Button Add.png")));
|
btn_openfile.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
if(null == parseDir) {
|
parseDir = new JFileChooser();
|
}
|
|
parseDir.setFileSelectionMode(JFileChooser.FILES_ONLY);
|
parseDir.setFileFilter(new FileFilter() {
|
@Override
|
public boolean accept(File f) {
|
if (f.isDirectory()) {
|
return true;
|
}else {
|
return f.getName().toUpperCase().endsWith(".SM5");
|
}
|
}
|
|
@Override
|
public String getDescription() {
|
return "*.SM5";
|
}
|
});
|
parseDir.setDialogTitle("´ò¿ªÉý¼¶Îļþ!");
|
if(JFileChooser.APPROVE_OPTION == parseDir.showOpenDialog(null)) {
|
//String file_n = parseDir.getSelectedFile().getAbsolutePath();
|
//File f = new File(file_n);
|
//if(f.length() < ((1024*16-256-4096)+64)) {
|
tf_updatefile.setText(parseDir.getSelectedFile().getAbsolutePath());
|
//} else {
|
// JOptionPane.showMessageDialog(frmSerialport, "Îļþ³¤¶È³¬¹ýоƬ´æ´¢¿Õ¼ä, ÇëÑ¡ÔñÕýÈ·µÄÎļþ!");
|
//}
|
}
|
}
|
});
|
panel_702.add(btn_openfile);
|
|
//Æô¶¯Éý¼¶
|
btn_update_start = new JButton("Éý¼¶³ÌÐò");
|
btn_update_start.setEnabled(false);
|
btn_update_start.setIcon(new ImageIcon(page_dfu.class.getResource("/png_32x32/Button Play.png")));
|
btn_update_start.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
if(tf_updatefile.getText().trim().length() < 3) {
|
JOptionPane.showMessageDialog(null, "ÇëÏÈÊäÈëÉý¼¶³ÌÐòÎļþ!");
|
return;
|
}
|
if(JOptionPane.NO_OPTION == JOptionPane.showConfirmDialog(null, "È·¶¨ÒªÉý¼¶³ÌÐòÂð?",
|
"²Ù×÷È·ÈÏ", JOptionPane.YES_NO_OPTION)) {
|
return;
|
}
|
Comm_POWER.setCommCmd_DFU(true, parseDir.getSelectedFile().getAbsolutePath(), ta_dfu_inf);
|
|
}
|
});
|
panel_702.add(btn_update_start);
|
|
//Í£Ö¹Éý¼¶
|
btn_update_stop = new JButton("Í£Ö¹·¢ËÍ");
|
btn_update_stop.setEnabled(false);
|
btn_update_stop.setIcon(new ImageIcon(page_dfu.class.getResource("/png_32x32/Button Stop.png")));
|
btn_update_stop.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
|
Comm_POWER.setCommCmd_DFU(false, parseDir.getSelectedFile().getAbsolutePath(), ta_dfu_inf);
|
}
|
});
|
panel_702.add(btn_update_stop);
|
|
//Éý¼¶É豸
|
btn_update_sys = new JButton("Éý¼¶É豸");
|
btn_update_sys.setEnabled(false);
|
btn_update_sys.setIcon(new ImageIcon(page_dfu.class.getResource("/png_32x32/Arrow Up.png")));
|
btn_update_sys.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_SysUpdate, Power_ComBase.PWD_StartUpdate_RegAddr_Start, power_util.createSysUpdateControlByteBuffer(0xDFDF));
|
}
|
});
|
//panel_702.add(btn_update_sys);
|
|
JScrollPane scrollPane = new JScrollPane();
|
scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
|
panel_sysupdate.add(scrollPane, BorderLayout.CENTER);
|
|
|
btn_update_restart = new JButton("Ô¶³ÌÖØÆô");
|
btn_update_restart.setEnabled(false);
|
btn_update_restart.setIcon(new ImageIcon(page_dfu.class.getResource("/png_32x32/Button Load.png")));
|
btn_update_restart.addActionListener(new ActionListener() {
|
public void actionPerformed(ActionEvent e) {
|
Comm_POWER.setCommCmd(MyModBusRtu.CMD_TYPE_WRITE_SysUpdate, Power_ComBase.PWD_SysReStart_RegAddr_Start, power_util.createSysUpdateControlByteBuffer(0xBBBB));
|
}
|
});
|
panel_702.add(btn_update_restart);
|
|
ta_dfu_inf = new JTextArea();
|
ta_dfu_inf.setFont(new Font("Consolas", Font.PLAIN, 18));
|
scrollPane.setViewportView(ta_dfu_inf);
|
|
//Éý¼¶ÐÅÏ¢
|
JLabel lblNewLabel = new JLabel("\u5347\u7EA7\u4FE1\u606F");
|
scrollPane.setColumnHeaderView(lblNewLabel);
|
|
|
/********************************************************************/
|
|
|
|
|
}
|
|
public boolean openCommPort(int comm_type, String spname_or_ipaddr,
|
int bitrate_or_ipport, int dev_addr, Logger log) {
|
boolean res = false;
|
|
Comm_POWER = new SPCommPower(dev_addr, bitrate_or_ipport, panel_debug, log);
|
if(true == Comm_POWER.OpenCommPort(comm_type, spname_or_ipaddr, bitrate_or_ipport)) {
|
Thread spcommThread = new Thread(Comm_POWER);
|
spcommThread.start();
|
|
setButttonState(true);
|
|
|
res = true;
|
}
|
|
return res;
|
}
|
|
public void closeCommPort() {
|
if(null != Comm_POWER) {
|
Comm_POWER.CloseCommPort();
|
Comm_POWER = null;
|
|
|
setButttonState(false);
|
}
|
}
|
|
public void setButttonState(boolean state) {
|
|
this.btn_param_read.setEnabled(state); //¶ÁÈ¡
|
this.btn_param_write.setEnabled(state); //ÉèÖÃ
|
|
this.btn_almparam_read.setEnabled(state); //¶ÁÈ¡
|
this.btn_almparam_write.setEnabled(state); //ÉèÖÃ
|
|
this.btn_sysparam_read.setEnabled(state); //¶ÁÈ¡
|
this.btn_sysparam_write.setEnabled(state); //ÉèÖÃ
|
|
this.btn_sysgate_open.setEnabled(state); //ÃÅ´Å´ò¿ª
|
this.btn_sysgate_close.setEnabled(state); //ÃŴŹرÕ
|
|
this.btn_sysroad1_open.setEnabled(state); //·Ö·1´ò¿ª
|
this.btn_sysroad1_close.setEnabled(state); //·Ö·1¹Ø±Õ
|
this.btn_sysroad2_open.setEnabled(state); //·Ö·2´ò¿ª
|
this.btn_sysroad2_close.setEnabled(state); //·Ö·2¹Ø±Õ
|
this.btn_sysroad3_open.setEnabled(state); //·Ö·3´ò¿ª
|
this.btn_sysroad3_close.setEnabled(state); //·Ö·3¹Ø±Õ
|
this.btn_sysroad4_open.setEnabled(state); //·Ö·4´ò¿ª
|
this.btn_sysroad4_close.setEnabled(state); //·Ö·4¹Ø±Õ
|
this.btn_sysroad5_open.setEnabled(state); //·Ö·5´ò¿ª
|
this.btn_sysroad5_close.setEnabled(state); //·Ö·5¹Ø±Õ
|
this.btn_sysroad6_open.setEnabled(state); //·Ö·6´ò¿ª
|
this.btn_sysroad6_close.setEnabled(state); //·Ö·6¹Ø±Õ
|
this.btn_sysroad7_open.setEnabled(state); //·Ö·7´ò¿ª
|
this.btn_sysroad7_close.setEnabled(state); //·Ö·7¹Ø±Õ
|
this.btn_sysroad8_open.setEnabled(state); //·Ö·8´ò¿ª
|
this.btn_sysroad8_close.setEnabled(state); //·Ö·8¹Ø±Õ
|
this.btn_sysroad9_open.setEnabled(state); //·Ö·9´ò¿ª
|
this.btn_sysroad9_close.setEnabled(state); //·Ö·9¹Ø±Õ
|
this.btn_sysroad10_open.setEnabled(state); //·Ö·10´ò¿ª
|
this.btn_sysroad10_close.setEnabled(state); //·Ö·10¹Ø±Õ
|
this.btn_sysroad11_open.setEnabled(state); //·Ö·11´ò¿ª
|
this.btn_sysroad11_close.setEnabled(state); //·Ö·11¹Ø±Õ
|
this.btn_sysroad12_open.setEnabled(state); //·Ö·12´ò¿ª
|
this.btn_sysroad12_close.setEnabled(state); //·Ö·12¹Ø±Õ
|
|
this.btn_sysroad1bac_open.setEnabled(state); //·Ö·1±¸µç´ò¿ª
|
this.btn_sysroad1bac_close.setEnabled(state); //·Ö·1±¸µç¹Ø±Õ
|
this.btn_sysroad2bac_open.setEnabled(state); //·Ö·2±¸µç´ò¿ª
|
this.btn_sysroad2bac_close.setEnabled(state); //·Ö·2±¸µç¹Ø±Õ
|
this.btn_sysroad3bac_open.setEnabled(state); //·Ö·3±¸µç´ò¿ª
|
this.btn_sysroad3bac_close.setEnabled(state); //·Ö·3±¸µç¹Ø±Õ
|
this.btn_sysroad4bac_open.setEnabled(state); //·Ö·4±¸µç´ò¿ª
|
this.btn_sysroad4bac_close.setEnabled(state); //·Ö·4±¸µç¹Ø±Õ
|
this.btn_sysroad5bac_open.setEnabled(state); //·Ö·5±¸µç´ò¿ª
|
this.btn_sysroad5bac_close.setEnabled(state); //·Ö·5±¸µç¹Ø±Õ
|
this.btn_sysroad6bac_open.setEnabled(state); //·Ö·6±¸µç´ò¿ª
|
this.btn_sysroad6bac_close.setEnabled(state); //·Ö·6±¸µç¹Ø±Õ
|
this.btn_sysroad7bac_open.setEnabled(state); //·Ö·7±¸µç´ò¿ª
|
this.btn_sysroad7bac_close.setEnabled(state); //·Ö·7±¸µç¹Ø±Õ
|
this.btn_sysroad8bac_open.setEnabled(state); //·Ö·8±¸µç´ò¿ª
|
this.btn_sysroad8bac_close.setEnabled(state); //·Ö·8±¸µç¹Ø±Õ
|
this.btn_sysroad9bac_open.setEnabled(state); //·Ö·9±¸µç´ò¿ª
|
this.btn_sysroad9bac_close.setEnabled(state); //·Ö·9±¸µç¹Ø±Õ
|
this.btn_sysroad10bac_open.setEnabled(state); //·Ö·10±¸µç´ò¿ª
|
this.btn_sysroad10bac_close.setEnabled(state); //·Ö·10±¸µç¹Ø±Õ
|
this.btn_sysroad11bac_open.setEnabled(state); //·Ö·11±¸µç´ò¿ª
|
this.btn_sysroad11bac_close.setEnabled(state); //·Ö·11±¸µç¹Ø±Õ
|
this.btn_sysroad12bac_open.setEnabled(state); //·Ö·12±¸µç´ò¿ª
|
this.btn_sysroad12bac_close.setEnabled(state); //·Ö·12±¸µç¹Ø±Õ
|
|
this.btn_systime_read.setEnabled(state); //¶ÁÈ¡É豸ʱ¼ä
|
this.btn_systime_write.setEnabled(state); //У׼ʱ¼ä
|
this.btn_systime_update.setEnabled(state); //У׼Ϊµ±Ç°Ê±¼ä
|
|
this.btn_update_start.setEnabled(state); //¿ªÊ¼·¢ËÍÉý¼¶Îļþ
|
this.btn_update_stop.setEnabled(state); //Í£Ö¹·¢ËÍÉý¼¶Îļþ
|
this.btn_update_sys.setEnabled(state); //Éý¼¶ÏµÍ³
|
this.btn_update_restart.setEnabled(state); //ÖØÆô
|
|
this.btn_regulartime_read1.setEnabled(state); //·Ö·1~6·Öʱ²ÎÊý¶ÁÈ¡
|
this.btn_regulartime_write1.setEnabled(state); //·Ö·1~6·Öʱ²ÎÊýÉèÖÃ
|
this.btn_regulartime_read2.setEnabled(state); //·Ö·7~12·Öʱ²ÎÊý¶ÁÈ¡
|
this.btn_regulartime_write2.setEnabled(state); //·Ö·7~12·Öʱ²ÎÊýÉèÖÃ
|
}
|
|
/**
|
*
|
*/
|
public void updateData() {
|
if(null != Comm_POWER) {
|
tf_sys_param_res.setText(Comm_POWER.op_result_sysparam);
|
tf_op_rest_inf.setText(Comm_POWER.op_result_powerparam);
|
tf_alm_param_res.setText(Comm_POWER.op_result_almaram);
|
tf_sys_jiaozhun_res.setText(Comm_POWER.op_result_jiaozhun);
|
|
|
|
if(null != Comm_POWER.m_AcData) {
|
tf_devversion.setText(String.format("V%02d.%02d.%02d", Comm_POWER.m_AcData.dev_version[0], Comm_POWER.m_AcData.dev_version[1], Comm_POWER.m_AcData.dev_version[2]));
|
|
tf_acin_inputvol.setText(String.format("%1.1f", Comm_POWER.m_AcData.acin_vol));; //½»Á÷ÊäÈëµçѹ
|
tf_acin_inputcurr.setText(String.format("%1.1f", Comm_POWER.m_AcData.acin_curr));; //½»Á÷ÊäÈëµçÁ÷
|
tf_acin_inputpower.setText(String.format("%1.1f", Comm_POWER.m_AcData.acin_power));; //½»Á÷ÊäÈ빦ÂÊ
|
tf_groupvol.setText(String.format("%1.1f", Comm_POWER.m_AcData.group_vol));; //×é¶Ëµçѹ
|
tf_groupcurr.setText(String.format("%1.1f", Comm_POWER.m_AcData.batt_curr));; //×é¶ËµçÁ÷
|
tf_totalcurr.setText(String.format("%1.1f", Comm_POWER.m_AcData.total_curr));; //¸ººÉ×ܵçÁ÷
|
tf_devtemp.setText(String.format("%1.1f", Comm_POWER.m_AcData.dev_temp));; //É豸Ö÷°åζÈ
|
tf_envirtemp.setText(String.format("%1.1f", Comm_POWER.m_AcData.envir_temp));; //»·¾³Î¶È
|
tf_envirhumid.setText(String.format("%1.1f", Comm_POWER.m_AcData.envir_humid));; //»·¾³Êª¶È
|
}
|
|
if(null != Comm_POWER.m_RoadStateFromDev) {
|
|
this.jc_sysgate_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysgate_st); //ÃÅ´Å״̬
|
|
this.jc_sysroad1_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[0]); //·Ö·1״̬
|
this.jc_sysroad2_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[1]); //·Ö·2״̬
|
this.jc_sysroad3_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[2]); //·Ö·3״̬
|
this.jc_sysroad4_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[3]); //·Ö·4״̬
|
this.jc_sysroad5_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[4]); //·Ö·5״̬
|
this.jc_sysroad6_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[5]); //·Ö·6״̬
|
this.jc_sysroad7_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[6]); //·Ö·7״̬
|
this.jc_sysroad8_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[7]); //·Ö·8״̬
|
this.jc_sysroad9_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[8]); //·Ö·9״̬
|
this.jc_sysroad10_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[9]); //·Ö·10״̬
|
this.jc_sysroad11_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[10]); //·Ö·11״̬
|
this.jc_sysroad12_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadstate[11]); //·Ö·12״̬
|
|
this.jc_sysroad1bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[0]); //·Ö·1±¸µç״̬
|
this.jc_sysroad2bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[1]); //·Ö·2±¸µç״̬
|
this.jc_sysroad3bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[2]); //·Ö·3±¸µç״̬
|
this.jc_sysroad4bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[3]); //·Ö·4±¸µç״̬
|
this.jc_sysroad5bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[4]); //·Ö·5±¸µç״̬
|
this.jc_sysroad6bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[5]); //·Ö·6±¸µç״̬
|
this.jc_sysroad7bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[6]); //·Ö·7±¸µç״̬
|
this.jc_sysroad8bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[7]); //·Ö·8±¸µç״̬
|
this.jc_sysroad9bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[8]); //·Ö·9±¸µç״̬
|
this.jc_sysroad10bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[9]); //·Ö·10±¸µç״̬
|
this.jc_sysroad11bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[10]); //·Ö·11±¸µç״̬
|
this.jc_sysroad12bac_st.setSelectedIndex(Comm_POWER.m_RoadStateFromDev.sysroadbackstate[11]); //·Ö·12±¸µç״̬
|
|
}
|
|
if(null != Comm_POWER.m_LibmsDatas) {
|
tf_monvol_cnt_1.setText(String.format("%d", Comm_POWER.m_LibmsDatas[0].mon_cout)); //°ü1µ¥Ìåµç³ØÊýÄ¿
|
tf_montmp_cnt_1.setText(String.format("%d", Comm_POWER.m_LibmsDatas[0].montemp_cout)); //°ü1µçоζÈÊýÄ¿
|
tf_envir_temp_1.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[0].envir_temp)); //°ü1»·¾³Î¶È
|
tf_mos_temp_1.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[0].mos_temp)); //°ü1MOS¹ÜζÈ
|
tf_batt_curr_1.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[0].batt_curr)); //°ü1µç³ØµçÁ÷
|
tf_batt_vol_1.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[0].batt_totalvol)); //°ü1µç³Ø×Üѹ
|
tf_rest_cap_1.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[0].rest_cap)); //°ü1Ê£ÓàÈÝÁ¿
|
tf_total_cap_1.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[0].total_cap)); //°ü1×ÜÈÝÁ¿
|
tf_batt_cycles_1.setText(String.format("%d", Comm_POWER.m_LibmsDatas[0].battcyclecount)); //°ü1µç³ØÑ»·´ÎÊý
|
tf_batt_soc_1.setText(String.format("%d", Comm_POWER.m_LibmsDatas[0].soc_state)); //°ü1SOC
|
tf_batt_soh_1.setText(String.format("%d", Comm_POWER.m_LibmsDatas[0].soh_state)); //°ü1SOH
|
|
tf_monvol_cnt_2.setText(String.format("%d", Comm_POWER.m_LibmsDatas[1].mon_cout)); //°ü2µ¥Ìåµç³ØÊýÄ¿
|
tf_montmp_cnt_2.setText(String.format("%d", Comm_POWER.m_LibmsDatas[1].montemp_cout)); //°ü2µçоζÈÊýÄ¿
|
tf_envir_temp_2.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[1].envir_temp)); //°ü2»·¾³Î¶È
|
tf_mos_temp_2.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[1].mos_temp)); //°ü2MOS¹ÜζÈ
|
tf_batt_curr_2.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[1].batt_curr)); //°ü2µç³ØµçÁ÷
|
tf_batt_vol_2.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[1].batt_totalvol)); //°ü2µç³Ø×Üѹ
|
tf_rest_cap_2.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[1].rest_cap)); //°ü2Ê£ÓàÈÝÁ¿
|
tf_total_cap_2.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[1].total_cap)); //°ü2×ÜÈÝÁ¿
|
tf_batt_cycles_2.setText(String.format("%d", Comm_POWER.m_LibmsDatas[1].battcyclecount)); //°ü2µç³ØÑ»·´ÎÊý
|
tf_batt_soc_2.setText(String.format("%d", Comm_POWER.m_LibmsDatas[1].soc_state)); //°ü2SOC
|
tf_batt_soh_2.setText(String.format("%d", Comm_POWER.m_LibmsDatas[1].soh_state)); //°ü2SOH
|
|
tf_monvol_cnt_3.setText(String.format("%d", Comm_POWER.m_LibmsDatas[2].mon_cout)); //°ü3µ¥Ìåµç³ØÊýÄ¿
|
tf_montmp_cnt_3.setText(String.format("%d", Comm_POWER.m_LibmsDatas[2].montemp_cout)); //°ü3µçоζÈÊýÄ¿
|
tf_envir_temp_3.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[2].envir_temp)); //°ü3»·¾³Î¶È
|
tf_mos_temp_3.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[2].mos_temp)); //°ü3MOS¹ÜζÈ
|
tf_batt_curr_3.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[2].batt_curr)); //°ü3µç³ØµçÁ÷
|
tf_batt_vol_3.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[2].batt_totalvol)); //°ü3µç³Ø×Üѹ
|
tf_rest_cap_3.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[2].rest_cap)); //°ü3Ê£ÓàÈÝÁ¿
|
tf_total_cap_3.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[2].total_cap)); //°ü3×ÜÈÝÁ¿
|
tf_batt_cycles_3.setText(String.format("%d", Comm_POWER.m_LibmsDatas[2].battcyclecount)); //°ü3µç³ØÑ»·´ÎÊý
|
tf_batt_soc_3.setText(String.format("%d", Comm_POWER.m_LibmsDatas[2].soc_state)); //°ü3SOC
|
tf_batt_soh_3.setText(String.format("%d", Comm_POWER.m_LibmsDatas[2].soh_state)); //°ü3SOH
|
|
tf_monvol_cnt_4.setText(String.format("%d", Comm_POWER.m_LibmsDatas[3].mon_cout)); //°ü4µ¥Ìåµç³ØÊýÄ¿
|
tf_montmp_cnt_4.setText(String.format("%d", Comm_POWER.m_LibmsDatas[3].montemp_cout)); //°ü4µçоζÈÊýÄ¿
|
tf_envir_temp_4.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[3].envir_temp)); //°ü4»·¾³Î¶È
|
tf_mos_temp_4.setText(String.format("%1.1f", Comm_POWER.m_LibmsDatas[3].mos_temp)); //°ü4MOS¹ÜζÈ
|
tf_batt_curr_4.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[3].batt_curr)); //°ü4µç³ØµçÁ÷
|
tf_batt_vol_4.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[3].batt_totalvol)); //°ü4µç³Ø×Üѹ
|
tf_rest_cap_4.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[3].rest_cap)); //°ü4Ê£ÓàÈÝÁ¿
|
tf_total_cap_4.setText(String.format("%1.2f", Comm_POWER.m_LibmsDatas[3].total_cap)); //°ü4×ÜÈÝÁ¿
|
tf_batt_cycles_4.setText(String.format("%d", Comm_POWER.m_LibmsDatas[3].battcyclecount)); //°ü4µç³ØÑ»·´ÎÊý
|
tf_batt_soc_4.setText(String.format("%d", Comm_POWER.m_LibmsDatas[3].soc_state)); //°ü4SOC
|
tf_batt_soh_4.setText(String.format("%d", Comm_POWER.m_LibmsDatas[3].soh_state)); //°ü4SOH
|
|
|
}
|
|
|
|
if(Power_ComBase.PWD_SysParam_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶Áȡϵͳ²ÎÊý³É¹¦
|
if(null != Comm_POWER.m_ParamFromDev) {
|
//System.out.println(Comm_POWER.m_ParamFromDev);
|
|
tf_devcommaddr.setText(String.format("%d", Comm_POWER.m_ParamFromDev.dev_comm_addr)); //É豸ͨÐŵØÖ·
|
tf_libmscount.setText(String.format("%d", Comm_POWER.m_ParamFromDev.libms_count)); //ï®µç³Ø°ü¸öÊý
|
tf_modelcount.setText(String.format("%d", Comm_POWER.m_ParamFromDev.model_count)); //µçÔ´Ä£¿é¸öÊý
|
tf_powerdownvol.setText(String.format("%1.1f", Comm_POWER.m_ParamFromDev.power_downvol)); //µç³ØÏµçµçѹ
|
tf_backtime.setText(String.format("%d", Comm_POWER.m_ParamFromDev.back_time)); //Òº¾§ÆÁ±³¹âʱ¼ä
|
|
tf_charcurr_limit.setText(String.format("%d", Comm_POWER.m_ParamFromDev.charcurr_limit)); //³äµçÏÞÁ÷Öµ
|
jc_backcntrol_en.setSelectedIndex(Comm_POWER.m_ParamFromDev.back_control_en);
|
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
|
|
}
|
}else if(Power_ComBase.PWD_PwdParam_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶ÁÈ¡µçÔ´²ÎÊý³É¹¦
|
if(null != Comm_POWER.m_ParamFromDev) {
|
//System.out.println(Comm_POWER.m_ParamFromDev);
|
|
tf_setoutputvol.setText(String.format("%1.1f", Comm_POWER.m_ParamFromDev.output_vol)); //µçÔ´Êä³öµçѹÉ趨
|
tf_setoutputcurr.setText(String.format("%1.0f", Comm_POWER.m_ParamFromDev.output_curr)); //µçÔ´Êä³öÏÞÁ÷É趨
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
|
}
|
}else if(Power_ComBase.PWD_AlmParam_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶ÁÈ¡µçÔ´¸æ¾¯²ÎÊý
|
if(null != Comm_POWER.m_AlmParamFromDev) {
|
|
tf_acin_high_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.acin_vol_high)); //½»Á÷ÊäÈë¸ßãÐÖµ
|
tf_acin_low_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.acin_vol_low)); //½»Á÷ÊäÈëµÍãÐÖµ
|
tf_groupvol_high_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.groupvol_high)); //×é¶Ëµçѹ¸ßãÐÖµ
|
tf_groupvol_low_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.groupvol_low)); //×é¶ËµçѹµÍãÐÖµ
|
tf_monvol_high_limit.setText(String.format("%1.3f", Comm_POWER.m_AlmParamFromDev.monvol_high)); //µ¥Ìåµçѹ¸ßãÐÖµ
|
tf_monvol_low_limit.setText(String.format("%1.3f", Comm_POWER.m_AlmParamFromDev.monvol_low)); //µ¥ÌåµçѹµÍãÐÖµ
|
tf_discurr_high_limit.setText(String.format("%1.0f", Comm_POWER.m_AlmParamFromDev.discurr_high)); //·ÅµçµçÁ÷´óãÐÖµ
|
tf_chrcurr_high_limit.setText(String.format("%1.0f", Comm_POWER.m_AlmParamFromDev.chrcurr_high)); //³äµçµçÁ÷´óãÐÖµ
|
tf_devtemp_high_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.dev_temp_high)); //É豸ÄÚ²¿Î¶ȸßãÐÖµ
|
tf_devtemp_low_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.dev_temp_low)); //É豸ÄÚ²¿Î¶ȵÍãÐÖµ
|
tf_dcoutcurr_high_limit.setText(String.format("%1.1f", Comm_POWER.m_AlmParamFromDev.dcoutputcurr_high)); //Ö±Á÷Êä³öµçÁ÷´óãÐÖµ
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}
|
}else if(Power_ComBase.PWD_SchoolTime_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶ÁÈ¡É豸ʱ¼ä³É¹¦
|
if(null != Comm_POWER.m_ParamFromDev) {
|
|
tf_time_year.setText(String.format("%04d", Comm_POWER.m_ParamFromDev.dev_year)); //Äê
|
tf_time_month.setText(String.format("%02d", Comm_POWER.m_ParamFromDev.dev_month)); //ÔÂ
|
tf_time_day.setText(String.format("%02d", Comm_POWER.m_ParamFromDev.dev_day)); //ÈÕ
|
tf_time_hour.setText(String.format("%02d", Comm_POWER.m_ParamFromDev.dev_hour)); //ʱ
|
tf_time_minute.setText(String.format("%02d", Comm_POWER.m_ParamFromDev.dev_minute)); //·Ö
|
tf_time_second.setText(String.format("%02d", Comm_POWER.m_ParamFromDev.dev_second)); //Ãë
|
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}
|
}else if(Power_ComBase.PWD_Load1Time_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶ÁÈ¡1-6··Ö·¿ØÖƲÎÊý
|
if(null != Comm_POWER.m_TimeControlFromDev) {
|
Power_TimeControl con = Comm_POWER.m_TimeControlFromDev;
|
|
cb_regulartime1.setSelectedIndex(con.timeControls[0].time_close_en);; //·Ö·1¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year1.setText(String.format("%04d", con.timeControls[0].time_close_year)); //·Ö·1¶¨Ê±Äê
|
tf_regulartime_month1.setText(String.format("%02d", con.timeControls[0].time_close_month)); //·Ö·1¶¨Ê±ÔÂ
|
tf_regulartime_day1.setText(String.format("%02d", con.timeControls[0].time_close_day)); //·Ö·1¶¨Ê±ÈÕ
|
tf_regulartime_hour1.setText(String.format("%02d", con.timeControls[0].time_close_hour)); //·Ö·1¶¨Ê±Ê±
|
tf_regulartime_minute1.setText(String.format("%02d", con.timeControls[0].time_close_minute)); //·Ö·1¶¨Ê±·Ö
|
tf_regulartime_second1.setText(String.format("%02d", con.timeControls[0].time_close_second)); //·Ö·1¶¨Ê±Ãë
|
|
cb_repetcomm1.setSelectedIndex(con.timeControls[0].time_repetcomm_en); //·Ö·1¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year1.setText(String.format("%04d", con.timeControls[0].time_repetcomm_year)); //·Ö·1¸´Í¨Äê
|
tf_repetcomm_month1.setText(String.format("%02d", con.timeControls[0].time_repetcomm_month)); //·Ö·1¸´Í¨ÔÂ
|
tf_repetcomm_day1.setText(String.format("%02d", con.timeControls[0].time_repetcomm_day)); //·Ö·1¸´Í¨ÈÕ
|
tf_repetcomm_hour1.setText(String.format("%02d", con.timeControls[0].time_repetcomm_hour)); //·Ö·1¸´Í¨Ê±
|
tf_repetcomm_minute1.setText(String.format("%02d", con.timeControls[0].time_repetcomm_minute)); //·Ö·1¸´Í¨·Ö
|
tf_repetcomm_second1.setText(String.format("%02d", con.timeControls[0].time_repetcomm_second)); //·Ö·1¸´Í¨Ãë
|
|
cb_regulartime2.setSelectedIndex(con.timeControls[1].time_close_en); //·Ö·2¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year2.setText(String.format("%04d", con.timeControls[1].time_close_year)); //·Ö·2¶¨Ê±Äê
|
tf_regulartime_month2.setText(String.format("%02d", con.timeControls[1].time_close_month)); //·Ö·2¶¨Ê±ÔÂ
|
tf_regulartime_day2.setText(String.format("%02d", con.timeControls[1].time_close_day)); //·Ö·2¶¨Ê±ÈÕ
|
tf_regulartime_hour2.setText(String.format("%02d", con.timeControls[1].time_close_hour)); //·Ö·2¶¨Ê±Ê±
|
tf_regulartime_minute2.setText(String.format("%02d", con.timeControls[1].time_close_minute)); //·Ö·2¶¨Ê±·Ö
|
tf_regulartime_second2.setText(String.format("%02d", con.timeControls[1].time_close_second)); //·Ö·2¶¨Ê±Ãë
|
|
cb_repetcomm2.setSelectedIndex(con.timeControls[1].time_repetcomm_en); //·Ö·2¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year2.setText(String.format("%04d", con.timeControls[1].time_repetcomm_year)); //·Ö·2¸´Í¨Äê
|
tf_repetcomm_month2.setText(String.format("%02d", con.timeControls[1].time_repetcomm_month)); //·Ö·2¸´Í¨ÔÂ
|
tf_repetcomm_day2.setText(String.format("%02d", con.timeControls[1].time_repetcomm_day)); //·Ö·2¸´Í¨ÈÕ
|
tf_repetcomm_hour2.setText(String.format("%02d", con.timeControls[1].time_repetcomm_hour)); //·Ö·2¸´Í¨Ê±
|
tf_repetcomm_minute2.setText(String.format("%02d", con.timeControls[1].time_repetcomm_minute)); //·Ö·2¸´Í¨·Ö
|
tf_repetcomm_second2.setText(String.format("%02d", con.timeControls[1].time_repetcomm_second)); //·Ö·2¸´Í¨Ãë
|
|
cb_regulartime3.setSelectedIndex(con.timeControls[2].time_close_en); //·Ö·3¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year3.setText(String.format("%04d", con.timeControls[2].time_close_year)); //·Ö·3¶¨Ê±Äê
|
tf_regulartime_month3.setText(String.format("%02d", con.timeControls[2].time_close_month)); //·Ö·3¶¨Ê±ÔÂ
|
tf_regulartime_day3.setText(String.format("%02d", con.timeControls[2].time_close_day)); //·Ö·3¶¨Ê±ÈÕ
|
tf_regulartime_hour3.setText(String.format("%02d", con.timeControls[2].time_close_hour)); //·Ö·3¶¨Ê±Ê±
|
tf_regulartime_minute3.setText(String.format("%02d", con.timeControls[2].time_close_minute)); //·Ö·3¶¨Ê±·Ö
|
tf_regulartime_second3.setText(String.format("%02d", con.timeControls[2].time_close_second)); //·Ö·3¶¨Ê±Ãë
|
|
cb_repetcomm3.setSelectedIndex(con.timeControls[2].time_repetcomm_en); //·Ö·3¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year3.setText(String.format("%04d", con.timeControls[2].time_repetcomm_year)); //·Ö·3¸´Í¨Äê
|
tf_repetcomm_month3.setText(String.format("%02d", con.timeControls[2].time_repetcomm_month)); //·Ö·3¸´Í¨ÔÂ
|
tf_repetcomm_day3.setText(String.format("%02d", con.timeControls[2].time_repetcomm_day)); //·Ö·3¸´Í¨ÈÕ
|
tf_repetcomm_hour3.setText(String.format("%02d", con.timeControls[2].time_repetcomm_hour)); //·Ö·3¸´Í¨Ê±
|
tf_repetcomm_minute3.setText(String.format("%02d", con.timeControls[2].time_repetcomm_minute)); //·Ö·3¸´Í¨·Ö
|
tf_repetcomm_second3.setText(String.format("%02d", con.timeControls[2].time_repetcomm_second)); //·Ö·3¸´Í¨Ãë
|
|
cb_regulartime4.setSelectedIndex(con.timeControls[3].time_close_en); //·Ö·4¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year4.setText(String.format("%04d", con.timeControls[3].time_close_year)); //·Ö·4¶¨Ê±Äê
|
tf_regulartime_month4.setText(String.format("%02d", con.timeControls[3].time_close_month)); //·Ö·4¶¨Ê±ÔÂ
|
tf_regulartime_day4.setText(String.format("%02d", con.timeControls[3].time_close_day)); //·Ö·4¶¨Ê±ÈÕ
|
tf_regulartime_hour4.setText(String.format("%02d", con.timeControls[3].time_close_hour)); //·Ö·4¶¨Ê±Ê±
|
tf_regulartime_minute4.setText(String.format("%02d", con.timeControls[3].time_close_minute)); //·Ö·4¶¨Ê±·Ö
|
tf_regulartime_second4.setText(String.format("%02d", con.timeControls[3].time_close_second)); //·Ö·4¶¨Ê±Ãë
|
|
cb_repetcomm4.setSelectedIndex(con.timeControls[3].time_repetcomm_en); //·Ö·4¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year4.setText(String.format("%04d", con.timeControls[3].time_repetcomm_year)); //·Ö·4¸´Í¨Äê
|
tf_repetcomm_month4.setText(String.format("%02d", con.timeControls[3].time_repetcomm_month)); //·Ö·4¸´Í¨ÔÂ
|
tf_repetcomm_day4.setText(String.format("%02d", con.timeControls[3].time_repetcomm_day)); //·Ö·4¸´Í¨ÈÕ
|
tf_repetcomm_hour4.setText(String.format("%02d", con.timeControls[3].time_repetcomm_hour)); //·Ö·4¸´Í¨Ê±
|
tf_repetcomm_minute4.setText(String.format("%02d", con.timeControls[3].time_repetcomm_minute)); //·Ö·4¸´Í¨·Ö
|
tf_repetcomm_second4.setText(String.format("%02d", con.timeControls[3].time_repetcomm_second)); //·Ö·4¸´Í¨Ãë
|
|
cb_regulartime5.setSelectedIndex(con.timeControls[4].time_close_en); //·Ö·5¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year5.setText(String.format("%04d", con.timeControls[4].time_close_year)); //·Ö·5¶¨Ê±Äê
|
tf_regulartime_month5.setText(String.format("%02d", con.timeControls[4].time_close_month)); //·Ö·5¶¨Ê±ÔÂ
|
tf_regulartime_day5.setText(String.format("%02d", con.timeControls[4].time_close_day)); //·Ö·5¶¨Ê±ÈÕ
|
tf_regulartime_hour5.setText(String.format("%02d", con.timeControls[4].time_close_hour)); //·Ö·5¶¨Ê±Ê±
|
tf_regulartime_minute5.setText(String.format("%02d", con.timeControls[4].time_close_minute)); //·Ö·5¶¨Ê±·Ö
|
tf_regulartime_second5.setText(String.format("%02d", con.timeControls[4].time_close_second)); //·Ö·5¶¨Ê±Ãë
|
|
cb_repetcomm5.setSelectedIndex(con.timeControls[4].time_repetcomm_en); //·Ö·5¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year5.setText(String.format("%04d", con.timeControls[4].time_repetcomm_year)); //·Ö·5¸´Í¨Äê
|
tf_repetcomm_month5.setText(String.format("%02d", con.timeControls[4].time_repetcomm_month)); //·Ö·5¸´Í¨ÔÂ
|
tf_repetcomm_day5.setText(String.format("%02d", con.timeControls[4].time_repetcomm_day)); //·Ö·5¸´Í¨ÈÕ
|
tf_repetcomm_hour5.setText(String.format("%02d", con.timeControls[4].time_repetcomm_hour)); //·Ö·5¸´Í¨Ê±
|
tf_repetcomm_minute5.setText(String.format("%02d", con.timeControls[4].time_repetcomm_minute)); //·Ö·5¸´Í¨·Ö
|
tf_repetcomm_second5.setText(String.format("%02d", con.timeControls[4].time_repetcomm_second)); //·Ö·5¸´Í¨Ãë
|
|
cb_regulartime6.setSelectedIndex(con.timeControls[5].time_close_en); //·Ö·6¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year6.setText(String.format("%04d", con.timeControls[5].time_close_year)); //·Ö·6¶¨Ê±Äê
|
tf_regulartime_month6.setText(String.format("%02d", con.timeControls[5].time_close_month)); //·Ö·6¶¨Ê±ÔÂ
|
tf_regulartime_day6.setText(String.format("%02d", con.timeControls[5].time_close_day)); //·Ö·6¶¨Ê±ÈÕ
|
tf_regulartime_hour6.setText(String.format("%02d", con.timeControls[5].time_close_hour)); //·Ö·6¶¨Ê±Ê±
|
tf_regulartime_minute6.setText(String.format("%02d", con.timeControls[5].time_close_minute)); //·Ö·6¶¨Ê±·Ö
|
tf_regulartime_second6.setText(String.format("%02d", con.timeControls[5].time_close_second)); //·Ö·6¶¨Ê±Ãë
|
|
cb_repetcomm6.setSelectedIndex(con.timeControls[5].time_repetcomm_en); //·Ö·6¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year6.setText(String.format("%04d", con.timeControls[5].time_repetcomm_year)); //·Ö·6¸´Í¨Äê
|
tf_repetcomm_month6.setText(String.format("%02d", con.timeControls[5].time_repetcomm_month)); //·Ö·6¸´Í¨ÔÂ
|
tf_repetcomm_day6.setText(String.format("%02d", con.timeControls[5].time_repetcomm_day)); //·Ö·6¸´Í¨ÈÕ
|
tf_repetcomm_hour6.setText(String.format("%02d", con.timeControls[5].time_repetcomm_hour)); //·Ö·6¸´Í¨Ê±
|
tf_repetcomm_minute6.setText(String.format("%02d", con.timeControls[5].time_repetcomm_minute)); //·Ö·6¸´Í¨·Ö
|
tf_repetcomm_second6.setText(String.format("%02d", con.timeControls[5].time_repetcomm_second)); //·Ö·6¸´Í¨Ãë
|
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}
|
|
}else if(Power_ComBase.PWD_Load2Time_Read_ACK == Comm_POWER.dt_user_cmd_ack) {
|
//¶ÁÈ¡7-12··Ö·¿ØÖƲÎÊý
|
if(null != Comm_POWER.m_TimeControlFromDev) {
|
Power_TimeControl con = Comm_POWER.m_TimeControlFromDev;
|
|
cb_regulartime7.setSelectedIndex(con.timeControls[6].time_close_en);; //·Ö·1¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year7.setText(String.format("%04d", con.timeControls[6].time_close_year)); //·Ö·1¶¨Ê±Äê
|
tf_regulartime_month7.setText(String.format("%02d", con.timeControls[6].time_close_month)); //·Ö·1¶¨Ê±ÔÂ
|
tf_regulartime_day7.setText(String.format("%02d", con.timeControls[6].time_close_day)); //·Ö·1¶¨Ê±ÈÕ
|
tf_regulartime_hour7.setText(String.format("%02d", con.timeControls[6].time_close_hour)); //·Ö·1¶¨Ê±Ê±
|
tf_regulartime_minute7.setText(String.format("%02d", con.timeControls[6].time_close_minute)); //·Ö·1¶¨Ê±·Ö
|
tf_regulartime_second7.setText(String.format("%02d", con.timeControls[6].time_close_second)); //·Ö·1¶¨Ê±Ãë
|
|
cb_repetcomm7.setSelectedIndex(con.timeControls[6].time_repetcomm_en); //·Ö·1¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year7.setText(String.format("%04d", con.timeControls[6].time_repetcomm_year)); //·Ö·1¸´Í¨Äê
|
tf_repetcomm_month7.setText(String.format("%02d", con.timeControls[6].time_repetcomm_month)); //·Ö·1¸´Í¨ÔÂ
|
tf_repetcomm_day7.setText(String.format("%02d", con.timeControls[6].time_repetcomm_day)); //·Ö·1¸´Í¨ÈÕ
|
tf_repetcomm_hour7.setText(String.format("%02d", con.timeControls[6].time_repetcomm_hour)); //·Ö·1¸´Í¨Ê±
|
tf_repetcomm_minute7.setText(String.format("%02d", con.timeControls[6].time_repetcomm_minute)); //·Ö·1¸´Í¨·Ö
|
tf_repetcomm_second7.setText(String.format("%02d", con.timeControls[6].time_repetcomm_second)); //·Ö·1¸´Í¨Ãë
|
|
cb_regulartime8.setSelectedIndex(con.timeControls[7].time_close_en); //·Ö·2¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year8.setText(String.format("%04d", con.timeControls[7].time_close_year)); //·Ö·2¶¨Ê±Äê
|
tf_regulartime_month8.setText(String.format("%02d", con.timeControls[7].time_close_month)); //·Ö·2¶¨Ê±ÔÂ
|
tf_regulartime_day8.setText(String.format("%02d", con.timeControls[7].time_close_day)); //·Ö·2¶¨Ê±ÈÕ
|
tf_regulartime_hour8.setText(String.format("%02d", con.timeControls[7].time_close_hour)); //·Ö·2¶¨Ê±Ê±
|
tf_regulartime_minute8.setText(String.format("%02d", con.timeControls[7].time_close_minute)); //·Ö·2¶¨Ê±·Ö
|
tf_regulartime_second8.setText(String.format("%02d", con.timeControls[7].time_close_second)); //·Ö·2¶¨Ê±Ãë
|
|
cb_repetcomm8.setSelectedIndex(con.timeControls[7].time_repetcomm_en); //·Ö·2¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year8.setText(String.format("%04d", con.timeControls[7].time_repetcomm_year)); //·Ö·2¸´Í¨Äê
|
tf_repetcomm_month8.setText(String.format("%02d", con.timeControls[7].time_repetcomm_month)); //·Ö·2¸´Í¨ÔÂ
|
tf_repetcomm_day8.setText(String.format("%02d", con.timeControls[7].time_repetcomm_day)); //·Ö·2¸´Í¨ÈÕ
|
tf_repetcomm_hour8.setText(String.format("%02d", con.timeControls[7].time_repetcomm_hour)); //·Ö·2¸´Í¨Ê±
|
tf_repetcomm_minute8.setText(String.format("%02d", con.timeControls[7].time_repetcomm_minute)); //·Ö·2¸´Í¨·Ö
|
tf_repetcomm_second8.setText(String.format("%02d", con.timeControls[7].time_repetcomm_second)); //·Ö·2¸´Í¨Ãë
|
|
cb_regulartime9.setSelectedIndex(con.timeControls[8].time_close_en); //·Ö·3¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year9.setText(String.format("%04d", con.timeControls[8].time_close_year)); //·Ö·3¶¨Ê±Äê
|
tf_regulartime_month9.setText(String.format("%02d", con.timeControls[8].time_close_month)); //·Ö·3¶¨Ê±ÔÂ
|
tf_regulartime_day9.setText(String.format("%02d", con.timeControls[8].time_close_day)); //·Ö·3¶¨Ê±ÈÕ
|
tf_regulartime_hour9.setText(String.format("%02d", con.timeControls[8].time_close_hour)); //·Ö·3¶¨Ê±Ê±
|
tf_regulartime_minute9.setText(String.format("%02d", con.timeControls[8].time_close_minute)); //·Ö·3¶¨Ê±·Ö
|
tf_regulartime_second9.setText(String.format("%02d", con.timeControls[8].time_close_second)); //·Ö·3¶¨Ê±Ãë
|
|
cb_repetcomm9.setSelectedIndex(con.timeControls[8].time_repetcomm_en); //·Ö·3¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year9.setText(String.format("%04d", con.timeControls[8].time_repetcomm_year)); //·Ö·3¸´Í¨Äê
|
tf_repetcomm_month9.setText(String.format("%02d", con.timeControls[8].time_repetcomm_month)); //·Ö·3¸´Í¨ÔÂ
|
tf_repetcomm_day9.setText(String.format("%02d", con.timeControls[8].time_repetcomm_day)); //·Ö·3¸´Í¨ÈÕ
|
tf_repetcomm_hour9.setText(String.format("%02d", con.timeControls[8].time_repetcomm_hour)); //·Ö·3¸´Í¨Ê±
|
tf_repetcomm_minute9.setText(String.format("%02d", con.timeControls[8].time_repetcomm_minute)); //·Ö·3¸´Í¨·Ö
|
tf_repetcomm_second9.setText(String.format("%02d", con.timeControls[8].time_repetcomm_second)); //·Ö·3¸´Í¨Ãë
|
|
cb_regulartime10.setSelectedIndex(con.timeControls[9].time_close_en); //·Ö·4¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year10.setText(String.format("%04d", con.timeControls[9].time_close_year)); //·Ö·4¶¨Ê±Äê
|
tf_regulartime_month10.setText(String.format("%02d", con.timeControls[9].time_close_month)); //·Ö·4¶¨Ê±ÔÂ
|
tf_regulartime_day10.setText(String.format("%02d", con.timeControls[9].time_close_day)); //·Ö·4¶¨Ê±ÈÕ
|
tf_regulartime_hour10.setText(String.format("%02d", con.timeControls[9].time_close_hour)); //·Ö·4¶¨Ê±Ê±
|
tf_regulartime_minute10.setText(String.format("%02d", con.timeControls[9].time_close_minute)); //·Ö·4¶¨Ê±·Ö
|
tf_regulartime_second10.setText(String.format("%02d", con.timeControls[9].time_close_second)); //·Ö·4¶¨Ê±Ãë
|
|
cb_repetcomm10.setSelectedIndex(con.timeControls[9].time_repetcomm_en); //·Ö·4¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year10.setText(String.format("%04d", con.timeControls[9].time_repetcomm_year)); //·Ö·4¸´Í¨Äê
|
tf_repetcomm_month10.setText(String.format("%02d", con.timeControls[9].time_repetcomm_month)); //·Ö·4¸´Í¨ÔÂ
|
tf_repetcomm_day10.setText(String.format("%02d", con.timeControls[9].time_repetcomm_day)); //·Ö·4¸´Í¨ÈÕ
|
tf_repetcomm_hour10.setText(String.format("%02d", con.timeControls[9].time_repetcomm_hour)); //·Ö·4¸´Í¨Ê±
|
tf_repetcomm_minute10.setText(String.format("%02d", con.timeControls[9].time_repetcomm_minute)); //·Ö·4¸´Í¨·Ö
|
tf_repetcomm_second10.setText(String.format("%02d", con.timeControls[9].time_repetcomm_second)); //·Ö·4¸´Í¨Ãë
|
|
cb_regulartime11.setSelectedIndex(con.timeControls[10].time_close_en); //·Ö·5¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year11.setText(String.format("%04d", con.timeControls[10].time_close_year)); //·Ö·5¶¨Ê±Äê
|
tf_regulartime_month11.setText(String.format("%02d", con.timeControls[10].time_close_month)); //·Ö·5¶¨Ê±ÔÂ
|
tf_regulartime_day11.setText(String.format("%02d", con.timeControls[10].time_close_day)); //·Ö·5¶¨Ê±ÈÕ
|
tf_regulartime_hour11.setText(String.format("%02d", con.timeControls[10].time_close_hour)); //·Ö·5¶¨Ê±Ê±
|
tf_regulartime_minute11.setText(String.format("%02d", con.timeControls[10].time_close_minute)); //·Ö·5¶¨Ê±·Ö
|
tf_regulartime_second11.setText(String.format("%02d", con.timeControls[10].time_close_second)); //·Ö·5¶¨Ê±Ãë
|
|
cb_repetcomm11.setSelectedIndex(con.timeControls[10].time_repetcomm_en); //·Ö·5¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year11.setText(String.format("%04d", con.timeControls[10].time_repetcomm_year)); //·Ö·5¸´Í¨Äê
|
tf_repetcomm_month11.setText(String.format("%02d", con.timeControls[10].time_repetcomm_month)); //·Ö·5¸´Í¨ÔÂ
|
tf_repetcomm_day11.setText(String.format("%02d", con.timeControls[10].time_repetcomm_day)); //·Ö·5¸´Í¨ÈÕ
|
tf_repetcomm_hour11.setText(String.format("%02d", con.timeControls[10].time_repetcomm_hour)); //·Ö·5¸´Í¨Ê±
|
tf_repetcomm_minute11.setText(String.format("%02d", con.timeControls[10].time_repetcomm_minute)); //·Ö·5¸´Í¨·Ö
|
tf_repetcomm_second11.setText(String.format("%02d", con.timeControls[10].time_repetcomm_second)); //·Ö·5¸´Í¨Ãë
|
|
cb_regulartime12.setSelectedIndex(con.timeControls[11].time_close_en); //·Ö·6¶¨Ê±Ê¹ÄÜ
|
tf_regulartime_year12.setText(String.format("%04d", con.timeControls[11].time_close_year)); //·Ö·6¶¨Ê±Äê
|
tf_regulartime_month12.setText(String.format("%02d", con.timeControls[11].time_close_month)); //·Ö·6¶¨Ê±ÔÂ
|
tf_regulartime_day12.setText(String.format("%02d", con.timeControls[11].time_close_day)); //·Ö·6¶¨Ê±ÈÕ
|
tf_regulartime_hour12.setText(String.format("%02d", con.timeControls[11].time_close_hour)); //·Ö·6¶¨Ê±Ê±
|
tf_regulartime_minute12.setText(String.format("%02d", con.timeControls[11].time_close_minute)); //·Ö·6¶¨Ê±·Ö
|
tf_regulartime_second12.setText(String.format("%02d", con.timeControls[11].time_close_second)); //·Ö·6¶¨Ê±Ãë
|
|
cb_repetcomm12.setSelectedIndex(con.timeControls[11].time_repetcomm_en); //·Ö·6¸´Í¨Ê¹ÄÜ
|
tf_repetcomm_year12.setText(String.format("%04d", con.timeControls[11].time_repetcomm_year)); //·Ö·6¸´Í¨Äê
|
tf_repetcomm_month12.setText(String.format("%02d", con.timeControls[11].time_repetcomm_month)); //·Ö·6¸´Í¨ÔÂ
|
tf_repetcomm_day12.setText(String.format("%02d", con.timeControls[11].time_repetcomm_day)); //·Ö·6¸´Í¨ÈÕ
|
tf_repetcomm_hour12.setText(String.format("%02d", con.timeControls[11].time_repetcomm_hour)); //·Ö·6¸´Í¨Ê±
|
tf_repetcomm_minute12.setText(String.format("%02d", con.timeControls[11].time_repetcomm_minute)); //·Ö·6¸´Í¨·Ö
|
tf_repetcomm_second12.setText(String.format("%02d", con.timeControls[11].time_repetcomm_second)); //·Ö·6¸´Í¨Ãë
|
|
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}
|
|
}else if(Power_ComBase.PWD_SysRestart_Success_ACK == Comm_POWER.dt_user_cmd_ack) {
|
JOptionPane.showMessageDialog(tabbedPane, "Ô¶³ÌÖØÆôÉ豸³É¹¦!");
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}else if(Power_ComBase.PWD_SysRestart_Fail_ACK == Comm_POWER.dt_user_cmd_ack) {
|
JOptionPane.showMessageDialog(tabbedPane, "Ô¶³ÌÖØÆôÉ豸ʧ°Ü!");
|
Comm_POWER.dt_user_cmd_ack = Power_ComBase.CMD_NULL;
|
}
|
|
|
|
//¸üеçÔ´Ò£²â±í¸ñ
|
int row_num = Power_ACData.LOAD_COUNT;
|
if(dataRow_power.size() != row_num)
|
{
|
dataRow_power.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("·Ö·%d", n+1));
|
row.addElement(String.format("%1.1f", Comm_POWER.m_AcData.load_curr[n]));
|
row.addElement(String.format("%1.1f", Comm_POWER.m_AcData.load_kwh[n]));
|
|
dataRow_power.add(row);
|
}
|
} else {
|
for(int n=0; n<row_num; n++) {
|
dataRow_power.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_AcData.load_curr[n]), 1);
|
dataRow_power.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_AcData.load_kwh[n]), 2);
|
}
|
}
|
|
|
//¸üÐÂï®µç³Ø°ü1±í¸ñ
|
row_num = Power_LIBMSData.MONCNT_COUNT;
|
if(dataRow_libms1.size() != row_num)
|
{
|
dataRow_libms1.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("#%02d", n+1));
|
|
row.addElement(String.format("%1.3f", Comm_POWER.m_LibmsDatas[0].mon_vol[n]));
|
|
if(n < Comm_POWER.m_LibmsDatas[0].mon_temp.length) {
|
row.addElement(String.format("%1.1f", Comm_POWER.m_LibmsDatas[0].mon_temp[n]));
|
}else {
|
row.addElement("");
|
}
|
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[0].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s",mon_vol_alm_str));
|
|
if(n < Comm_POWER.m_LibmsDatas[0].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[0].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s", mon_tmp_alm_str));
|
}else {
|
row.addElement("");
|
}
|
|
dataRow_libms1.add(row);
|
}
|
} else {
|
for(int n=0; n<row_num; n++) {
|
dataRow_libms1.get(n).setElementAt(String.format("%1.3f", Comm_POWER.m_LibmsDatas[0].mon_vol[n]), 1);
|
|
if(n < Comm_POWER.m_LibmsDatas[0].mon_temp.length) {
|
dataRow_libms1.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_LibmsDatas[0].mon_temp[n]), 2);
|
}
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[0].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms1.get(n).setElementAt(String.format("%s", mon_vol_alm_str), 3);
|
if(n < Comm_POWER.m_LibmsDatas[0].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[0].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms1.get(n).setElementAt(String.format("%s", mon_tmp_alm_str), 4);
|
}
|
}
|
}
|
|
//¸üÐÂï®µç³Ø°ü2±í¸ñ
|
row_num = Power_LIBMSData.MONCNT_COUNT;
|
if(dataRow_libms2.size() != row_num)
|
{
|
dataRow_libms2.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("#%02d", n+1));
|
|
row.addElement(String.format("%1.3f", Comm_POWER.m_LibmsDatas[1].mon_vol[n]));
|
|
if(n < Comm_POWER.m_LibmsDatas[1].mon_temp.length) {
|
row.addElement(String.format("%1.1f", Comm_POWER.m_LibmsDatas[1].mon_temp[n]));
|
}else {
|
row.addElement("");
|
}
|
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[1].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s",mon_vol_alm_str));
|
|
if(n < Comm_POWER.m_LibmsDatas[1].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[1].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s", mon_tmp_alm_str));
|
}else {
|
row.addElement("");
|
}
|
|
dataRow_libms2.add(row);
|
}
|
} else {
|
for(int n=0; n<row_num; n++) {
|
dataRow_libms2.get(n).setElementAt(String.format("%1.3f", Comm_POWER.m_LibmsDatas[1].mon_vol[n]), 1);
|
|
if(n < Comm_POWER.m_LibmsDatas[1].mon_temp.length) {
|
dataRow_libms2.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_LibmsDatas[1].mon_temp[n]), 2);
|
}
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[1].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms2.get(n).setElementAt(String.format("%s", mon_vol_alm_str), 3);
|
if(n < Comm_POWER.m_LibmsDatas[1].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[1].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms2.get(n).setElementAt(String.format("%s", mon_tmp_alm_str), 4);
|
}
|
}
|
}
|
|
//¸üÐÂï®µç³Ø°ü4±í¸ñ
|
row_num = Power_LIBMSData.MONCNT_COUNT;
|
if(dataRow_libms3.size() != row_num)
|
{
|
dataRow_libms3.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("#%02d", n+1));
|
|
row.addElement(String.format("%1.3f", Comm_POWER.m_LibmsDatas[2].mon_vol[n]));
|
|
if(n < Comm_POWER.m_LibmsDatas[2].mon_temp.length) {
|
row.addElement(String.format("%1.1f", Comm_POWER.m_LibmsDatas[2].mon_temp[n]));
|
}else {
|
row.addElement("");
|
}
|
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[2].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s",mon_vol_alm_str));
|
|
if(n < Comm_POWER.m_LibmsDatas[2].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[2].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s", mon_tmp_alm_str));
|
}else {
|
row.addElement("");
|
}
|
|
dataRow_libms3.add(row);
|
}
|
} else {
|
for(int n=0; n<row_num; n++) {
|
dataRow_libms3.get(n).setElementAt(String.format("%1.3f", Comm_POWER.m_LibmsDatas[2].mon_vol[n]), 1);
|
|
if(n < Comm_POWER.m_LibmsDatas[2].mon_temp.length) {
|
dataRow_libms3.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_LibmsDatas[2].mon_temp[n]), 2);
|
}
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[2].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms3.get(n).setElementAt(String.format("%s", mon_vol_alm_str), 3);
|
if(n < Comm_POWER.m_LibmsDatas[2].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[2].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms3.get(n).setElementAt(String.format("%s", mon_tmp_alm_str), 4);
|
}
|
}
|
}
|
|
//¸üÐÂï®µç³Ø°ü4±í¸ñ
|
row_num = Power_LIBMSData.MONCNT_COUNT;
|
if(dataRow_libms4.size() != row_num)
|
{
|
dataRow_libms4.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("#%02d", n+1));
|
|
row.addElement(String.format("%1.3f", Comm_POWER.m_LibmsDatas[3].mon_vol[n]));
|
|
if(n < Comm_POWER.m_LibmsDatas[3].mon_temp.length) {
|
row.addElement(String.format("%1.1f", Comm_POWER.m_LibmsDatas[3].mon_temp[n]));
|
}else {
|
row.addElement("");
|
}
|
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[3].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s",mon_vol_alm_str));
|
|
if(n < Comm_POWER.m_LibmsDatas[3].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[3].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
row.addElement(String.format("%s", mon_tmp_alm_str));
|
}else {
|
row.addElement("");
|
}
|
|
dataRow_libms4.add(row);
|
}
|
} else {
|
for(int n=0; n<row_num; n++) {
|
dataRow_libms4.get(n).setElementAt(String.format("%1.3f", Comm_POWER.m_LibmsDatas[3].mon_vol[n]), 1);
|
|
if(n < Comm_POWER.m_LibmsDatas[3].mon_temp.length) {
|
dataRow_libms4.get(n).setElementAt(String.format("%1.1f", Comm_POWER.m_LibmsDatas[3].mon_temp[n]), 2);
|
}
|
int mon_vol_alm = Comm_POWER.m_LibmsDatas[2].mon_vol_alm[n];
|
String mon_vol_alm_str = mon_vol_alm==0x00?"Õý³£":mon_vol_alm==0x01?"ÏÂÏ޸澯":mon_vol_alm==0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms4.get(n).setElementAt(String.format("%s", mon_vol_alm_str), 3);
|
if(n < Comm_POWER.m_LibmsDatas[3].mon_tmp_alm.length) {
|
int mon_tmp_alm = Comm_POWER.m_LibmsDatas[3].mon_tmp_alm[n];
|
String mon_tmp_alm_str = mon_tmp_alm == 0x00?"Õý³£":mon_tmp_alm == 0x00?"ÏÂÏ޸澯":mon_tmp_alm == 0x02?"ÉÏÏ޸澯":"ÆäËû";
|
dataRow_libms4.get(n).setElementAt(String.format("%s", mon_tmp_alm_str), 4);
|
}
|
}
|
}
|
|
//¸üеçÔ´¸æ¾¯±í¸ñ
|
row_num = Power_AlmState.REG_Count;
|
if(dataRow_alm.size() != row_num && null != Comm_POWER.m_AlmState)
|
{
|
List<String> alm_name = power_util.createPowerAlmName();
|
List<String> alm_state = Comm_POWER.m_AlmState.getPowerAlarmState();
|
|
dataRow_alm.clear();
|
for(int n=0; n<row_num; n++) {
|
Vector<String> row = new Vector<String>();
|
row.addElement(String.format("%02d", n+1));
|
|
row.addElement(String.format("%s", alm_name.get(n)));
|
|
row.addElement(String.format("%s", alm_state.get(n)));
|
|
dataRow_alm.add(row);
|
}
|
} else {
|
List<String> alm_state = Comm_POWER.m_AlmState.getPowerAlarmState();
|
for(int n=0; n<row_num; n++) {
|
dataRow_alm.get(n).setElementAt(String.format("%s", alm_state.get(n)), 2);
|
}
|
}
|
|
|
table_power_data.updateUI();
|
table_alm.updateUI();
|
table_libms1.updateUI();
|
table_libms2.updateUI();
|
table_libms3.updateUI();
|
table_libms4.updateUI();
|
|
/********************** ¸üеçÔ´Ä£¿éÐÅÏ¢ ************************************/
|
{
|
tf_hardware_ver1.setText(String.format("%d", Comm_POWER.m_ModelDatas[0].hardware_ver)); //µçÔ´Ä£¿é1Ó²¼þ°æ±¾
|
tf_dcdc_ver1.setText(String.format("%d", Comm_POWER.m_ModelDatas[0].dcdc_ver)); //µçÔ´Ä£¿é1DCDC°æ±¾
|
tf_pfc_ver1.setText(String.format("%d", Comm_POWER.m_ModelDatas[0].pfc_ver)); //µçÔ´Ä£¿é1PFC°æ±¾
|
tf_outputvol1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].outputvol)); //µçÔ´Ä£¿é1Êä³öµçѹ
|
tf_outputlimitcurr1.setText(String.format("%1.2f", Comm_POWER.m_ModelDatas[0].outputlimitcurr)); //µçÔ´Ä£¿é1Êä³öÏÞÁ÷µã
|
tf_inputvol1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].inputvol)); //µçÔ´Ä£¿é1ÊäÈëµçѹ
|
tf_inertemp1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].inertemp)); //µçÔ´Ä£¿é1ÄÚ²¿Î¶È
|
tf_envirtemp1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].envirtemp)); //µçÔ´Ä£¿é1½ø·ç¿Ú»·¾³Î¶È
|
tf_outputcurr1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].outputcurr)); //µçÔ´Ä£¿é1Êä³öµçÁ÷
|
tf_almstate1_1.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[0].almstate1)); //µçÔ´Ä£¿é1¸æ¾¯×´Ì¬1
|
tf_almstate2_1.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[0].almstate2)); //µçÔ´Ä£¿é1¸æ¾¯×´Ì¬2
|
tf_ratedcurr_1.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[0].ratedcurr)); //µçÔ´Ä£¿é1¶î¶¨µçÁ÷
|
tf_commst_1.setText(String.format("%d", Comm_POWER.m_ModelDatas[0].commst)); //µçÔ´Ä£¿é1ͨÐűêʶ
|
|
tf_hardware_ver2.setText(String.format("%d", Comm_POWER.m_ModelDatas[1].hardware_ver)); //µçÔ´Ä£¿é2Ó²¼þ°æ±¾
|
tf_dcdc_ver2.setText(String.format("%d", Comm_POWER.m_ModelDatas[1].dcdc_ver)); //µçÔ´Ä£¿é2DCDC°æ±¾
|
tf_pfc_ver2.setText(String.format("%d", Comm_POWER.m_ModelDatas[1].pfc_ver)); //µçÔ´Ä£¿é2PFC°æ±¾
|
tf_outputvol2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].outputvol)); //µçÔ´Ä£¿é2Êä³öµçѹ
|
tf_outputlimitcurr2.setText(String.format("%1.2f", Comm_POWER.m_ModelDatas[1].outputlimitcurr)); //µçÔ´Ä£¿é2Êä³öÏÞÁ÷µã
|
tf_inputvol2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].inputvol)); //µçÔ´Ä£¿é2ÊäÈëµçѹ
|
tf_inertemp2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].inertemp)); //µçÔ´Ä£¿é2ÄÚ²¿Î¶È
|
tf_envirtemp2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].envirtemp)); //µçÔ´Ä£¿é2½ø·ç¿Ú»·¾³Î¶È
|
tf_outputcurr2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].outputcurr)); //µçÔ´Ä£¿é2Êä³öµçÁ÷
|
tf_almstate1_2.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[1].almstate1)); //µçÔ´Ä£¿é2¸æ¾¯×´Ì¬1
|
tf_almstate2_2.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[1].almstate2)); //µçÔ´Ä£¿é2¸æ¾¯×´Ì¬2
|
tf_ratedcurr_2.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[1].ratedcurr)); //µçÔ´Ä£¿é2¶î¶¨µçÁ÷
|
tf_commst_2.setText(String.format("%d", Comm_POWER.m_ModelDatas[1].commst)); //µçÔ´Ä£¿é2ͨÐűêʶ
|
|
tf_hardware_ver3.setText(String.format("%d", Comm_POWER.m_ModelDatas[2].hardware_ver)); //µçÔ´Ä£¿é3Ó²¼þ°æ±¾
|
tf_dcdc_ver3.setText(String.format("%d", Comm_POWER.m_ModelDatas[2].dcdc_ver)); //µçÔ´Ä£¿é3DCDC°æ±¾
|
tf_pfc_ver3.setText(String.format("%d", Comm_POWER.m_ModelDatas[2].pfc_ver)); //µçÔ´Ä£¿é3PFC°æ±¾
|
tf_outputvol3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].outputvol)); //µçÔ´Ä£¿é3Êä³öµçѹ
|
tf_outputlimitcurr3.setText(String.format("%1.2f", Comm_POWER.m_ModelDatas[2].outputlimitcurr)); //µçÔ´Ä£¿é3Êä³öÏÞÁ÷µã
|
tf_inputvol3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].inputvol)); //µçÔ´Ä£¿é3ÊäÈëµçѹ
|
tf_inertemp3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].inertemp)); //µçÔ´Ä£¿é3ÄÚ²¿Î¶È
|
tf_envirtemp3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].envirtemp)); //µçÔ´Ä£¿é3½ø·ç¿Ú»·¾³Î¶È
|
tf_outputcurr3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].outputcurr)); //µçÔ´Ä£¿é3Êä³öµçÁ÷
|
tf_almstate1_3.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[2].almstate1)); //µçÔ´Ä£¿é3¸æ¾¯×´Ì¬1
|
tf_almstate2_3.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[2].almstate2)); //µçÔ´Ä£¿é3¸æ¾¯×´Ì¬2
|
tf_ratedcurr_3.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[2].ratedcurr)); //µçÔ´Ä£¿é3¶î¶¨µçÁ÷
|
tf_commst_3.setText(String.format("%d", Comm_POWER.m_ModelDatas[2].commst)); //µçÔ´Ä£¿é3ͨÐűêʶ
|
|
tf_hardware_ver4.setText(String.format("%d", Comm_POWER.m_ModelDatas[3].hardware_ver)); //µçÔ´Ä£¿é4Ó²¼þ°æ±¾
|
tf_dcdc_ver4.setText(String.format("%d", Comm_POWER.m_ModelDatas[3].dcdc_ver)); //µçÔ´Ä£¿é4DCDC°æ±¾
|
tf_pfc_ver4.setText(String.format("%d", Comm_POWER.m_ModelDatas[3].pfc_ver)); //µçÔ´Ä£¿é4PFC°æ±¾
|
tf_outputvol4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].outputvol)); //µçÔ´Ä£¿é4Êä³öµçѹ
|
tf_outputlimitcurr4.setText(String.format("%1.2f", Comm_POWER.m_ModelDatas[3].outputlimitcurr)); //µçÔ´Ä£¿é4Êä³öÏÞÁ÷µã
|
tf_inputvol4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].inputvol)); //µçÔ´Ä£¿é4ÊäÈëµçѹ
|
tf_inertemp4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].inertemp)); //µçÔ´Ä£¿é4ÄÚ²¿Î¶È
|
tf_envirtemp4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].envirtemp)); //µçÔ´Ä£¿é4½ø·ç¿Ú»·¾³Î¶È
|
tf_outputcurr4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].outputcurr)); //µçÔ´Ä£¿é4Êä³öµçÁ÷
|
tf_almstate1_4.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[3].almstate1)); //µçÔ´Ä£¿é4¸æ¾¯×´Ì¬1
|
tf_almstate2_4.setText(Integer.toBinaryString(Comm_POWER.m_ModelDatas[3].almstate2)); //µçÔ´Ä£¿é4¸æ¾¯×´Ì¬2
|
tf_ratedcurr_4.setText(String.format("%1.1f", Comm_POWER.m_ModelDatas[3].ratedcurr)); //µçÔ´Ä£¿é4¶î¶¨µçÁ÷
|
tf_commst_4.setText(String.format("%d", Comm_POWER.m_ModelDatas[3].commst)); //µçÔ´Ä£¿é4ͨÐűêʶ
|
|
|
}
|
}
|
}
|
}
|