mxpopstar
2022-05-03 e75ef5f04f61aa5fbd89fd5c413dcee1819b7a91
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
package com.dev.ntm;
 
import javax.swing.JPanel;
 
import java.awt.BorderLayout;
 
import javax.swing.JTabbedPane;
 
import java.awt.GridLayout;
 
import javax.swing.border.TitledBorder;
import javax.swing.UIManager;
 
import java.awt.Color;
 
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
 
import org.apache.logging.log4j.Logger;
 
import com.LimitedDocument;
import com.dev.bts.data.FBS9100_ComBase;
import com.dev.ntm.cmd.NTM_Cmd;
import com.dev.ntm.cmd.NTM_TestParam;
 
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.nio.ByteBuffer;
import java.awt.FlowLayout;
 
public class ntm_page_param extends JPanel {
    private SPCommNTM m_Comm_NTM = null;
    private Logger m_Log = null;
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private JTextField tf_nominal_cap;
    private JTextField tf_monvol_type;
    private JTextField battgroup_cnt;
    private JTextField tf_mon_cnt;
    private JTextField tf_hourly_rate;
    private JTextField tf_preset_discur;
    private JTextField tf_preset_discap;
    private JTextField tf_preset_distimelong;
    private JTextField tf_monvol_lower;
    private JTextField tf_groupvol_lower;
    private JTextField tf_monvol_lower_cnt;
    private JTextField tf_preset_dispower;
    private JTextField tf_preset_disres;
    private JTextField tf_battgroup_name;
    private JTextField tf_preset_chgcurr;
    private JTextField tf_preset_chgvol;
    private JTextField tf_preset_chgvol_float;
    private JTextField tf_preset_chgcap;
    private JTextField tf_preset_chgtimelong;
    private JTextField tf_preset_chgtimelong_float;
    private JTextField tf_preset_chgstop_curr;
    private JTextField tf_groupvol_upper;
    private JTextField tf_monvol_upper;
    private JTextField tf_monvol_upper_cnt;
    private JTextField tf_chgtemp_upper;
    private JTextField textField_28;
    private JTextField tf_distemp_upper;
    private JTextField tf_circle_cnt;
    private JTextField tf_waitdis_timelong;
    private JTextField tf_waitchg_timelong;
    private JTextField tf_chargeC_cnt;
    private JTextField tf_chargeC_curr0;
    private JTextField tf_chargeC_curr1;
    private JTextField tf_chargeC_index;
    private JTextField tf_chargeC_curr2;
    private JTextField tf_chargeC_timelong0;
    private JTextField tf_chargeC_timelong1;
    private JTextField tf_chargeC_timelong2;
    private JTextField tf_dcdcvol_upper;
    private JTextField tf_onlinevol_lower;
    private JComboBox<String> cb_dischg_mode;
    private JComboBox<String> cb_acstop_op;
    private JComboBox<String> cb_test_mode;
    private JComboBox<String> cb_circle_starttype;
    private JTextField tf_opres_inf;
    /**
     * Create the panel.
     */
    public ntm_page_param(Logger log) {
        m_Log = log;
        setLayout(new BorderLayout(0, 0));
        
        JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
        add(tabbedPane, BorderLayout.CENTER);
        
        JPanel panel_6 = new JPanel();
        tabbedPane.addTab("\u653E\u7535\u53C2\u6570", null, panel_6, null);
        panel_6.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_9 = new JPanel();
        panel_6.add(panel_9, BorderLayout.NORTH);
        panel_9.setLayout(new GridLayout(0, 4, 0, 0));
        
        JPanel panel_19 = new JPanel();
        FlowLayout flowLayout = (FlowLayout) panel_19.getLayout();
        flowLayout.setVgap(0);
        panel_19.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u6A21\u5F0F", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_19);
        
        cb_dischg_mode = new JComboBox<String>();
        cb_dischg_mode.setModel(new DefaultComboBoxModel<String>(new String[] {"\u6052\u5B9A\u7535\u6D41", "\u6052\u5B9A\u529F\u7387", "\u6052\u5B9A\u7535\u963B", "\u672A\u77E5"}));
        panel_19.add(cb_dischg_mode);
        
        JPanel panel_13 = new JPanel();
        FlowLayout flowLayout_2 = (FlowLayout) panel_13.getLayout();
        flowLayout_2.setVgap(0);
        panel_13.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_13);
        
        tf_preset_discur = new JTextField();
        tf_preset_discur.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_discur.setColumns(10);
        panel_13.add(tf_preset_discur);
        
