()
| 572 | //各种从图形面板或者从数据包获取参数,获取配置的函数。--start |
| 573 | |
| 574 | public int checkEnabledFor(){ |
| 575 | //get values that should enable this extender for which Component. |
| 576 | int status = 0; |
| 577 | if (chckbxIntruder.isSelected()){ |
| 578 | status += 32; |
| 579 | } |
| 580 | if(chckbxProxy.isSelected()){ |
| 581 | status += 4; |
| 582 | } |
| 583 | if(chckbxRepeater.isSelected()){ |
| 584 | status += 64; |
| 585 | } |
| 586 | if(chckbxScanner.isSelected()){ |
| 587 | status += 16; |
| 588 | } |
| 589 | return status; |
| 590 | } |
| 591 | |
| 592 | |
| 593 | public void getSecKeyConfig() { |