        JPanel panel_20 = new JPanel();
        FlowLayout flowLayout_3 = (FlowLayout) panel_20.getLayout();
        flowLayout_3.setVgap(0);
        panel_20.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u529F\u7387(KW)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_20);
        
        tf_preset_dispower = new JTextField();
        tf_preset_dispower.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_dispower.setColumns(10);
        panel_20.add(tf_preset_dispower);
        
        JPanel panel_21 = new JPanel();
        FlowLayout flowLayout_4 = (FlowLayout) panel_21.getLayout();
        flowLayout_4.setVgap(0);
        panel_21.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u963B\u503C(\u03A9)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_21);
        
        tf_preset_disres = new JTextField();
        tf_preset_disres.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_disres.setColumns(10);
        panel_21.add(tf_preset_disres);
        
        JPanel panel_11 = new JPanel();
        FlowLayout flowLayout_1 = (FlowLayout) panel_11.getLayout();
        flowLayout_1.setVgap(0);
        panel_11.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u505C\u7535\u5904\u7406", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_11);
        
        cb_acstop_op = new JComboBox<String>();
        cb_acstop_op.setModel(new DefaultComboBoxModel<String>(new String[] {"\u7EE7\u7EED\u653E\u7535", "\u505C\u6B62\u653E\u7535", "\u672A\u77E5"}));
        panel_11.add(cb_acstop_op);
        
        JPanel panel_12 = new JPanel();
        FlowLayout flowLayout_5 = (FlowLayout) panel_12.getLayout();
        flowLayout_5.setVgap(0);
        panel_12.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5C0F\u65F6\u7387", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_12);
        
        tf_hourly_rate = new JTextField();
        tf_hourly_rate.setDocument(new LimitedDocument(6, "0123456789"));
        tf_hourly_rate.setColumns(10);
        panel_12.add(tf_hourly_rate);
        
        JPanel panel_14 = new JPanel();
        FlowLayout flowLayout_6 = (FlowLayout) panel_14.getLayout();
        flowLayout_6.setVgap(0);
        panel_14.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u5BB9\u91CF(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_14);
        
        tf_preset_discap = new JTextField();
        tf_preset_discap.setDocument(new LimitedDocument(6, "0123456789"));
        tf_preset_discap.setColumns(10);
        panel_14.add(tf_preset_discap);
        
        JPanel panel_15 = new JPanel();
        FlowLayout flowLayout_7 = (FlowLayout) panel_15.getLayout();
        flowLayout_7.setVgap(0);
        panel_15.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u65F6\u95F4(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_15);
        
        tf_preset_distimelong = new JTextField();
        tf_preset_distimelong.setDocument(new LimitedDocument(6, "0123456789:"));
        tf_preset_distimelong.setColumns(10);
        panel_15.add(tf_preset_distimelong);
        
        JPanel panel_17 = new JPanel();
        FlowLayout flowLayout_8 = (FlowLayout) panel_17.getLayout();
        flowLayout_8.setVgap(0);
        panel_17.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u7EC4\u7AEF\u7535\u538B\u4E0B\u9650(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_17);
        
        tf_groupvol_lower = new JTextField();
        tf_groupvol_lower.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_groupvol_lower.setColumns(10);
        panel_17.add(tf_groupvol_lower);
        
        JPanel panel_16 = new JPanel();
        FlowLayout flowLayout_9 = (FlowLayout) panel_16.getLayout();
        flowLayout_9.setVgap(0);
        panel_16.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5355\u4F53\u7535\u538B\u4E0B\u9650(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_16);
        
        tf_monvol_lower = new JTextField();
        tf_monvol_lower.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_monvol_lower.setColumns(10);
        panel_16.add(tf_monvol_lower);
        
        JPanel panel_18 = new JPanel();
        FlowLayout flowLayout_10 = (FlowLayout) panel_18.getLayout();
        flowLayout_10.setVgap(0);
        panel_18.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5355\u4F53\u4E0B\u9650\u4E2A\u6570", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_18);
        
        tf_monvol_lower_cnt = new JTextField();
        tf_monvol_lower_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        tf_monvol_lower_cnt.setColumns(10);
        panel_18.add(tf_monvol_lower_cnt);
        
        JPanel panel_38 = new JPanel();
        FlowLayout flowLayout_11 = (FlowLayout) panel_38.getLayout();
        flowLayout_11.setVgap(0);
        panel_38.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u6E29\u5EA6\u4E0A\u9650(\u2103)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_38);
        
        tf_distemp_upper = new JTextField();
        tf_distemp_upper.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_distemp_upper.setColumns(10);
        panel_38.add(tf_distemp_upper);
        
        JPanel panel_44 = new JPanel();
        FlowLayout flowLayout_12 = (FlowLayout) panel_44.getLayout();
        flowLayout_12.setVgap(0);
        panel_44.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u7535\u5347\u538B\u4E0A\u9650(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_44);
        
        tf_dcdcvol_upper = new JTextField();
        tf_dcdcvol_upper.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_dcdcvol_upper.setColumns(10);
        panel_44.add(tf_dcdcvol_upper);
        
        JPanel panel_45 = new JPanel();
        FlowLayout flowLayout_13 = (FlowLayout) panel_45.getLayout();
        flowLayout_13.setVgap(0);
        panel_45.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5728\u7EBF\u7535\u538B\u4F4E\u9608\u503C(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_9.add(panel_45);
        
        tf_onlinevol_lower = new JTextField();
        tf_onlinevol_lower.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_onlinevol_lower.setColumns(10);
        panel_45.add(tf_onlinevol_lower);
        
        JPanel panel_7 = new JPanel();
        tabbedPane.addTab("\u5145\u7535\u53C2\u6570", null, panel_7, null);
        panel_7.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_24 = new JPanel();
        panel_7.add(panel_24, BorderLayout.NORTH);
        panel_24.setLayout(new GridLayout(0, 4, 0, 0));
        
        JPanel panel_25 = new JPanel();
        panel_25.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_25);
        
        tf_preset_chgcurr = new JTextField();
        tf_preset_chgcurr.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_chgcurr.setColumns(10);
        panel_25.add(tf_preset_chgcurr);
        
        JPanel panel_26 = new JPanel();
        panel_26.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u7535\u538B(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_26);
        
        tf_preset_chgvol = new JTextField();
        tf_preset_chgvol.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_chgvol.setColumns(10);
        panel_26.add(tf_preset_chgvol);
        
        JPanel panel_27 = new JPanel();
        panel_27.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6D6E\u5145\u7535\u538B(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_27);
        
        tf_preset_chgvol_float = new JTextField();
        tf_preset_chgvol_float.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_chgvol_float.setColumns(10);
        panel_27.add(tf_preset_chgvol_float);
        
        JPanel panel_28 = new JPanel();
        panel_28.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u5BB9\u91CF(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_28);
        
        tf_preset_chgcap = new JTextField();
        tf_preset_chgcap.setDocument(new LimitedDocument(6, "0123456789"));
        tf_preset_chgcap.setColumns(10);
        panel_28.add(tf_preset_chgcap);
        
        JPanel panel_29 = new JPanel();
        panel_29.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u65F6\u957F(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_29);
        
        tf_preset_chgtimelong = new JTextField();
        tf_preset_chgtimelong.setDocument(new LimitedDocument(6, ":0123456789"));
        tf_preset_chgtimelong.setColumns(10);
        panel_29.add(tf_preset_chgtimelong);
        
        JPanel panel_30 = new JPanel();
        panel_30.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6D6E\u5145\u65F6\u957F(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_30);
        
        tf_preset_chgtimelong_float = new JTextField();
        tf_preset_chgtimelong_float.setDocument(new LimitedDocument(6, ":0123456789"));
        tf_preset_chgtimelong_float.setColumns(10);
        panel_30.add(tf_preset_chgtimelong_float);
        
        JPanel panel_31 = new JPanel();
        panel_31.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u622A\u6B62\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_31);
        
        tf_preset_chgstop_curr = new JTextField();
        tf_preset_chgstop_curr.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_preset_chgstop_curr.setColumns(10);
        panel_31.add(tf_preset_chgstop_curr);
        
        JPanel panel_32 = new JPanel();
        panel_32.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u7EC4\u7AEF\u7535\u538B\u4E0A\u9650(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_32);
        
        tf_groupvol_upper = new JTextField();
        tf_groupvol_upper.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_groupvol_upper.setColumns(10);
        panel_32.add(tf_groupvol_upper);
        
        JPanel panel_33 = new JPanel();
        panel_33.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5355\u4F53\u7535\u538B\u4E0A\u9650(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_33);
        
        tf_monvol_upper = new JTextField();
        tf_monvol_upper.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_monvol_upper.setColumns(10);
        panel_33.add(tf_monvol_upper);
        
        JPanel panel_34 = new JPanel();
        panel_34.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5355\u4F53\u4E0A\u9650\u6570\u91CF", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_34);
        
        tf_monvol_upper_cnt = new JTextField();
        tf_monvol_upper_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        tf_monvol_upper_cnt.setColumns(10);
        panel_34.add(tf_monvol_upper_cnt);
        
        JPanel panel_35 = new JPanel();
        panel_35.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u7535\u6E29\u5EA6\u4E0A\u9650(\u2103)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_35);
        
        tf_chgtemp_upper = new JTextField();
        tf_chgtemp_upper.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_chgtemp_upper.setColumns(10);
        panel_35.add(tf_chgtemp_upper);
        
        JPanel panel_36 = new JPanel();
        panel_36.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u4FDD\u7559", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_24.add(panel_36);
        
        textField_28 = new JTextField();
        textField_28.setColumns(10);
        panel_36.add(textField_28);
        
        JPanel panel_8 = new JPanel();
        tabbedPane.addTab("\u5145\u653E\u5FAA\u73AF\u53C2\u6570", null, panel_8, null);
        panel_8.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_39 = new JPanel();
        panel_8.add(panel_39, BorderLayout.NORTH);
        panel_39.setLayout(new GridLayout(0, 4, 0, 0));
        
        JPanel panel_40 = new JPanel();
        panel_40.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u653E\u5FAA\u73AF\u8D77\u70B9", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_40);
        
        cb_circle_starttype = new JComboBox<String>();
        cb_circle_starttype.setModel(new DefaultComboBoxModel<String>(new String[] {"\u653E\u7535\u6D4B\u8BD5", "\u5145\u7535\u6D4B\u8BD5", "\u672A\u77E5"}));
        panel_40.add(cb_circle_starttype);
        
        JPanel panel_41 = new JPanel();
        panel_41.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u653E\u5FAA\u73AF\u6B21\u6570", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_41);
        
        tf_circle_cnt = new JTextField();
        tf_circle_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        tf_circle_cnt.setColumns(10);
        panel_41.add(tf_circle_cnt);
        
        JPanel panel_42 = new JPanel();
        panel_42.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5145\u540E\u9759\u7F6E\u65F6\u957F(Min)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_42);
        
        tf_waitdis_timelong = new JTextField();
        tf_waitdis_timelong.setDocument(new LimitedDocument(6, "0123456789"));
        tf_waitdis_timelong.setColumns(10);
        panel_42.add(tf_waitdis_timelong);
        
        JPanel panel_43 = new JPanel();
        panel_43.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u653E\u540E\u9759\u7F6E\u65F6\u957F(Min)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_43);
        
        tf_waitchg_timelong = new JTextField();
        tf_waitchg_timelong.setDocument(new LimitedDocument(6, "0123456789"));
        tf_waitchg_timelong.setColumns(10);
        panel_43.add(tf_waitchg_timelong);
        
        JPanel panel_48 = new JPanel();
        panel_48.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u6D41\u5145\u7535\u6BB5\u6570(1-3)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_48);
        
        tf_chargeC_cnt = new JTextField();
        tf_chargeC_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        tf_chargeC_cnt.setColumns(10);
        panel_48.add(tf_chargeC_cnt);
        
        JPanel panel_49 = new JPanel();
        panel_49.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB5\u4E00\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_49);
        
        tf_chargeC_curr0 = new JTextField();
        tf_chargeC_curr0.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_chargeC_curr0.setColumns(10);
        panel_49.add(tf_chargeC_curr0);
        
        JPanel panel_50 = new JPanel();
        panel_50.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB5\u4E8C\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_50);
        
        tf_chargeC_curr1 = new JTextField();
        tf_chargeC_curr1.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_chargeC_curr1.setColumns(10);
        panel_50.add(tf_chargeC_curr1);
        
        JPanel panel_52 = new JPanel();
        panel_52.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB5\u4E09\u7535\u6D41(A)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_52);
        
        tf_chargeC_curr2 = new JTextField();
        tf_chargeC_curr2.setDocument(new LimitedDocument(6, ".0123456789"));
        tf_chargeC_curr2.setColumns(10);
        panel_52.add(tf_chargeC_curr2);
        
        JPanel panel_51 = new JPanel();
        panel_51.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u8BBE\u7F6E\u5145\u7535\u9636\u6BB5(0-2)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_51);
        
        tf_chargeC_index = new JTextField();
        tf_chargeC_index.setDocument(new LimitedDocument(6, "0123456789"));
        tf_chargeC_index.setColumns(10);
        panel_51.add(tf_chargeC_index);
        
        JPanel panel_53 = new JPanel();
        panel_53.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB51\u65F6\u957F(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_53);
        
        tf_chargeC_timelong0 = new JTextField();
        tf_chargeC_timelong0.setDocument(new LimitedDocument(6, "0123456789"));
        tf_chargeC_timelong0.setColumns(10);
        panel_53.add(tf_chargeC_timelong0);
        
        JPanel panel_54 = new JPanel();
        panel_54.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB52\u65F6\u957F(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_54);
        
        tf_chargeC_timelong1 = new JTextField();
        tf_chargeC_timelong1.setDocument(new LimitedDocument(6, "0123456789"));
        tf_chargeC_timelong1.setColumns(10);
        panel_54.add(tf_chargeC_timelong1);
        
        JPanel panel_55 = new JPanel();
        panel_55.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6052\u5145\u6BB53\u65F6\u957F(HH:MM)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        panel_39.add(panel_55);
        
        tf_chargeC_timelong2 = new JTextField();
        tf_chargeC_timelong2.setDocument(new LimitedDocument(6, "0123456789"));
        tf_chargeC_timelong2.setColumns(10);
        panel_55.add(tf_chargeC_timelong2);
        
        JPanel panel = new JPanel();
        add(panel, BorderLayout.NORTH);
        panel.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_23 = new JPanel();
        panel.add(panel_23, BorderLayout.NORTH);
        panel_23.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_37 = new JPanel();
        panel_37.setBorder(new TitledBorder(null, "\u7535\u6C60\u7EC4\u540D\u79F0", TitledBorder.LEADING, TitledBorder.TOP, null, null));
        panel_23.add(panel_37, BorderLayout.CENTER);
        panel_37.setLayout(new BorderLayout(0, 0));
        
        tf_battgroup_name = new JTextField();
        panel_37.add(tf_battgroup_name, BorderLayout.CENTER);
        tf_battgroup_name.setColumns(10);
        
        JPanel panel_10 = new JPanel();
        panel_10.setBorder(new TitledBorder(null, "\u6D4B\u8BD5\u7C7B\u578B", TitledBorder.LEADING, TitledBorder.TOP, null, null));
        panel_23.add(panel_10, BorderLayout.WEST);
        panel_10.setLayout(new BorderLayout(0, 0));
        
        cb_test_mode = new JComboBox<String>();
        cb_test_mode.setModel(new DefaultComboBoxModel<String>(new String[] {"\u79BB\u7EBF\u653E\u7535", "\u5728\u7EBF\u653E\u7535", "\u672A\u77E5"}));
        panel_10.add(cb_test_mode);
        
        JPanel panel_22 = new JPanel();
        panel.add(panel_22, BorderLayout.SOUTH);
        panel_22.setLayout(new GridLayout(0, 4, 0, 0));
        
        JPanel panel_1 = new JPanel();
        panel_22.add(panel_1);
        panel_1.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6807\u79F0\u5BB9\u91CF(AH)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        
        tf_nominal_cap = new JTextField();
        tf_nominal_cap.setDocument(new LimitedDocument(6, "0123456789"));
        tf_nominal_cap.setColumns(10);
        panel_1.add(tf_nominal_cap);
        
        JPanel panel_2 = new JPanel();
        panel_22.add(panel_2);
        panel_2.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u6807\u79F0\u5355\u4F53\u7535\u538B(V)", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        
        tf_monvol_type = new JTextField();
        tf_monvol_type.setDocument(new LimitedDocument(6, "0123456789."));
        tf_monvol_type.setColumns(10);
        panel_2.add(tf_monvol_type);
        
        JPanel panel_3 = new JPanel();
        panel_22.add(panel_3);
        panel_3.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u7535\u6C60\u7EC4\u6570", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        
        battgroup_cnt = new JTextField();
        battgroup_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        battgroup_cnt.setColumns(10);
        panel_3.add(battgroup_cnt);
        
        JPanel panel_4 = new JPanel();
        panel_22.add(panel_4);
        panel_4.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "\u5355\u4F53\u6570\u91CF", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(0, 0, 0)));
        
        tf_mon_cnt = new JTextField();
        tf_mon_cnt.setDocument(new LimitedDocument(6, "0123456789"));
        tf_mon_cnt.setColumns(10);
        panel_4.add(tf_mon_cnt);
        
        JPanel panel_46 = new JPanel();
        add(panel_46, BorderLayout.SOUTH);
        panel_46.setLayout(new BorderLayout(0, 0));
        
        JPanel panel_5 = new JPanel();
        panel_46.add(panel_5, BorderLayout.CENTER);
        
        JButton button = new JButton("\u8BFB\u53D6\u53C2\u6570");
        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_GetDisParm, ByteBuffer.allocate(0), ByteBuffer.allocate(0));
            }
        });
        panel_5.setLayout(new GridLayout(0, 6, 8, 4));
        panel_5.add(button);
        
        JButton button_1 = new JButton("\u5199\u5165\u53C2\u6570");
        button_1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                NTM_TestParam m_pm = m_Comm_NTM.m_TestParam;
                try {
                    m_pm.test_mode = cb_test_mode.getSelectedIndex();
                    m_pm.nominal_cap = Integer.valueOf(tf_nominal_cap.getText());
                    m_pm.monvol_type = Double.valueOf(tf_monvol_type.getText());
                    m_pm.battgroup_cnt = Integer.valueOf(battgroup_cnt.getText());
                    m_pm.mon_cnt = Integer.valueOf(tf_mon_cnt.getText());
                    m_pm.dischg_mode = cb_dischg_mode.getSelectedIndex();
                    m_pm.preset_discur = Double.valueOf(tf_preset_discur.getText());
                    m_pm.preset_dispower = Double.valueOf(tf_preset_dispower.getText());
                    m_pm.preset_disres = Double.valueOf(tf_preset_disres.getText());
                    m_pm.acstop_op = cb_acstop_op.getSelectedIndex();
                    m_pm.hourly_rate = Integer.valueOf(tf_hourly_rate.getText());
                    m_pm.preset_discap = Double.valueOf(tf_preset_discap.getText());
                    m_pm.preset_distimelong = FBS9100_ComBase.changeHH_MMToInt(tf_preset_distimelong.getText());
                    m_pm.groupvol_lower = Double.valueOf(tf_groupvol_lower.getText());
                    m_pm.monvol_lower = Double.valueOf(tf_monvol_lower.getText());
                    m_pm.monvol_lower_cnt = Integer.valueOf(tf_monvol_lower_cnt.getText());
                    m_pm.distemp_upper = Double.valueOf(tf_distemp_upper.getText());
                    m_pm.dcdcvol_upper = Double.valueOf(tf_dcdcvol_upper.getText());
                    m_pm.onlinevol_lower = Double.valueOf(tf_onlinevol_lower.getText());
                    
                    m_pm.preset_chgcurr = Double.valueOf(tf_preset_chgcurr.getText());
                    m_pm.preset_chgvol = Double.valueOf(tf_preset_chgvol.getText());
                    m_pm.preset_chgvol_float = Double.valueOf(tf_preset_chgvol_float.getText());
                    m_pm.preset_chgcap = Double.valueOf(tf_preset_chgcap.getText());
                    m_pm.preset_chgtimelong = FBS9100_ComBase.changeHH_MMToInt(tf_preset_chgtimelong.getText());
                    m_pm.preset_chgtimelong_float = FBS9100_ComBase.changeHH_MMToInt(tf_preset_chgtimelong_float.getText());
                    m_pm.preset_chgstop_curr = Double.valueOf(tf_preset_chgstop_curr.getText());
                    m_pm.groupvol_upper = Double.valueOf(tf_groupvol_upper.getText());
                    m_pm.monvol_upper = Double.valueOf(tf_monvol_upper.getText());
                    m_pm.monvol_upper_cnt = Integer.valueOf(tf_monvol_upper_cnt.getText());
                    m_pm.chgtemp_upper = Double.valueOf(tf_chgtemp_upper.getText());
                    
                    m_pm.circle_starttype = cb_circle_starttype.getSelectedIndex();
                    m_pm.circle_cnt = Integer.valueOf(tf_circle_cnt.getText());
                    m_pm.waitdis_timelong = Integer.valueOf(tf_waitdis_timelong.getText());
                    m_pm.waitchg_timelong = Integer.valueOf(tf_waitchg_timelong.getText());
                    m_pm.chargeC_cnt = Integer.valueOf(tf_chargeC_cnt.getText());
                    m_pm.chargeC_curr[0] = Double.valueOf(tf_chargeC_curr0.getText());
                    m_pm.chargeC_curr[1] = Double.valueOf(tf_chargeC_curr1.getText());
                    m_pm.chargeC_curr[2] = Double.valueOf(tf_chargeC_curr2.getText());
                    m_pm.chargeC_index = Integer.valueOf(tf_chargeC_index.getText());
                    m_pm.chargeC_timelong[0] = FBS9100_ComBase.changeHH_MMToInt(tf_chargeC_timelong0.getText());
                    m_pm.chargeC_timelong[1] = FBS9100_ComBase.changeHH_MMToInt(tf_chargeC_timelong1.getText());
                    m_pm.chargeC_timelong[2] = FBS9100_ComBase.changeHH_MMToInt(tf_chargeC_timelong2.getText());
                
                    if(NTM_Cmd.PAGE_TAG_DISCPARAM != m_Comm_NTM.m_NTM_Cmd.ntm_PageStat) {
                        ByteBuffer bf = ByteBuffer.allocate(1);
                        bf.put((byte) 1);
                        bf.position(0);
                        m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_ChangeToParamPage, bf, null);    //ÏȽøÈë²ÎÊýÉèÖÃÒ³Ãæ,ʹÄܲÎÊýÉèÖÃ;
                    } else {
                        m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_SetDisParm, null, m_Comm_NTM.m_TestParam.getByteBuffer());
                    }
                } catch (Exception e) {
                    m_Log.error(e.toString(), e);
                    JOptionPane.showMessageDialog(null, "²ÎÊý¸ñʽ´íÎó: " + e.toString());
                }
            }
        });
        panel_5.add(button_1);
        
        JButton btnNewButton = new JButton("\u542F\u52A8\u653E\u7535");
        btnNewButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StartDischarge, null, null);
            }
        });
        
        JButton btnNewButton_7 = new JButton("\u6E05\u9664\u544A\u8B66");
        btnNewButton_7.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_ClearDevAlarm, null, null);
            }
        });
        panel_5.add(btnNewButton_7);
        panel_5.add(btnNewButton);
        
        JButton btnNewButton_1 = new JButton("\u542F\u52A8\u5145\u7535");
        btnNewButton_1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StartCharge, null, null);
            }
        });
        
        JButton btnNewButton_2 = new JButton("\u6682\u505C\u653E\u7535");
        btnNewButton_2.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_PauseDischarge, null, null);
            }
        });
        panel_5.add(btnNewButton_2);
        
        JButton btnNewButton_4 = new JButton("\u505C\u6B62\u653E\u7535");
        btnNewButton_4.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StopDischarge, null, null);
            }
        });
        panel_5.add(btnNewButton_4);
        panel_5.add(btnNewButton_1);
        
        JButton btnNewButton_3 = new JButton("\u542F\u52A8\u6D3B\u5316");
        btnNewButton_3.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StartCircleDC, null, null);
            }
        });
        
        JButton btnNewButton_5 = new JButton("\u6682\u505C\u5145\u7535");
        btnNewButton_5.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_PauseCharge, null, null);
            }
        });
        panel_5.add(btnNewButton_5);
        
        JButton btnNewButton_6 = new JButton("\u505C\u6B62\u5145\u7535");
        btnNewButton_6.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StopCharge, null, null);
            }
        });
        panel_5.add(btnNewButton_6);
        panel_5.add(btnNewButton_3);
        
        JButton btnNewButton_8 = new JButton("\u6682\u505C\u6D3B\u5316");
        btnNewButton_8.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_PauseCircleDC, null, null);
            }
        });
        panel_5.add(btnNewButton_8);
        
        JButton btnNewButton_9 = new JButton("\u505C\u6B62\u6D3B\u5316");
        btnNewButton_9.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                if(null == m_Comm_NTM) {
                    return;
                }
                
                m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_StopCircleDC, null, null);
            }
        });
        panel_5.add(btnNewButton_9);
        
        JPanel panel_47 = new JPanel();
        panel_47.setBorder(new TitledBorder(null, "\u64CD\u4F5C\u4FE1\u606F", TitledBorder.LEADING, TitledBorder.TOP, null, null));
        panel_46.add(panel_47, BorderLayout.SOUTH);
        panel_47.setLayout(new BorderLayout(0, 0));
        
        tf_opres_inf = new JTextField();
        panel_47.add(tf_opres_inf, BorderLayout.CENTER);
        tf_opres_inf.setColumns(10);
    }
    
    public void setComm_NTM(SPCommNTM sz) {
        m_Comm_NTM = sz;
        if(null != sz) {
            m_Comm_NTM.tf_opres_inf = tf_opres_inf;
        }
    }
    
    public void updateData() {
        if(null == m_Comm_NTM) {
            return;
        }
        /*
        if(NTM_Cmd.CMD_ChangeToParamPage == m_Comm_NTM.dt_cmd_ack) {
            m_Comm_NTM.setCommCmd(NTM_Cmd.CMD_SetDisParm, m_Comm_NTM.m_TestParam.getByteBuffer());
            return;
        }
        */
        
        this.tf_battgroup_name.setText(m_Comm_NTM.mCurrentBattGroupName);
        
        if(NTM_Cmd.CMD_GetDisParm == m_Comm_NTM.dt_cmd_ack) {
            m_Comm_NTM.setCommCmdAck(NTM_Cmd.CMD_NULL);
            
            NTM_TestParam m_pm = m_Comm_NTM.m_TestParam;
            cb_test_mode.setSelectedIndex(m_pm.test_mode%cb_test_mode.getItemCount());
            tf_nominal_cap.setText(String.format("%d", m_pm.nominal_cap));
            tf_monvol_type.setText(String.format("%1.1f", m_pm.monvol_type));
            battgroup_cnt.setText(String.format("%d", m_pm.battgroup_cnt));
            tf_mon_cnt.setText(String.format("%d", m_pm.mon_cnt));
            cb_dischg_mode.setSelectedIndex(m_pm.dischg_mode%cb_dischg_mode.getItemCount());
            tf_preset_discur.setText(String.format("%1.0f", m_pm.preset_discur));
            tf_preset_dispower.setText(String.format("%1.1f", m_pm.preset_dispower));
            tf_preset_disres.setText(String.format("%1.2f", m_pm.preset_disres));
            cb_acstop_op.setSelectedIndex(m_pm.acstop_op%cb_acstop_op.getItemCount());
            tf_hourly_rate.setText(String.format("%d", m_pm.hourly_rate));
            tf_preset_discap.setText(String.format("%1.0f", m_pm.preset_discap));
            tf_preset_distimelong.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.preset_distimelong));
            tf_groupvol_lower.setText(String.format("%1.1f", m_pm.groupvol_lower));
            tf_monvol_lower.setText(String.format("%1.3f", m_pm.monvol_lower));
            tf_monvol_lower_cnt.setText(String.format("%d", m_pm.monvol_lower_cnt));
            tf_distemp_upper.setText(String.format("%1.1f", m_pm.distemp_upper));
            tf_dcdcvol_upper.setText(String.format("%1.1f", m_pm.dcdcvol_upper));
            tf_onlinevol_lower.setText(String.format("%1.1f", m_pm.onlinevol_lower));
            
            tf_preset_chgcurr.setText(String.format("%1.0f", m_pm.preset_chgcurr));
            tf_preset_chgvol.setText(String.format("%1.1f", m_pm.preset_chgvol));
            tf_preset_chgvol_float.setText(String.format("%1.1f", m_pm.preset_chgvol_float));
            tf_preset_chgcap.setText(String.format("%1.0f", m_pm.preset_chgcap));
            tf_preset_chgtimelong.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.preset_chgtimelong));
            tf_preset_chgtimelong_float.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.preset_chgtimelong_float));
            tf_preset_chgstop_curr.setText(String.format("%1.1f", m_pm.preset_chgstop_curr));
            tf_groupvol_upper.setText(String.format("%1.1f", m_pm.groupvol_upper));
            tf_monvol_upper.setText(String.format("%1.3f", m_pm.monvol_upper));
            tf_monvol_upper_cnt.setText(String.format("%d", m_pm.monvol_upper_cnt));
            tf_chgtemp_upper.setText(String.format("%1.1f", m_pm.chgtemp_upper));
            
            cb_circle_starttype.setSelectedIndex(m_pm.circle_starttype%cb_circle_starttype.getItemCount());
            tf_circle_cnt.setText(String.format("%d", m_pm.circle_cnt));
            tf_waitdis_timelong.setText(String.format("%d", m_pm.waitdis_timelong));
            tf_waitchg_timelong.setText(String.format("%d", m_pm.waitchg_timelong));
            tf_chargeC_cnt.setText(String.format("%d", m_pm.chargeC_cnt));
            tf_chargeC_curr0.setText(String.format("%1.0f", m_pm.chargeC_curr[0]));
            tf_chargeC_curr1.setText(String.format("%1.0f", m_pm.chargeC_curr[1]));
            tf_chargeC_curr2.setText(String.format("%1.0f", m_pm.chargeC_curr[2]));
            tf_chargeC_index.setText(String.format("%d", m_pm.chargeC_index));
            tf_chargeC_timelong0.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.chargeC_timelong[0]));
            tf_chargeC_timelong1.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.chargeC_timelong[1]));
            tf_chargeC_timelong2.setText(FBS9100_ComBase.changeIntToHH_MM(m_pm.chargeC_timelong[2]));
        }
    }
}