潘志宝
2024-11-28 231897591c909b164defebfdb5936387ec2807d0
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.common;
H 2
3 import java.util.Locale;
4 import java.util.ResourceBundle;
5
6 import com.iailab.netsdk.lib.NetSDKLib;
7 import com.iailab.netsdk.lib.NetSDKLib.*;
8
9 public final class Res {
10     
11     private static ResourceBundle bundle;
12     
13     private Res() {
14         switchLanguage(LanguageType.Chinese);
15     }
16
17     private static class StringBundleHolder {
18         private static Res instance = new Res();
19     }
20     
21     public static Res string() {
22         return StringBundleHolder.instance;
23     }
24     
25     public static enum LanguageType {
26         English,
27         Chinese
28     }
29     
30     public ResourceBundle getBundle() {
31         return bundle;
32     }
33     
34     /**
35      * \if ENGLISH_LANG
36      * Switch between Chinese and English
37      * \else
38      * 中英文切换
39      * \endif
40      */
41     public void switchLanguage(LanguageType type) {
42         switch(type) {
43             case Chinese:
44                 bundle = ResourceBundle.getBundle("res", new Locale("zh", "CN"));
45                 break;
46             case English:
47                 bundle = ResourceBundle.getBundle("res", new Locale("en", "US"));
48                 break;
49             default:
50                 break;
51         }
52     }
53     
54     public String getSwitchLanguage() {
55         return bundle.getString("SWITCH_LANGUAGE");
56     }
57     
58     public String getRealplay() {
59         return bundle.getString("REALPLAY");
60     }
61     
62     public String getMultiRealplay() {
63         return bundle.getString("MULTIREALPLAY");
64     }
65     
66     public String getDownloadRecord() {
67         return bundle.getString("DOWNLOAD_RECORD");
68     }
69     
70     public String getITSEvent() {
71         return bundle.getString("ITS_EVENT");
72     }
73     
74     public String getOnline() {
75         return bundle.getString("ONLINE");
76     }
77     
78     public String getDisConnectReconnecting() {
79         return bundle.getString("DISCONNECT_RECONNECTING");
80     }
81     
82     public String getDisConnect() {
83         return bundle.getString("DISCONNECT");
84     }
85     
86     public String getPromptMessage() {
87         return bundle.getString("PROMPT_MESSAGE");
88     }
89     
90     public String getErrorMessage() {
91         return bundle.getString("ERROR_MESSAGE");
92     }
93     
94     public String getReconnectSucceed() {
95         return bundle.getString("RECONNECT_SUCCEED");
96     }
97     
98     public String getSucceed() {
99         return bundle.getString("SUCCEED");
100     }
101     
102     public String getFailed() {
103         return bundle.getString("FAILED");
104     }
105     
106     public String getYear() {
107         return bundle.getString("YEAR");
108     }
109     
110     public String getMonth() {
111         return bundle.getString("MONTH");
112     }
113     
114     public String getDay() {
115         return bundle.getString("DAY");
116     }
117     
118     public String getHour() {
119         return bundle.getString("HOUR");
120     }
121     
122     public String getMinute() {
123         return bundle.getString("MINUTE");
124     }
125     
126     public String getSecond() {
127         return bundle.getString("SECOND");
128     }
129     
130     public String getSunday() {
131         return bundle.getString("SUNDAY");
132     }
133     
134     public String getMonday() {
135         return bundle.getString("MONDAY");
136     }
137     
138     public String getTuesday() {
139         return bundle.getString("TUESDAY");
140     }
141     
142     public String getWednesday() {
143         return bundle.getString("WEDNESDAY");
144     }
145     
146     public String getThursday() {
147         return bundle.getString("THURSDAY");
148     }
149     
150     public String getFriday() {
151         return bundle.getString("FRIDAY");
152     }
153     
154     public String getSaturday() {
155         return bundle.getString("SATURDAY");
156     }
157     
158     public String[] getWeek() {
159         String[] weekdays = {getSunday(),
160                              getMonday(),
161                              getTuesday(),
162                              getWednesday(),
163                              getThursday(),
164                              getFriday(),
165                              getSaturday()
166         };
167         
168         return weekdays;
169     }
170     
171     public String getConfirm() {
172         return bundle.getString("CONFIRM");
173     }
174     
175     public String getCancel() {
176         return bundle.getString("CANCEL");
177     }
178     
179     public String getDateChooser() {
180         return bundle.getString("DATE_CHOOSER");
181     }
182     
183     public String getFunctionList() {
184         return bundle.getString("FUNCTIONLIST");
185     }
186
187     public String getLogin() {
188         return bundle.getString("LOGIN");
189     }
190     
191     public String getLoginSuccess() {
192         return bundle.getString("LOGIN_SUCCEED");
193     }
194
195     public String getFillingRules() {
196         return bundle.getString("FILLING_RULES");
197     }
198     
199     public String getLogout() {
200         return bundle.getString("LOGOUT");
201     }
202     
203     public String getDeviceIp() {
204         return bundle.getString("DEVICE_IP");
205     }
206     
207     public String getIp() {
208         return bundle.getString("IP");
209     }
210     
211     public String getPort() {
212         return bundle.getString("DEVICE_PORT");
213     }
214     
215     public String getUserId() {
216         return bundle.getString("USER_ID");
217     }
218     
219     public String getTemp() {
220         return bundle.getString("TEMPERATURE");
221     }
222     
223     public String getMaskstutas() {
224         return bundle.getString("MASK_STATUS");
225     }
226     
227     public String getUserName(boolean space) {
228         return bundle.getString("USER_NAME");
229     }
230     
231     public String getCardNo() {
232         return bundle.getString("CARD_NO");
233     }
234     
235     public String getUserName() {
236         return bundle.getString("USERNAME");
237     }
238     
239     public String getPassword() {
240         return bundle.getString("PASSWORD");
241     }
242     
243     
244     public String getLoginFailed() {
245         return bundle.getString("LOGIN_FAILED");
246     }
247     
248     public String getInputDeviceIP() {
249         return bundle.getString("PLEASE_INPUT_DEVICE_IP");
250     }
251     
252     public String getInputDevicePort() {
253         return bundle.getString("PLEASE_INPUT_DEVICE_PORT");
254     }
255     
256     public String getInputUsername() {
257         return bundle.getString("PLEASE_INPUT_DEVICE_USERNAME");
258     }
259     
260     public String getInputPassword() {
261         return bundle.getString("PLEASE_INPUT_DEVICE_PASSWORD");
262     }
263     
264     public String getInputConfirmPassword() {
265         return bundle.getString("PLEASE_INPUT_CONFIRM_PASSWORD");
266     }
267     
268     public String getStartRealPlay() {
269         return bundle.getString("START_REALPLAY");
270     }
271     
272     public String getStopRealPlay() {
273         return bundle.getString("STOP_REALPLAY");
274     }
275     
276     public String getChn() {
277         return bundle.getString("CHN");
278     }
279     
280     public String getChannel() {
281         return bundle.getString("CHANNEL");
282     }
283     
284     public String getStreamType() {
285         return bundle.getString("STREAM_TYPE");
286     }
287     
288     public String getMasterAndSub() {
289         return bundle.getString("MASTER_AND_SUB_STREAM");
290     }
291     
292     public String getMasterStream() {
293         return bundle.getString("MASTER_STREAM");
294     }
295     
296     public String getSubStream() {
297         return bundle.getString("SUB_STREAM");
298     }
299     
300     public String getPTZ() {
301         return bundle.getString("PTZ");
302     }
303     
304     public String getPtzControlAndCapture() {
305         return bundle.getString("PTZCONTROL_CAPTURE");
306     }
307     
308     public String getCapturePicture() {
309         return bundle.getString("CAPTURE_PICTURE");
310     }
311     
312     public String getLocalCapture() {
313         return bundle.getString("LOCAL_CAPTURE");
314     }
315     
316     public String getRemoteCapture() {
317         return bundle.getString("REMOTE_CAPTURE");
318     }
319     
320     public String getTimerCapture() {
321         return bundle.getString("TIMER_CAPTURE");
322     }
323     
324     public String getStopCapture() {
325         return bundle.getString("STOP_CAPTURE");
326     }
327     
328     public String getInterval() {
329         return bundle.getString("INTERVAL");
330     }
331     
332     public String getTimeIntervalIllegal() {
333         return bundle.getString("TIME_INTERVAL_ILLEGAL");
334     }
335     
336     public String getNeedStartRealPlay() {
337         return bundle.getString("PLEASE_START_REALPLAY");
338     }
339     
340     public String getPTZControl() {
341         return bundle.getString("PTZ_CONTROL");
342     }
343     
344     public String getLeftUp() {
345         return bundle.getString("LEFT_UP");
346     }
347     
348     public String getUp() {
349         return bundle.getString("UP");
350     }
351     
352     public String getRightUp() {
353         return bundle.getString("RIGHT_UP");
354     }
355     
356     public String getLeft() {
357         return bundle.getString("LEFT");
358     }
359     
360     public String getRight() {
361         return bundle.getString("RIGHT");
362     }
363     
364     public String getLeftDown() {
365         return bundle.getString("LEFT_DOWN");
366     }
367     
368     public String getDown() {
369         return bundle.getString("DOWN");
370     }
371     
372     public String getRightDown() {
373         return bundle.getString("RIGHT_DOWN");
374     }
375     
376     public String getSpeed() {
377         return bundle.getString("SPEED");
378     }
379     
380     public String getZoomAdd() {
381         return bundle.getString("ZOOM_ADD");
382     }
383     
384     public String getZoomDec() {
385         return bundle.getString("ZOOM_DEC");
386     }
387     
388     public String getFocusAdd() {
389         return bundle.getString("FOCUS_ADD");
390     }
391     
392     public String getFocusDec() {
393         return bundle.getString("FOCUS_DEC");
394     }
395     
396     public String getIrisAdd() {
397         return bundle.getString("IRIS_ADD");
398     }
399     
400     public String getIrisDec() {
401         return bundle.getString("IRIS_DEC");
402     }
403     
404     public String getIndex() {
405         return bundle.getString("INDEX");
406     }
407     
408     public String getEventPicture() {
409         return bundle.getString("EVENT_PICTURE");
410     }
411     
412     public String getPlatePicture() {
413         return bundle.getString("PLATE_PICTURE");
414     }
415     
416     public String getEventName() {
417         return bundle.getString("EVENT_NAME");
418     }
419     
420     public String getLicensePlate() {
421         return bundle.getString("LICENSE_PLATE");
422     }
423     
424     public String getEventTime() {
425         return bundle.getString("EVENT_TIME");
426     }
427     
428     public String getPlateType() {
429         return bundle.getString("PLATE_TYPE");
430     }
431     
432     public String getPlateColor() {
433         return bundle.getString("PLATE_COLOR");
434     }
435     
436     public String getVehicleColor() {
437         return bundle.getString("VEHICLE_COLOR");
438     }
439     
440     public String getVehicleType() {
441         return bundle.getString("VEHICLE_TYPE");
442     }
443     
444     public String getVehicleSize() {
445         return bundle.getString("VEHICLE_SIZE");
446     }
447     
448     public String getFileCount() {
449         return bundle.getString("FILE_COUNT");
450     }
451     
452     public String getFileIndex() {
453         return bundle.getString("FILE_INDEX");
454     }
455     
456     public String getGroupId() {
457         return bundle.getString("GROUP_ID");
458     }
459     
460     public String getIllegalPlace() {
461         return bundle.getString("ILLEGAL_PLACE");
462     }
463     
464     public String getLaneNumber() {
465         return bundle.getString("LANE_NUMBER");
466     }
467     
468     public String getEventInfo() {
469         return bundle.getString("EVENT_INFO");
470     }
471     
472     public String getNoPlate() {
473         return bundle.getString("NO_PLATENUMBER");
474     }
475     
476     public String[] getTrafficTableName() {
477         String[] name = {getIndex(),
478                          getEventName(), 
479                          getLicensePlate(), 
480                          getEventTime(), 
481                          getPlateType(),     
482                          getPlateColor(),     
483                          getVehicleColor(), 
484                          getVehicleType(), 
485                          getVehicleSize(),
486                          getFileCount(),
487                          getFileIndex(),
488                          getGroupId(),
489                          getIllegalPlace(),
490                          getLaneNumber()};
491         return name;
492     }
493     
494     public String getOperate() {
495         return bundle.getString("OPERATE");
496     }
497     
498     public String getAttach() {
499         return bundle.getString("ATTACH");
500     }
501     
502     public String getDetach() {
503         return bundle.getString("DETACH");
504     }
505     
506     public String getOpenStrobe() {
507         return bundle.getString("OPEN_STROBE");
508     }
509     
510     public String getCloseStrobe() {
511         return bundle.getString("CLOSE_STROBE");
512     }
513     
514     public String getOpenStrobeFailed() {
515         return bundle.getString("OPEN_STROBE_FAILED");
516     }
517     
518     public String getManualCapture() {
519         return bundle.getString("MANUAL_CAPTURE");
520     }
521     
522     public String getManualCaptureSucceed() {
523         return  bundle.getString("MANUALSNAP_SUCCEED");
524     }
525     
526     public String getManualCaptureFailed() {
527         return  bundle.getString("MANUALSNAP_FAILED");
528     }
529     
530     /*
531      * 车辆大小对照表
532      */
533     public String getTrafficSize(int nVehicleSize) {
534         String vehicleClass = "";
535         for(int i = 0; i < 5; i++) {
536               if( ((byte)nVehicleSize & (1 << i)) > 0 ) {
537                   switch (i) {
538                 case 0:
539                     vehicleClass = bundle.getString("LIGHT_DUTY");
540                     break;
541                 case 1:
542                     vehicleClass = bundle.getString("MEDIUM");
543                     break;
544                 case 2:
545                     vehicleClass = bundle.getString("OVER_SIZE");
546                     break;
547                 case 3:
548                     vehicleClass = bundle.getString("MINI_SIZE");
549                     break;
550                 case 4:
551                     vehicleClass = bundle.getString("LARGE_SIZE");
552                     break;
553                 }
554               }
555           } 
556         
557         return vehicleClass;
558     }
559     
560     /*
561      * 获取事件名称
562      */
563     public String getEventName(int type) {
564         String name = "";
565         switch (type) {
566             case NetSDKLib.EVENT_IVS_TRAFFICJUNCTION:  ///< 交通路口事件
567                 name = bundle.getString("EVENT_IVS_TRAFFICJUNCTION");
568                 break;
569             case NetSDKLib.EVENT_IVS_TRAFFIC_RUNREDLIGHT: ///< 闯红灯事件
570                 name = bundle.getString("EVENT_IVS_TRAFFIC_RUNREDLIGHT");
571                 break;
572             case NetSDKLib.EVENT_IVS_TRAFFIC_OVERLINE: ///< 压车道线事件
573                 name = bundle.getString("EVENT_IVS_TRAFFIC_OVERLINE");
574                 break;
575             case NetSDKLib.EVENT_IVS_TRAFFIC_RETROGRADE: ///< 逆行事件
576                 name = bundle.getString("EVENT_IVS_TRAFFIC_RETROGRADE");
577                 break;
578             case NetSDKLib.EVENT_IVS_TRAFFIC_TURNLEFT: ///< 违章左转
579                 name = bundle.getString("EVENT_IVS_TRAFFIC_TURNLEFT");
580                 break;
581             case NetSDKLib.EVENT_IVS_TRAFFIC_TURNRIGHT: ///< 违章右转
582                 name = bundle.getString("EVENT_IVS_TRAFFIC_TURNRIGHT");
583                 break;
584             case NetSDKLib.EVENT_IVS_TRAFFIC_UTURN: ///< 违章掉头
585                 name = bundle.getString("EVENT_IVS_TRAFFIC_UTURN");
586                 break;
587             case NetSDKLib.EVENT_IVS_TRAFFIC_OVERSPEED: ///< 超速
588                 name = bundle.getString("EVENT_IVS_TRAFFIC_OVERSPEED");
589                 break;
590             case NetSDKLib.EVENT_IVS_TRAFFIC_UNDERSPEED: ///< 低速
591                 name = bundle.getString("EVENT_IVS_TRAFFIC_UNDERSPEED");
592                 break;
593             case NetSDKLib.EVENT_IVS_TRAFFIC_PARKING: ///< 违章停车
594                 name = bundle.getString("EVENT_IVS_TRAFFIC_PARKING");
595                 break;
596             case NetSDKLib.EVENT_IVS_TRAFFIC_WRONGROUTE: ///< 不按车道行驶
597                 name = bundle.getString("EVENT_IVS_TRAFFIC_WRONGROUTE");
598                 break;
599             case NetSDKLib.EVENT_IVS_TRAFFIC_CROSSLANE: ///< 违章变道
600                 name = bundle.getString("EVENT_IVS_TRAFFIC_CROSSLANE");
601                 break;
602             case NetSDKLib.EVENT_IVS_TRAFFIC_OVERYELLOWLINE: ///< 压黄线
603                 name = bundle.getString("EVENT_IVS_TRAFFIC_OVERYELLOWLINE");
604                 break;
605             case NetSDKLib.EVENT_IVS_TRAFFIC_YELLOWPLATEINLANE: ///< 黄牌车占道事件
606                 name = bundle.getString("EVENT_IVS_TRAFFIC_YELLOWPLATEINLANE");
607                 break;
608             case NetSDKLib.EVENT_IVS_TRAFFIC_PEDESTRAINPRIORITY: ///< 斑马线行人优先事件
609                 name = bundle.getString("EVENT_IVS_TRAFFIC_PEDESTRAINPRIORITY");
610                 break;
611             case NetSDKLib.EVENT_IVS_TRAFFIC_MANUALSNAP: ///< 交通手动抓拍事件
612                 name = bundle.getString("EVENT_IVS_TRAFFIC_MANUALSNAP");
613                 break;
614             case NetSDKLib.EVENT_IVS_TRAFFIC_VEHICLEINROUTE: ///< 有车占道事件
615                 name = bundle.getString("EVENT_IVS_TRAFFIC_VEHICLEINROUTE");
616                 break;
617             case NetSDKLib.EVENT_IVS_TRAFFIC_VEHICLEINBUSROUTE: ///< 占用公交车道事件
618                 name = bundle.getString("EVENT_IVS_TRAFFIC_VEHICLEINBUSROUTE");
619                 break;
620             case NetSDKLib.EVENT_IVS_TRAFFIC_BACKING: ///< 违章倒车事件
621                 name = bundle.getString("EVENT_IVS_TRAFFIC_BACKING");
622                 break;
623             case NetSDKLib.EVENT_IVS_TRAFFIC_PARKINGSPACEPARKING: ///< 车位有车事件
624                 name = bundle.getString("EVENT_IVS_TRAFFIC_PARKINGSPACEPARKING");
625                 break;
626             case NetSDKLib.EVENT_IVS_TRAFFIC_PARKINGSPACENOPARKING: ///< 车位无车事件
627                 name = bundle.getString("EVENT_IVS_TRAFFIC_PARKINGSPACENOPARKING");
628                 break;
629             case NetSDKLib.EVENT_IVS_TRAFFIC_WITHOUT_SAFEBELT: ///< 交通未系安全带事件
630                 name = bundle.getString("EVENT_IVS_TRAFFIC_WITHOUT_SAFEBELT");
631                 break;
632             default:
633                 break;
634         }
635         
636         return name;
637     }
638     
639     public String getRecordType() {
640         return bundle.getString("RECORD_TYPE");
641     }
642     
643     public String getStartTime() {
644         return bundle.getString("START_TIME");
645     }
646     
647     public String getEndTime() {
648         return bundle.getString("END_TIME");
649     }
650     
651     public String[] getDownloadTableName() {
652         String[] name = {getIndex(), 
653                          getChannel(),
654                          getRecordType(), 
655                          getStartTime(), 
656                          getEndTime()};     
657         return name;
658     }
659     
660     public String getDownloadByFile() {
661         return bundle.getString("DOWNLOAD_RECORD_BYFILE");
662     }
663     
664     public String getQuery() {
665         return bundle.getString("QUERY");
666     }
667     
668     public String getDownload() {
669         return bundle.getString("DOWNLOAD");
670     }
671     
672     public String getStopDownload() {
673         return bundle.getString("STOP_DOWNLOAD");
674     }
675     
676     public String getDownloadByTime() {
677         return bundle.getString("DOWNLOAD_RECORD_BYTIME");
678     }
679     
680     public String getSelectTimeAgain() {
681         return bundle.getString("PLEASE_SELECT_TIME_AGAIN");
682     }
683     
684     public String getSelectRowWithData() {
685         return bundle.getString("PLEASE_FIRST_SELECT_ROW_WITH_DATA");
686     }
687     
688     public String getQueryRecord() {
689         return bundle.getString("PLEASE_FIRST_QUERY_RECORD");
690     }
691     
692     public String getDownloadCompleted() {
693         return bundle.getString("DOWNLOAD_COMPLETED");
694     }
695     
696     /**
697      * 获取录像类型
698      */
699     public String getRecordTypeStr(int nRecordFileType) {
700         String recordTypeStr = "";
701         switch(nRecordFileType) {
702             case 0:
703                 recordTypeStr = bundle.getString("GENERAL_RECORD");
704                 break;
705             case 1:
706                 recordTypeStr = bundle.getString("ALARM_RECORD");
707                 break;
708             case 2:
709                 recordTypeStr = bundle.getString("MOTION_DETECTION");
710                 break;
711             case 3:
712                 recordTypeStr = bundle.getString("CARD_NUMBER_RECORD");
713                 break;
714             case 5:
715                 recordTypeStr = bundle.getString("INTELLIGENT_DETECTION");
716                 break;
717             case 19:
718                 recordTypeStr = bundle.getString("POS_RECORD");
719                 break;
720             default:
721                 break;
722         }
723         
724         return recordTypeStr;
725     }
726     
727     public int getRecordTypeInt(String recordFileStr) {
728         int recordType = -1;
729         if(recordFileStr.equals(bundle.getString("GENERAL_RECORD"))) {
730             recordType = 0;
731         } else if(recordFileStr.equals(bundle.getString("ALARM_RECORD"))) {
732             recordType = 1;
733         } else if(recordFileStr.equals(bundle.getString("MOTION_DETECTION"))) {
734             recordType = 2;
735         } else if(recordFileStr.equals(bundle.getString("CARD_NUMBER_RECORD"))) {
736             recordType = 3;
737         }else if(recordFileStr.equals(bundle.getString("INTELLIGENT_DETECTION"))){
738             recordType=11;
739         }else if(recordFileStr.equals(bundle.getString("POS_RECORD"))){
740             recordType=19;
741         }
742
743         
744         return recordType;
745     }  
746     
747     /**
748      * 语音对讲
749      */
750     public String getTalk() {
751         return bundle.getString("TALK");
752     }
753     
754     public String getTransmitType() {
755         return bundle.getString("TRANSMIT_TYPE");
756     }
757     
758     public String getLocalTransmitType() {
759         return bundle.getString("LOCAL_TRANSMIT_TYPE");
760     }
761     
762     public String getRemoteTransmitType() {
763         return bundle.getString("REMOTE_TRANSMIT_TYPE");
764     }
765     
766     public String getTransmitChannel() {
767         return bundle.getString("TRANSMIT_CHANNEL");
768     }
769     
770     public String getStartTalk() {
771         return bundle.getString("START_TALK");
772     }
773     
774     public String getStopTalk() {
775         return bundle.getString("STOP_TALK");
776     }
777     
778     public String getTalkFailed() {
779         return bundle.getString("TALK_FAILED");
780     }
781     
782     public String getDeviceSearchAndInit() {
783         return bundle.getString("DEVICESEARCH_DEVICEINIT");
784     }
785     
786     public String getDeviceSearchOperate() {
787         return bundle.getString("DEVICESEARCH_OPERATE");
788     }
789     
790     public String getDeviceSearchResult() {
791         return bundle.getString("DEVICESEARCH_RESULT");
792     }
793     
794     public String getDeviceInit() {
795         return bundle.getString("DEVICEINIT");
796     }
797     
798     public String getStartSearch() {
799         return bundle.getString("START_SEARCH");
800     }
801     
802     public String getStopSearch() {
803         return bundle.getString("STOP_SEARCH");
804     }
805     
806     public String getPleaseSelectInitializedDevice() {
807         return bundle.getString("PLEASE_FIRST_SELECT_INITIALIZED_DEVICE");
808     }
809     
810     public String getDeviceSearch() {
811         return bundle.getString("DEVICESEARCH");
812     }
813     
814     public String getDevicePointToPointSearch() {
815         return bundle.getString("DEVICE_POINT_TO_POINT_SEARCH");
816     }
817     
818     public String getStartIp() {
819         return bundle.getString("START_IP");
820     }
821     
822     public String getEndIp() {
823         return bundle.getString("END_IP");
824     }
825     
826     public String getControlScope() {
827         return bundle.getString("THE_IP_CONTROL_SCOPE");
828     }
829     
830     public String getDeviceType() {
831         return bundle.getString("DEVICE_TYPE");
832     }
833     
834     public String getDeviceMac() {
835         return bundle.getString("MAC");
836     }
837     
838     public String getDeviceSn() {
839         return bundle.getString("SN");
840     }
841     
842     public String getDeviceInitState() {
843         return bundle.getString("DEVICE_INIT_STATE");
844     }
845     
846     public String getInitPasswd() {
847         return bundle.getString("INIT_PASSWD");
848     }
849     
850     public String[] getDeviceTableName() {
851         String[] name = {getIndex(),
852                          getDeviceInitState(),
853                          getIpVersion(),
854                          getDeviceIp(),
855                          getPort(),
856                          getSubMask(),
857                          getGetway(),
858                          getDeviceMac(),                 
859                          getDeviceType(),
860                          getDetailType(),
861                          getHttpPort()};
862         
863         return name; 
864     }
865     
866     public String getIpVersion() {
867         return bundle.getString("IP_VERSION");
868     }
869     
870     public String getSubMask() {
871         return bundle.getString("SUB_MASK");
872     }
873     
874     public String getGetway() {
875         return bundle.getString("GETWAY");
876     }
877     
878     public String getDetailType() {
879         return bundle.getString("DETAIL_TYPE");
880     }
881     
882     public String getHttpPort() {
883         return bundle.getString("HTTP_PORT");
884     }
885     
886     public String getLocalIp() {
887         return bundle.getString("LOCAL_IP");
888     }
889     
890     public String getInitialized() {
891         return bundle.getString("INITIALIZED");
892     }
893     
894     public String getNotInitialized() {
895         return bundle.getString("NOT_INITIALIZED");
896     }
897     
898     public String getOldDevice() {
899         return bundle.getString("OLD_DEVICE");
900     }
901     
902     public String getNotSupportInitialization() {
903         return bundle.getString("DONOT_SUPPORT_INITIALIZATION");
904     }
905     
906     public String getPhone() {
907         return bundle.getString("PHONE");
908     }
909     
910     public String getMail() {
911         return bundle.getString("MAIL");
912     }
913     
914     public String getInputPhone() {
915         return bundle.getString("PLEASE_INPUT_PHONE");
916     }
917     
918     public String getInputMail() {
919         return bundle.getString("PLEASE_INPUT_MAIL");
920     }
921     
922     public String getConfirmPassword() {
923         return bundle.getString("CONFIRM_PASSWORD");
924     }
925     
926     public String getInconsistent() {
927         return bundle.getString("INCONSISTENT");
928     }
929     
930     public String getCheckIp() {
931         return bundle.getString("PLEASE_CHECK_IP");
932     }
933     
934     // 0-老设备,没有初始化功能 1-未初始化账号 2-已初始化账户
935     public String getInitStateInfo(int initStatus) {
936         String initStateInfo = "";
937         switch(initStatus) {
938             case 0:
939                 initStateInfo = getInitialized();
940                 break;
941             case 1:
942                 initStateInfo = getNotInitialized();
943                 break;
944             case 2:
945                 initStateInfo = getInitialized();
946                 break;
947         }
948         return initStateInfo;
949     }
950     
951     public String  getAlarmListen() {
952         return bundle.getString("ALARM_LISTEN");
953     }
954     
955     public String  getStartListen() {
956         return bundle.getString("START_LISTEN");
957     }
958     
959     public String  getStopListen() {
960         return bundle.getString("STOP_LISTEN");
961     }
962     public String getStopListenFailed(){
963         return bundle.getString("STOP_LISTEN_FAILED");
964     }
965     public String  getShowAlarmEvent() {
966         return bundle.getString("SHOW_ALARM_EVENT");
967     }
968     
969     public String  getAlarmMessage() {
970         return bundle.getString("ALARM_MESSAGE");
971     }
972     
973     public String getExternalAlarm() {
974         return bundle.getString("EXTERNAL_ALARM");
975     }
976     
977     public String getMotionAlarm() {
978         return bundle.getString("MOTION_ALARM");
979     }
980     
981     public String getVideoLostAlarm() {
982         return bundle.getString("VIDEOLOST_ALARM");
983     }
984     
985     public String getShelterAlarm() {
986         return bundle.getString("SHELTER_ALARM");
987     }
988     
989     public String getDiskFullAlarm() {
990         return bundle.getString("DISKFULL_ALARM");
991     }
992     
993     public String getDiskErrorAlarm() {
994         return bundle.getString("DISKERROR_ALARM");
995     }
996     
997     public String getAlarmListenFailed() {
998         return bundle.getString("ALARM_LISTEN_FAILED");
999     }
1000     
1001     public String getStart() {
1002         return bundle.getString("START");
1003     }
1004     
1005     public String getStop() {
1006         return bundle.getString("STOP");
1007     }
1008     
1009     public String getDeviceControl() {
1010         return bundle.getString("DEVICE_CONTROL");
1011     }
1012     
1013     public String getDeviceReboot() {
1014         return bundle.getString("DEVICE_REBOOT");
1015     }
1016     
1017     public String getSyncTime() {
1018         return bundle.getString("SYNCHRONIZE_TIME");
1019     }
1020     
1021     public String getCurrentTime() {
1022         return bundle.getString("CURRENT_TIME");
1023     }
1024     
1025     public String getReboot() {
1026         return bundle.getString("REBOOT");
1027     }
1028     
1029     public String getRebootTips() {
1030         return bundle.getString("REBOOT_TIPS");
1031     }
1032     
1033     public String getGetTime() {
1034         return bundle.getString("GET_TIME");
1035     }
1036     
1037     public String getSetTime() {
1038         return bundle.getString("SET_TIME");
1039     }
1040     
1041     public String getOperateSuccess() {
1042         return bundle.getString("OPERATE_SUCCESS");
1043     }
1044
1045     public String getTargetRecognition() {
1046         return bundle.getString("TARGETRECOGNITION");
1047     }
1048     
1049     public String[] getGroupTable() {
1050         String[] faceTable = {getFaceGroupId(),
1051                               getFaceGroupName(),
1052                               bundle.getString("PERSON_COUNT")};
1053         return faceTable;
1054     }
1055     
1056     public String getFaceGroupId() {
1057         return bundle.getString("FACE_GROUP_ID");
1058     }
1059     
1060     public String getFaceGroupName() {
1061         return bundle.getString("FACE_GROUP_NAME");
1062     }
1063     
1064     public String getGroupOperate() {
1065         return bundle.getString("GROUP_OPERATE");
1066     }
1067     
1068     public String getPersonOperate() {
1069         return bundle.getString("PERSON_OPERATE");
1070     }
1071     
1072     public String getGlobalPicture() {
1073         return bundle.getString("GLOBAL_PICTURE");
1074     }
1075     
1076     public String getPersonPicture() {
1077         return bundle.getString("PERSON_PICTURE");
1078     }
1079     
1080     public String getCandidatePicture() {
1081         return bundle.getString("CANDIDATE_PICTURE");
1082     }
1083     
1084     public String getTime() {
1085         return bundle.getString("TIME");
1086     }
1087     
1088     public String getSex() {
1089         return bundle.getString("SEX");
1090     }
1091     
1092     public String getAge() {
1093         return bundle.getString("AGE");
1094     }
1095  
1096     
1097     public String getColor() {
1098         return bundle.getString("COLOR");
1099     }
1100     
1101     public String getEye() {
1102         return bundle.getString("EYE");
1103     }
1104     
1105     public String getMouth() {
1106         return bundle.getString("MOUTH");
1107     }
1108     
1109     public String getMask() {
1110         return bundle.getString("MASK");
1111     }
1112     
1113     public String getBeard() {
1114         return bundle.getString("BEARD");
1115     }
1116     
1117     public String getName() {
1118         return bundle.getString("NAME");
1119     }
1120     
1121     public String getBirthday() {
1122         return bundle.getString("BIRTHDAY");
1123     }
1124     
1125     public String getIdNo() {
1126         return bundle.getString("ID_NO");
1127     }
1128     
1129     public String getIdType() {
1130         return bundle.getString("ID_TYPE");
1131     }
1132     
1133     public String getSimilarity() {
1134         return bundle.getString("SIMILARITY");
1135     }
1136     
1137     public String getTargetDetectEvent() {
1138         return bundle.getString("TARGET_DETECT_EVENT");
1139     }
1140     
1141     public String getTargetRecognitionEvent() {
1142         return bundle.getString("TARGET_RECOGNITION_EVENT");
1143     }
1144     
1145     public String getUid() {
1146         return bundle.getString("UID");
1147     }
1148     
1149     public String getGlasses() {
1150         return bundle.getString("GLASSES");
1151     }
1152     
1153     public String getPicturePath() {
1154         return bundle.getString("PICTURE_PATH");
1155     }
1156     
1157     public String getFaceLibraryID() {
1158         return bundle.getString("FACE_LIBRARY_ID");
1159     }
1160     
1161     public String getFaceLibraryName() {
1162         return bundle.getString("FACE_LIBRARY_NAME");
1163     }
1164     
1165     public String[] getPersonTable() {
1166         String[] personTable = {getUid(), getName(), getSex(), getBirthday(), getIdType(), getIdNo()};
1167         return personTable;
1168     }
1169     
1170     public String[] getDispositionTable() {
1171         String[] dispositionTable = {getChannel(), getSimilarity()};
1172         return dispositionTable;
1173     }
1174     
1175     public String getUnKnow() {
1176         return bundle.getString("UNKNOW");
1177     }
1178     
1179     public String getMale() {
1180         return bundle.getString("MALE");
1181     }
1182     
1183     public String getFemale() {
1184         return bundle.getString("FEMALE");
1185     }
1186     
1187     public String[] getSexStringsFind() {
1188         String[] faceSexStr = {getUnLimited(), getMale(), getFemale()};     
1189         return faceSexStr;
1190     }
1191     
1192     public String[] getIdStringsFind() {
1193         String[] idStr = {getUnLimited(), getIdCard(), getPassport(),};
1194         return idStr;
1195     }
1196     
1197     public String[] getSexStrings() {
1198         String[] faceSexStr = {getUnKnow(), getMale(), getFemale()};     
1199         return faceSexStr;
1200     }
1201     
1202     public String[] getIdStrings() {
1203         String[] idStr = {getUnKnow(), getIdCard(), getPassport(),};
1204         return idStr;
1205     }
1206     
1207     public String getIdCard() {
1208         return bundle.getString("ID_CARD");
1209     }
1210     
1211     public String getPassport() {
1212         return bundle.getString("PASSPORT");
1213     }
1214     
1215     public String getOfficeCard() {
1216         return bundle.getString("OFFICE_CARD");
1217     }
1218     
1219     public String getIdType(int idType) {
1220         String str = "";
1221         switch(idType) {
1222             case 0:
1223                 str = getUnKnow();
1224                 break;
1225             case 1:
1226                 str = getIdCard();
1227                 break;
1228             case 2:
1229                 str =  getPassport();
1230                 break;
1231             case 3:
1232                 str =  getOfficeCard();
1233                 break;
1234             default :
1235                 str = getUnKnow();
1236                 break;
1237         }
1238         return str;
1239     }
1240     
1241     public String getSex(int sex) {
1242         String str = "";     
1243         switch(sex) {
1244             case 0:
1245                 str = getUnKnow();
1246                 break;
1247             case 1:
1248                 str = getMale();
1249                 break;
1250             case 2:
1251                 str = getFemale();
1252                 break;
1253             default :
1254                 str = getUnKnow();
1255                 break;
1256         }
1257         return str;
1258     }
1259     
1260     public String getUnLimited() {
1261         return bundle.getString("UNLIMITED");
1262     }
1263     
1264     public String getUnidentified() {
1265         return bundle.getString("UNIDENTIFIED");
1266     }
1267     
1268     public String getHaveBeard() {
1269         return bundle.getString("HAVE_BEARD");
1270     }
1271     
1272     public String getNoBeard() {
1273         return bundle.getString("NO_BEARD");
1274     }
1275     
1276     public String getBeardState(int beard) {
1277         String str = "";    
1278         switch (beard) {
1279             case 0:
1280                 str = getUnKnow();
1281                 break;
1282             case 1:
1283                 str = getUnidentified();    
1284                     break;
1285             case 2:
1286                 str = getNoBeard();    
1287                 break;
1288             case 3:
1289                 str = getHaveBeard();    
1290                 break;
1291             default:
1292                 str = getUnKnow();
1293                 break;
1294         }    
1295         return str;
1296     }
1297     
1298     public String getOpenMouth() {
1299         return bundle.getString("OPEN_MOUTH");
1300     }
1301     
1302     public String getCloseMouth() {
1303         return bundle.getString("CLOSE_MOUTH");
1304     }
1305     
1306     public String getMouthState(int mouth) {
1307         String str = "";    
1308         switch (mouth) {
1309             case 0:
1310                 str = getUnKnow();
1311                 break;
1312             case 1:
1313                 str = getUnidentified();
1314                     break;
1315             case 2:
1316                 str = getCloseMouth();    
1317                 break;
1318             case 3:
1319                 str = getOpenMouth();    
1320                 break;
1321             default:
1322                 str = getUnKnow();
1323                 break;
1324         }    
1325         return str;
1326     }
1327     
1328     public String getYellowColor() {
1329         return bundle.getString("YELLOW_COLOR");
1330     }
1331     
1332     public String getBlackColor() {
1333         return bundle.getString("BLACK_COLOR");
1334     }
1335     
1336     public String getWhiteColor() {
1337         return bundle.getString("WHITE_COLOR");
1338     }
1339
1340     public String getColor(int color) {
1341         String str = "";    
1342         switch (color) {
1343             case 0:
1344                 str = getUnKnow();
1345                 break;
1346             case 1:
1347                 str = getUnidentified();    
1348                     break;
1349             case 2:
1350                 str = getYellowColor();
1351                 break;
1352             case 3:
1353                 str = getBlackColor();
1354                 break;
1355             case 4:
1356                 str = getWhiteColor();
1357                 break;
1358             default:
1359                 str = getUnKnow();
1360                 break;
1361         }    
1362         return str;
1363     }
1364     
1365     public String getOpenEye() {
1366         return bundle.getString("OPEN_EYE");
1367     }
1368     
1369     public String getCloseEye() {
1370         return bundle.getString("CLOSE_EYE");
1371     }
1372     
1373     public String getEyeState(int eye) {
1374         String str = getUnidentified();    
1375         switch (eye) {
1376             case 0:
1377                 str = getUnKnow();
1378                 break;
1379             case 1:
1380                 str = getUnidentified();    
1381                     break;
1382             case 2:
1383                 str = getCloseEye();    
1384                 break;
1385             case 3:
1386                 str = getOpenEye();    
1387                 break;
1388             default:
1389                 str = getUnKnow();
1390                 break;
1391         }    
1392         return str;
1393     }
1394     
1395     public String getSmile() {
1396         return bundle.getString("SMILE");
1397     }
1398     
1399     public String getAnger() {
1400         return bundle.getString("ANGER");
1401     }
1402     
1403     public String getSadness() {
1404         return bundle.getString("SADNESS");
1405     }
1406     
1407     public String getDisgust() {
1408         return bundle.getString("DISGUST");
1409     }
1410     
1411     public String getFear() {
1412         return bundle.getString("FEAR");
1413     }
1414     
1415     public String getSurprise() {
1416         return bundle.getString("SURPRISE");
1417     }
1418     
1419     public String getNeutral() {
1420         return bundle.getString("NEUTRAL");
1421     }
1422     
1423     public String getLaugh() {
1424         return bundle.getString("LAUGH");
1425     }
1426     
1427     public String getFaceFeature(int type) {
1428         String str = "";
1429         switch (type) {
1430             case 0:
1431                 str = getUnKnow();
1432                 break;
1433             case 1:
1434                 str = getWearGlasses();
1435                 break;
1436             case 2:
1437                 str = getSmile();
1438                 break;
1439             case 3:
1440                 str = getAnger();
1441                 break;
1442             case 4:
1443                 str = getSadness();
1444                 break;
1445             case 5:
1446                 str = getDisgust();
1447                 break;
1448             case 6:
1449                 str = getFear();
1450                 break;
1451             case 7:
1452                 str = getSurprise();
1453                 break;
1454             case 8:
1455                 str = getNeutral();
1456                 break;
1457             case 9:
1458                 str = getLaugh();
1459                 break;
1460             default:
1461                 str = getUnKnow();
1462                 break;
1463         }
1464         return str;
1465     }
1466     
1467     public String getWearMask() {
1468         return bundle.getString("WEAR_MASK");
1469     }
1470     
1471     public String geNoMask() {
1472         return bundle.getString("NO_MASK");
1473     }
1474     
1475     public String getMaskState(int type) {
1476         String maskStateStr = "";
1477         switch (type) {
1478             case 0:
1479                 maskStateStr = getUnKnow();
1480                 break;
1481             case 1:
1482                 maskStateStr = getUnidentified();
1483                 break;
1484             case 2:
1485                 maskStateStr = geNoMask();
1486                 break;
1487             case 3:
1488                 maskStateStr = getWearMask();
1489                 break;
1490             default:
1491                 maskStateStr = getUnKnow();
1492                 break;
1493         }
1494         return maskStateStr;
1495     }
1496     
1497     public String getWearGlasses() {
1498         return bundle.getString("WEAR_GLASSES");
1499     }
1500     
1501     public String getNoGlasses() {
1502         return bundle.getString("NO_GLASSES");
1503     }
1504     
1505     public String getGlasses(int byGlasses) {
1506         String glassesStr = "";
1507         switch (byGlasses) {
1508             case 0:
1509                 glassesStr = getUnKnow();
1510                 break;
1511             case 1:
1512                 glassesStr = getNoGlasses();
1513                 break;
1514             case 2:
1515                 glassesStr = getWearGlasses();
1516                 break;
1517             default:
1518                 break;
1519         }
1520         return glassesStr;
1521     }
1522     
1523     public String getAdd() {
1524         return bundle.getString("ADD");
1525     }
1526     
1527     public String getModify() {
1528         return bundle.getString("MODIFY");
1529     }
1530     
1531     public String getSelectData() {
1532         return bundle.getString("SELECT_DATA");
1533     }
1534     
1535     public String getDelete() {
1536         return bundle.getString("DELETE");
1537     }
1538     
1539     public String getFresh() {
1540         return bundle.getString("FRESH");
1541     }
1542     
1543     public String getAddGroup() {
1544         return bundle.getString("ADD_GROUP");
1545     }
1546     
1547     public String getModifyGroup() {
1548         return bundle.getString("MODIFY_GROUP");
1549     }
1550     
1551     public String getDelGroup() {
1552         return bundle.getString("DEL_GROUP");
1553     }
1554     
1555     public String getDisposition() {
1556         return bundle.getString("DISPOSITION");
1557     }
1558     
1559     public String getDelDisposition() {
1560         return bundle.getString("DEL_DISPOSITION");
1561     }
1562     
1563     public String getSimilarityRange() {
1564         return bundle.getString("SIMILARITY_RANGE");
1565     }
1566     
1567     public String getFindCondition() {
1568         return bundle.getString("FIND_CONDITION");
1569     }
1570     
1571     public String getFindPerson() {
1572         return bundle.getString("FIND_PERSON");
1573     }
1574     
1575     public String getAddPerson() {
1576         return bundle.getString("ADD_PERSON");
1577     }
1578     
1579     public String getModifyPerson() {
1580         return bundle.getString("MODIFY_PERSON");
1581     }
1582     
1583     public String getDelPerson() {
1584         return bundle.getString("DEL_PERSON");
1585     }
1586     
1587     public String getPreviousPage() {
1588         return bundle.getString("PREVIOUSPAGE");
1589     }
1590     
1591     public String getLastPage() {
1592         return bundle.getString("LASTPAGE");
1593     }
1594     
1595     public String getSelectPicture() {
1596         return bundle.getString("SELECT_PICTURE");
1597     }
1598     
1599     public String getSearchByPic() {
1600         return bundle.getString("SEARCH_BY_PIC");
1601     }
1602     
1603     public String getDownloadQueryPicture() {
1604         return bundle.getString("DOWNLOAD_QUERY_PICTURE");
1605     }
1606     
1607     public String getFaceLibrary() {
1608         return bundle.getString("FACE_LIBRARY");
1609     }
1610     
1611     public String getChooseFacePic() {
1612         return bundle.getString("CHOOSE_FACE_PIC");
1613     }
1614     
1615     public String getHistoryLibrary() {
1616         return bundle.getString("HISTORY_LIBRARY");
1617     }
1618     
1619     public String getEventType() {
1620         return bundle.getString("EVENT_TYPE");
1621     }
1622     
1623     public String getStranger() {
1624         return bundle.getString("STRANGER");
1625     }
1626     
1627     public String getInputGroupName() {
1628         return bundle.getString("PLEASE_INPUT_GROUPNAME");
1629     }
1630     
1631     public String getSelectGroup() {
1632         return bundle.getString("PLEASE_SELECT_GROUP");
1633     }
1634     
1635     public String getSelectPerson() {
1636         return bundle.getString("PLEASE_SELECT_PERSON");
1637     }
1638     
1639     public String getAddDispositionInfo() {
1640         return bundle.getString("PLEASE_ADD_DISPOSITION_INFO");
1641     }
1642     
1643     public String getSelectDelDispositionInfo() {
1644         return bundle.getString("PLEASE_SELECT_DEL_DISPOSITION_INFO");
1645     }
1646     
1647     public String getPagesNumber() {
1648         return bundle.getString("PAGES_NUMBER");
1649     }
1650     
1651     public String getAutoRegister() {
1652         return bundle.getString("AUTOREGISTER");
1653     }
1654     
1655     public String getAutoRegisterListen() {
1656         return bundle.getString("AUTOREGISTER_LISTEN");
1657     }
1658     
1659     public String getDeviceConfig() {
1660         return bundle.getString("DEVICE_CONFIG");
1661     }
1662     
1663     public String getDeviceList() {
1664         return bundle.getString("DEVICE_LIST");
1665     }
1666     
1667     public String getDeviceManager() {
1668         return bundle.getString("DEVICE_MANAGER");
1669     }
1670     
1671     public String getAddDevice() {
1672         return bundle.getString("ADD_DEVICE");
1673     }
1674     
1675     public String getModifyDevice() {
1676         return bundle.getString("MODIFY_DEVICE");
1677     }
1678     
1679     public String getDeleteDevice() {
1680         return bundle.getString("DELETE_DEVICE");
1681     }
1682     
1683     public String getClearDevice() {
1684         return bundle.getString("CLEAR_DEVICE");
1685     }
1686     
1687     public String getImportDevice() {
1688         return bundle.getString("IMPORT_DEVICE");
1689     }
1690     
1691     public String getExportDevice() {
1692         return bundle.getString("EXPORT_DEVICE");
1693     }
1694     
1695     public String getFunctionOperate() {
1696         return bundle.getString("FUNCTION") + bundle.getString("OPERATE");
1697     }
1698     
1699     public String getDeviceID() {
1700         return bundle.getString("DEVICE_ID");
1701     }
1702     
1703     public String getEnable() {
1704         return bundle.getString("ENABLE");
1705     }
1706     
1707     public String getRegisterAddress() {
1708         return bundle.getString("REGISTER_ADDRESS");
1709     }
1710     
1711     public String getRegisterPort() {
1712         return bundle.getString("REGISTER_PORT");
1713     }
1714     
1715     public String getGet() {
1716         return bundle.getString("GET");
1717     }
1718     
1719     public String getSet() {
1720         return bundle.getString("SET");
1721     }
1722     
1723     public String getAlreadyExisted() {
1724         return bundle.getString("ALREADY_EXISTED");
1725     }
1726     
1727     public String getWhetherNoToCover() {
1728         return bundle.getString("ALREADY_EXISTED_WHETHER_OR_NOT_TO_COVER");
1729     }
1730     
1731     public String getFileOpened(){
1732         return bundle.getString("FILE_OPEN_PLEASE_CLOSE_FILE");
1733     }
1734     
1735     public String getImportCompletion() {
1736         return bundle.getString("IMPORT_COMPLETION");
1737     }
1738     
1739     public String getExportCompletion() {
1740         return bundle.getString("EXPORT_COMPLETION");
1741     }
1742     
1743     public String getFileNotExist() {
1744         return bundle.getString("FILE_NOT_EXIST");
1745     }
1746     
1747     public String getRecord() {
1748         return bundle.getString("RECORD");
1749     }
1750     
1751     public String getInput() {
1752         return bundle.getString("PLEASE_INPUT");
1753     }
1754     
1755     public String getMaximumSupport() {
1756         return bundle.getString("MAX_SUPPORT_100");
1757     }
1758     
1759     public String getDeviceLogined() {
1760         return bundle.getString("DEVICE_LOGIN");
1761     }
1762     
1763     public String getAttendance() {
1764         return bundle.getString("ATTENDANCE");
1765     }
1766     
1767     public String getFingerPrintOperate() {
1768         return bundle.getString("FINGERPRINT_OPERATE");
1769     }
1770     
1771     public String getUserOperate() {
1772         return bundle.getString("USER_OPERATE");
1773     }
1774     
1775     public String getOperateByUserId() {
1776         return bundle.getString("OPERATE_BY_USER_ID");
1777     }
1778     
1779     public String getOperateByFingerPrintId() {
1780         return bundle.getString("OPERATE_BY_FINGERPRINT_ID");
1781     }
1782     
1783     public String getSearch() {
1784         return bundle.getString("SEARCH");
1785     }
1786     
1787     public String getQueryCondition() {
1788         return bundle.getString("QUERY_CONDITION");
1789     }
1790     
1791     public String getFingerPrintId() {
1792         return bundle.getString("FINGERPRINT_ID");
1793     }
1794     
1795     public String getSearchFingerPrint() {
1796         return bundle.getString("SEARCH_FINGERPRINT");
1797     }
1798     
1799     public String getAddFingerPrint() {
1800         return bundle.getString("ADD_FINGERPRINT");
1801     }
1802     
1803     public String getDeleteFingerPrint() {
1804         return bundle.getString("DELETE_FINGERPRINT");
1805     }
1806     
1807     public String getSubscribe() {
1808         return bundle.getString("SUBSCRIBE");
1809     }
1810     
1811     public String getUnSubscribe() {
1812         return bundle.getString("UNSUBSCRIBE");
1813     }
1814     
1815     public String getUserList() {
1816         return bundle.getString("USER_LIST");
1817     }
1818     
1819     public String getNextPage() {
1820         return bundle.getString("NEXT_PAGE");
1821     }
1822     
1823     public String getUserInfo() {
1824         return bundle.getString("USER_INFO");
1825     }
1826     
1827     public String getDoorOpenMethod() {
1828         return bundle.getString("DOOROPEN_METHOD");
1829     }
1830     
1831     public String getFingerPrint() {
1832         return bundle.getString("FINGERPRINT");
1833     }
1834     
1835     public String getFingerPrintInfo() {
1836         return bundle.getString("FINGERPRINT_INFO");
1837     }
1838     
1839     public String getFingerPrintData() {
1840         return bundle.getString("FINGERPRINT_DATA");
1841     }
1842     
1843     public String getCard() {
1844         return bundle.getString("CARD");
1845     }
1846     
1847     public String getDeleteFingerPrintPrompt() {
1848         return bundle.getString("DELETE_FINGERPRINT_PROMPT");
1849     }
1850     
1851     public String getSubscribeFailed() {
1852         return bundle.getString("SUBSCRIBE_FAILED");
1853     }
1854     
1855     public String getFingerPrintIdIllegal() {
1856         return bundle.getString("FINGERPRINT_ID_ILLEGAL");
1857     }
1858     
1859     public String getcFingerPrintCollection() {
1860         return bundle.getString("FINGERPRINT_COLLECTION");
1861     }
1862     
1863     public String getStartCollection() {
1864         return bundle.getString("START_COLLECTION");
1865     }
1866     
1867     public String getStopCollection() {
1868         return bundle.getString("STOP_COLLECTION");
1869     }
1870     
1871     public String getInCollection() {
1872         return bundle.getString("IN_THE_COLLECTION");
1873     }
1874     
1875     public String getcCompleteCollection() {
1876         return bundle.getString("COLLECTION_COMPLETED");
1877     }
1878     
1879     public String getCollectionFailed() {
1880         return bundle.getString("COLLECTION_FAILED");
1881     }
1882     
1883     public String getFingerPrintIdNotExist() {
1884         return bundle.getString("FINGERPRINT_ID_NOT_EXIST");
1885     }
1886     
1887     public String getUserIdExceedLength() {
1888         return bundle.getString("USER_ID_EXCEED_LENGTH");
1889     }
1890     
1891     public String getUserNameExceedLength() {
1892         return bundle.getString("USER_NAME_EXCEED_LENGTH");
1893     }
1894     
1895     public String getCardNoExceedLength() {
1896         return bundle.getString("CARD_NO_EXCEED_LENGTH");
1897     }
1898     
1899     public String getCardNameExceedLength() {
1900         return bundle.getString("CARD_NAME_EXCEED_LENGTH");
1901     }
1902     
1903     public String getCardPasswdExceedLength() {
1904         return bundle.getString("CARD_PASSWD_EXCEED_LENGTH");
1905     }
1906     
1907     public String getGate() {
1908         return bundle.getString("GATE");
1909     }
1910     
1911     public String getCardOperate() {
1912         return bundle.getString("CARD_OPERATE");
1913     }
1914     
1915     public String getCardInfo() {
1916         return bundle.getString("CARD_INFO");
1917     }
1918     
1919     public String getCardManager() {
1920         return bundle.getString("CARD_MANAGER");
1921     }
1922     
1923     public String getClear() {
1924         return bundle.getString("CLEAR");
1925     }
1926     
1927     public String getOpenStatus() {
1928         return bundle.getString("OPEN_STATUS");
1929     }
1930     
1931     public String getOpenMethod() {
1932         return bundle.getString("OPEN_METHOD");
1933     }
1934     
1935     public String getCardName() {
1936         return bundle.getString("CARD_NAME");
1937     }
1938     
1939     public String getCardStatus() {
1940         return bundle.getString("CARD_STATUS");
1941     }
1942     
1943     public String getCardPassword() {
1944         return bundle.getString("CARD_PASSWORD");
1945     }
1946     
1947     public String getCardType() {
1948         return bundle.getString("CARD_TYPE");
1949     }
1950     
1951     public String getCardNum() {
1952         return bundle.getString("CARD_NUM");
1953     }
1954     
1955     public String getUseTimes() {
1956         return bundle.getString("USE_TIMES");
1957     }
1958     
1959     public String getIsFirstEnter() {
1960         return bundle.getString("IS_FIRST_ENTER");
1961     }
1962     
1963     public String getIsValid() {
1964         return bundle.getString("IS_VALID");
1965     }
1966     
1967     public String getValidPeriod() {
1968         return bundle.getString("VALID_PERIOD");
1969     }
1970     
1971     public String getValidStartTime() {
1972         return bundle.getString("VALID_START_TIME");
1973     }
1974     
1975     public String getValidEndTime() {
1976         return bundle.getString("VALID_END_TIME");
1977     }
1978     
1979     public String getRecordNo() {
1980         return bundle.getString("RECORD_NO");
1981     }
1982     
1983     public String getFirstEnter() {
1984         return bundle.getString("FIRST_ENTER");
1985     }
1986     
1987     public String getNoFirstEnter() {
1988         return bundle.getString("NO_FIRST_ENTER");
1989     }
1990     
1991     public String getValid() {
1992         return bundle.getString("VALID");
1993     }
1994     
1995     public String getInValid() {
1996         return bundle.getString("INVALID");
1997     }
1998     
1999     public String getSelectCard() {
2000         return bundle.getString("PLEASE_SELECT_CARD");
2001     }
2002     
2003     public String getInputCardNo() {
2004         return bundle.getString("PLEASE_INPUT_CARDNO");
2005     }
2006     
2007     public String getInputUserId() {
2008         return bundle.getString("PLEASE_INPUT_USERID");
2009     }
2010     
2011     public String getWantClearAllInfo() {
2012         return bundle.getString("WANT_CLEAR_ALL_INFO");
2013     }
2014     
2015     public String getFailedAddCard() {
2016         return bundle.getString("ADD_CARD_INDO_FAILED");
2017     }
2018     
2019     public String getSucceedAddCardAndPerson() {
2020         return bundle.getString("ADD_CARD_INFO_AND_PERSON_PICTURE_SUCCEED");
2021     }
2022     
2023     public String getSucceedAddCardButFailedAddPerson() {
2024         return bundle.getString("ADD_CARD_INFO_SUCCEED_BUT_ADD_PERSON_PICTURE_FAILED");
2025     }
2026     
2027     public String getCardExistedSucceedAddPerson() {
2028         return bundle.getString("CARD_EXISTED_ADD_PERSON_PICTURE_SUCCEED");
2029     }
2030     
2031     public String getSucceedModifyCard() {
2032         return bundle.getString("MODIFY_CARD_INFO_SUCCEED");
2033     }
2034     
2035     public String getFailedModifyCard() {
2036         return bundle.getString("MODIFY_CARD_INFO_FAILED");
2037     }
2038     
2039     public String getSucceedModifyCardAndPerson() {
2040         return bundle.getString("MODIFY_CARD_INFO_AND_PERSON_PICTURE_SUCCEED");
2041     }
2042     
2043     public String getSucceedModifyCardButFailedModifyPerson() {
2044         return bundle.getString("MODIFY_CARD_INFO_SUCCEED_BUT_MODIFY_PERSON_PICTURE_FAILED");
2045     }
2046     
2047     public String[] getCardTable() {
2048         return new String[] {getIndex(),
2049                              getCardNo(),
2050                              getCardName(),
2051                              getRecordNo(),
2052                              getUserId(),            
2053                              getCardPassword(), 
2054                              getCardStatus(),
2055                              getCardType(),
2056                              getUseTimes(),
2057                              getIsFirstEnter(),
2058                              getIsValid(),
2059                              getValidStartTime(),
2060                              getValidEndTime()};
2061     }
2062     
2063     /*
2064      * 用于列表显示
2065      */
2066     public String getCardStatus(int status) {
2067         String statusString = "";
2068         switch(status) {
2069             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_UNKNOWN:   // 未知
2070                 statusString = bundle.getString("STATE_UNKNOWN");
2071                 break;
2072             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_NORMAL:   // 正常
2073                 statusString = bundle.getString("STATE_NORMAL");
2074                 break;
2075             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_LOSE:   // 挂失
2076                 statusString = bundle.getString("STATE_LOSE");
2077                 break;
2078             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_LOGOFF:   // 注销
2079                 statusString = bundle.getString("STATE_LOGOFF");
2080                 break;
2081             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_FREEZE:   // 冻结
2082                 statusString = bundle.getString("STATE_FREEZE");
2083                 break;
2084             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_ARREARAGE:   // 欠费
2085                 statusString = bundle.getString("STATE_ARREARS"); 
2086                 break;
2087             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_OVERDUE:  // 逾期
2088                 statusString = bundle.getString("STATE_OVERDUE");
2089                 break;
2090             case NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_PREARREARAGE:  // 预欠费
2091                 statusString = bundle.getString("STATE_PREARREARS");
2092                 break;
2093             default:
2094                 statusString = bundle.getString("STATE_UNKNOWN");
2095                 break;
2096         }
2097         
2098         return statusString;                    
2099     }
2100     
2101     /*
2102      * 根据控件的索引,获取对应的卡状态的Int值, 用于添加 和 修改卡信息
2103      */
2104     public int getCardStatusInt(int index) {
2105         int status = 0;
2106         switch(index) {
2107             case 1:   // 未知
2108                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_UNKNOWN;
2109                 break;
2110             case 0:   // 正常
2111                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_NORMAL;
2112                 break;
2113             case 2:   // 挂失
2114                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_LOSE;
2115                 break;
2116             case 3:   // 注销
2117                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_LOGOFF;
2118                 break;
2119             case 4:   // 冻结
2120                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_FREEZE;
2121                 break;
2122             case 5:   // 欠费
2123                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_ARREARAGE;
2124                 break;
2125             case 6:  // 逾期
2126                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_OVERDUE;
2127                 break;
2128             case 7:  // 预欠费
2129                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_PREARREARAGE;
2130                 break;
2131             default:
2132                 status = NET_ACCESSCTLCARD_STATE.NET_ACCESSCTLCARD_STATE_UNKNOWN;
2133                 break;        
2134         }
2135         
2136         return status;                    
2137     }
2138     
2139     /*
2140      * 根据字符串,获取控件对应的索引
2141      */
2142     public int getCardStatusChomBoxIndex(String status) {
2143         int index = 0;
2144         
2145         if(status.equals(bundle.getString("STATE_UNKNOWN"))) {
2146             index = 1;
2147         } else if(status.equals(bundle.getString("STATE_NORMAL"))){
2148             index = 0;
2149         } else if(status.equals(bundle.getString("STATE_LOSE"))) {
2150             index = 2;
2151         } else if(status.equals(bundle.getString("STATE_LOGOFF"))) {
2152             index = 3;
2153         } else if(status.equals(bundle.getString("STATE_FREEZE"))) {
2154             index = 4;
2155         } else if(status.equals(bundle.getString("STATE_ARREARS"))) {
2156             index = 5;
2157         } else if(status.equals(bundle.getString("STATE_OVERDUE"))) {
2158             index = 6;
2159         } else if(status.equals(bundle.getString("STATE_PREARREARS"))) {
2160             index = 7;
2161         } 
2162         
2163         return index;
2164     }
2165     
2166     public String[] getCardStatusList() {
2167         return new String[]{
2168                             bundle.getString("STATE_NORMAL"),
2169                             bundle.getString("STATE_UNKNOWN"), 
2170                             bundle.getString("STATE_LOSE"),
2171                             bundle.getString("STATE_LOGOFF"),
2172                             bundle.getString("STATE_FREEZE"),
2173                             bundle.getString("STATE_ARREARS"),
2174                             bundle.getString("STATE_OVERDUE"),
2175                             bundle.getString("STATE_PREARREARS")};
2176     }
2177     
2178     /*
2179      * 用于列表显示
2180      */
2181     public String getCardType(int type) {
2182         String cardTypeString = "";
2183         
2184         switch(type) {
2185             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_UNKNOWN:  // 未知
2186                 cardTypeString = bundle.getString("CARD_UNKNOW");
2187                 break;
2188             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_GENERAL:  // 一般卡
2189                 cardTypeString = bundle.getString("CARD_GENERAL");
2190                 break;
2191             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_VIP:      // 
2192                 cardTypeString = bundle.getString("CARD_VIP");
2193                 break;
2194             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_GUEST:    // 来宾卡
2195                 cardTypeString = bundle.getString("CARD_GUEST");
2196                 break;
2197             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_PATROL:   // 巡逻卡
2198                 cardTypeString = bundle.getString("CARD_PATROL");
2199                 break;
2200             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_BLACKLIST: // 禁止名单卡
2201                 cardTypeString = bundle.getString("CARD_BACKLIST");
2202                 break;
2203             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_CORCE:     // 胁迫卡
2204                 cardTypeString = bundle.getString("CARD_COERCE");
2205                 break;
2206             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_POLLING:   // 巡检卡
2207                 cardTypeString = bundle.getString("CARD_POLLING");
2208                 break;
2209             case NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_MOTHERCARD: // 母卡
2210                 cardTypeString = bundle.getString("CARD_MOTHERCARD");
2211                 break;
2212             default:
2213                 cardTypeString = bundle.getString("CARD_UNKNOW");
2214                 break;
2215         }
2216
2217         return cardTypeString;
2218     }
2219     
2220     /*
2221      * 根据控件索引,获取对应的卡类型Int值
2222      */
2223     public int getCardTypeInt(int index) {
2224         int type = 0;
2225         
2226         switch(index) {
2227             case 1:
2228                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_UNKNOWN;
2229                 break;
2230             case 0:
2231                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_GENERAL;
2232                 break;
2233             case 2:
2234                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_VIP;
2235                 break;
2236             case 3:
2237                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_GUEST;
2238                 break;
2239             case 4:
2240                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_PATROL;
2241                 break;
2242             case 5:
2243                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_BLACKLIST;
2244                 break;
2245             case 6:
2246                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_CORCE;
2247                 break;
2248             case 7:
2249                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_POLLING;
2250                 break;
2251             case 8:
2252                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_MOTHERCARD;
2253                 break;
2254             default:
2255                 type = NET_ACCESSCTLCARD_TYPE.NET_ACCESSCTLCARD_TYPE_UNKNOWN;
2256                 break;
2257         }
2258
2259         return type;
2260     }
2261     
2262     /*
2263      * 根据字符串,获取控件的索引
2264      */
2265     public int getCardTypeChomBoxIndex(String type) {
2266         int index = 0;
2267         
2268         if(type.equals(bundle.getString("CARD_UNKNOW"))) {
2269             index = 1;
2270         } else if(type.equals(bundle.getString("CARD_GENERAL"))){
2271             index = 0;
2272         } else if(type.equals(bundle.getString("CARD_VIP"))) {
2273             index = 2;
2274         } else if(type.equals(bundle.getString("CARD_GUEST"))) {
2275             index = 3;
2276         } else if(type.equals(bundle.getString("CARD_PATROL"))) {
2277             index = 4;
2278         } else if(type.equals(bundle.getString("CARD_BACKLIST"))) {
2279             index = 5;
2280         } else if(type.equals(bundle.getString("CARD_COERCE"))) {
2281             index = 6;
2282         } else if(type.equals(bundle.getString("CARD_POLLING"))) {
2283             index = 7;
2284         } else if(type.equals(bundle.getString("CARD_MOTHERCARD"))) {
2285             index = 8;
2286         }
2287         
2288         return index;
2289     }
2290     
2291     public String[] getCardTypeList() {
2292         return new String[]{
2293                             bundle.getString("CARD_GENERAL"),
2294                             bundle.getString("CARD_UNKNOW"), 
2295                             bundle.getString("CARD_VIP"),
2296                             bundle.getString("CARD_GUEST"),
2297                             bundle.getString("CARD_PATROL"),
2298                             bundle.getString("CARD_BACKLIST"),
2299                             bundle.getString("CARD_COERCE"),
2300                             bundle.getString("CARD_POLLING"),
2301                             bundle.getString("CARD_MOTHERCARD")};
2302     }
2303     
2304     public String getMaskStatus(int emMaskStatus) {
2305         String MaskStatus = "";
2306         switch(emMaskStatus) {
2307         case EM_MASK_STATE_TYPE.EM_MASK_STATE_UNKNOWN:
2308             MaskStatus = bundle.getString("EM_MASK_STATE_UNKNOWN");
2309             break;
2310         case EM_MASK_STATE_TYPE.EM_MASK_STATE_NODISTI:
2311             MaskStatus = bundle.getString("EM_MASK_STATE_NODISTI");
2312             break;
2313         case EM_MASK_STATE_TYPE.EM_MASK_STATE_NOMASK:
2314             MaskStatus = bundle.getString("EM_MASK_STATE_NOMASK");
2315             break;
2316         case EM_MASK_STATE_TYPE.EM_MASK_STATE_WEAR:
2317             MaskStatus = bundle.getString("EM_MASK_STATE_WEAR");
2318             break;
2319         }
2320         return MaskStatus;
2321     }
2322     
2323     public String getOpenMethods(int emOpenMethod) {
2324         String openMethods = "";
2325         switch(emOpenMethod) {
2326             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_UNKNOWN:
2327                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_UNKNOWN");
2328                 break;
2329             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_PWD_ONLY:
2330                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_PWD_ONLY");
2331                 break;
2332             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD:
2333                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD");
2334                 break;
2335             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_FIRST:
2336                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_FIRST");
2337                 break;
2338             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_PWD_FIRST:
2339                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_PWD_FIRST");
2340                 break;
2341             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_REMOTE:
2342                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_REMOTE");
2343                 break;
2344             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_BUTTON:
2345                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_BUTTON");
2346                 break;
2347             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT:
2348                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT");
2349                 break;
2350             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_PWD_CARD_FINGERPRINT:
2351                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_PWD_CARD_FINGERPRINT");
2352                 break;
2353             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_PWD_FINGERPRINT:
2354                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_PWD_FINGERPRINT");
2355                 break;
2356             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_FINGERPRINT:
2357                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_FINGERPRINT");
2358                 break;
2359             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_PERSONS:
2360                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_PERSONS");
2361                 break;
2362             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_KEY:
2363                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_KEY");
2364                 break;            
2365             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_COERCE_PWD:
2366                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_COERCE_PWD");
2367                 break;
2368             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_QRCODE:
2369                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_QRCODE");
2370                 break;
2371             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACE_RECOGNITION:
2372                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACE_RECOGNITION");
2373                 break;
2374             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD:
2375                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD");
2376                 break;
2377             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD_AND_IDCARD:
2378                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD_AND_IDCARD");
2379                 break;
2380             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_BLUETOOTH:
2381                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_BLUETOOTH");
2382                 break;
2383             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CUSTOM_PASSWORD:
2384                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CUSTOM_PASSWORD");
2385                 break;
2386             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_USERID_AND_PWD:
2387                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_USERID_AND_PWD");
2388                 break;
2389             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACE_AND_PWD:
2390                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACE_AND_PWD");
2391                 break;
2392             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_PWD:
2393                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_PWD");
2394                 break;
2395             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_FACE:
2396                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_FACE");
2397                 break;
2398             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FACE:
2399                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FACE");
2400                 break;
2401             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACE_OR_PWD:
2402                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACE_OR_PWD");
2403                 break;
2404             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_PWD:
2405                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_PWD");
2406                 break;
2407             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_FACE:
2408                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_FACE");
2409                 break;
2410             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FACE:
2411                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FACE");
2412                 break;
2413             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT:
2414                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT");
2415                 break;
2416             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_FACE_AND_PWD:
2417                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_AND_FACE_AND_PWD");
2418                 break;
2419             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FACE_AND_PWD:
2420                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FACE_AND_PWD");
2421                 break;
2422             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FINGERPRINT_AND_PWD:
2423                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FINGERPRINT_AND_PWD");
2424                 break;
2425             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_AND_PWD_AND_FACE:
2426                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_AND_PWD_AND_FACE");
2427                 break;
2428             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_FACE_OR_PWD:
2429                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FINGERPRINT_OR_FACE_OR_PWD");
2430                 break;
2431             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FACE_OR_PWD:
2432                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FACE_OR_PWD");
2433                 break;
2434             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT_OR_FACE:
2435                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT_OR_FACE");
2436                 break;
2437             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FINGERPRINT_AND_FACE_AND_PWD:
2438                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_AND_FINGERPRINT_AND_FACE_AND_PWD");
2439                 break;
2440             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT_OR_FACE_OR_PWD:
2441                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_CARD_OR_FINGERPRINT_OR_FACE_OR_PWD");
2442                 break;
2443             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACEIPCARDANDIDCARD_OR_CARD_OR_FACE:
2444                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACEIPCARDANDIDCARD_OR_CARD_OR_FACE");
2445                 break;
2446             case NET_ACCESS_DOOROPEN_METHOD.NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD_OR_CARD_OR_FACE:
2447                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_FACEIDCARD_OR_CARD_OR_FACE");
2448                 break;
2449             default:
2450                 openMethods = bundle.getString("NET_ACCESS_DOOROPEN_METHOD_UNKNOWN");
2451                 break;
2452         }
2453         
2454         return openMethods;
2455     }
2456     
2457     public String getShowInfo(String tag) {
2458         try {
2459             return bundle.getString(tag);
2460         }catch(Exception e) {
2461             return tag;
2462         }
2463     }
2464     
2465     public String getThermalCamera() {
2466         return getShowInfo("THERMAL_CAMERA");
2467     }
2468     
2469     public String[] getMeterTypeList() {
2470         String[] meterTypes = {getShowInfo("SPOT"), getShowInfo("LINE"), getShowInfo("AREA")};
2471         
2472         return meterTypes;
2473     }
2474     
2475     public String[] getTemperUnitList() {
2476         return new String[]{getShowInfo("CENTIGRADE"), getShowInfo("FAHRENHEIT")};
2477     }
2478     
2479     public String[] getPeriodList() {
2480         return new String[] {getShowInfo("FIVE_MINUTES"), getShowInfo("TEN_MINUTES"), 
2481                 getShowInfo("FIFTEEN_MINUTES"), getShowInfo("THIRTY_MINUTES")};
2482     }
2483     
2484     public String[] getTemperStatusList() {
2485         return new String[]{getShowInfo("IDLE"), getShowInfo("ACQUIRING")};
2486     }
2487     
2488     public String getSearchingWait() {
2489         return bundle.getString("SEARCHING_WAITING");
2490     }
2491
2492     
2493
2494
2495     ///////////// Human Number Statistic ///////////////
2496
2497     public String getHumanNumberStatistic() {
2498         return bundle.getString("HUMAN_NUMBER_STATISTIC_TITLE");
2499     }
2500
2501     public String getHumanNumberStatisticAttach() {
2502         return bundle.getString("HUMAN_NUMBER_STATISTIC_CONTROL");
2503     }
2504
2505     public String getHumanNumberStatisticEventTitle() {
2506         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TITLE");
2507     }
2508
2509     public String getHumanNumberStatisticEventChannel() {
2510         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_CHANNEL");
2511     }
2512
2513     public String getHumanNumberStatisticEventTime() {
2514         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TIME");
2515     }
2516
2517     public String getHumanNumberStatisticEventHourIn() {
2518         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_HOUR_IN");
2519     }
2520
2521     public String getHumanNumberStatisticEventHourOut() {
2522         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_HOUR_OUT");
2523     }
2524
2525     public String getHumanNumberStatisticEventTodayIn() {
2526         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TODAY_IN");
2527     }
2528
2529     public String getHumanNumberStatisticEventTodayOut() {
2530         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TODAY_OUT");
2531     }
2532
2533     public String getHumanNumberStatisticEventTotalIn() {
2534         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TOTAL_IN");
2535     }
2536
2537     public String getHumanNumberStatisticEventTotalOut() {
2538         return bundle.getString("HUMAN_NUMBER_STATISTIC_EVENT_TOTAL_OUT");
2539     }
2540
2541     public String getHumanNumberStatisticEventClearOSD() {
2542         return bundle.getString("HUMAN_NUMBER_STATIC_EVENT_OSD_CLEAR");
2543     }
2544     public String getVTOAlarmEventRoomNo(){
2545         return bundle.getString("VTO_ALARM_EVENT_ROOM_NO");
2546     }
2547     public String getVTOAlarmEventCardNo(){
2548         return bundle.getString("VTO_ALARM_EVENT_CARD_NO");
2549     }
2550
2551     public String getVTOAlarmEventTime(){
2552         return bundle.getString("VTO_ALARM_EVENT_TIME");
2553     }
2554     public String getVTOAlarmEventOpenMethod(){
2555         return bundle.getString("VTO_ALARM_EVENT_OPEN_METHOD");
2556     }
2557     public String getVTOAlarmEventStatus(){
2558         return bundle.getString("VTO_ALARM_EVENT_STATUS");
2559     }
2560     public String getVTORealLoadRoomNO(){
2561         return bundle.getString("VTO_REAL_LOAD_ROOM_NO");
2562     }
2563     public String getVTORealLoadCardNo(){
2564         return bundle.getString("VTO_REAL_LOAD_CARD_NO");
2565     }
2566     public String getVTORealLoadTime(){
2567         return bundle.getString("VTO_REAL_LOAD_TIME");
2568     }
2569     public String getVTORealLoadEventInfo(){
2570         return bundle.getString("VTO_REAL_LOAD_EVENT_INFO");
2571     }
2572     public String getVTOOperateManagerTitle(){
2573         return bundle.getString("VTO_OPERATE_MANAGER_TITLE");
2574     }
2575     public String getInputRoomNo(){
2576         return bundle.getString("INPUT_ROOM_NO");
2577     }
2578     public String getRoomNoExceedLength(){
2579         return bundle.getString("ROOM_NO_EXCEED_LENGTH");
2580     }
2581     public String getVTOOperateManagerRecNo(){
2582         return bundle.getString("VTO_OPERATE_MANAGER_REC_NO");
2583     }
2584     public String getVTOOperateManagerRoomNo(){
2585         return bundle.getString("VTO_OPERATE_MANAGER_ROOM_NO");
2586     }
2587     public String getVTOOperateManagerCardNo(){
2588         return bundle.getString("VTO_OPERATE_MANAGER_CARD_NO");
2589     }
2590     public String getVTOOperateManagerFingerPrintData(){
2591         return bundle.getString("VTO_OPERATE_MANAGER_FINGER_PRINT_DATA");
2592     }
2593     public String getVTOOperateInfoTitle(){
2594         return bundle.getString("VTO_OPERATE_INFO_TITLE");
2595     }
2596     public String getVTOOperateCollectionFingerPrintTitle(){
2597         return bundle.getString("VTO_OPERATE_COLLECTION_FINGER_PRINT_TITLE");
2598     }
2599     public String getDoorOpen(){
2600         return bundle.getString("DOOR_OPEN");
2601     }
2602     public String getDoorClose(){
2603         return bundle.getString("DOOR_CLOSE");
2604     }
2605     public String getEventOperate(){
2606         return bundle.getString("EVENT_OPERATE");
2607     }
2608     public String getStartRealLoad(){
2609         return bundle.getString("START_REAL_LOAD_PIC");
2610     }
2611     public String getStopRealLoad(){
2612         return bundle.getString("STOP_REAL_LOAD_PIC");
2613     }
2614     public String getAlarmEvent(){
2615         return bundle.getString("ALARM_EVENT");
2616     }
2617     public String getRealLoadEvent(){
2618         return bundle.getString("REAL_LOAD_EVENT");
2619     }
2620     public String getCollectionResult(){
2621         return bundle.getString("COLLECTION_RESULT");
2622     }
2623     public String getNeedFingerPrint(){
2624         return bundle.getString("NEED_FINGER_PRINT");
2625     }
2626     public String getFaceInfo(){
2627         return bundle.getString("FACE_INFO");
2628     }
2629     public String getOpen(){
2630         return bundle.getString("OPEN");
2631     }
2632
2633 ///////////////////////////////////点阵屏设置/////////////////////////////////////、
2634     public static String getmatrixScreen() {
2635         // TODO Auto-generated method stub
2636         return bundle.getString("MATRIX_SCREEN");
2637     }
2638     public String getPassingState(){
2639         return bundle.getString("PASSING_STATE");
2640     }
2641     public String getPassingCar(){
2642         return bundle.getString("PASSING_CAR");
2643     }
2644     public String getNoCar(){
2645         return bundle.getString("NO_CAR");
2646     }
2647     public String getInTime(){
2648         return bundle.getString("IN_TIME");
2649     }
2650     public String getOutTime(){
2651         return bundle.getString("OUT_TIME");
2652     }
2653     public String getPlateNumber(){
2654         return bundle.getString("PLATE_NUMBER");
2655     }
2656     public String getCarOwner(){
2657         return bundle.getString("CAR_OWNER");
2658     }
2659     public String getParkingTime(){
2660         return bundle.getString("PARKING_TIME");
2661     }
2662     public String getUserType(){
2663         return bundle.getString("USER_TYPE");
2664     }
2665     public String getMonthlyCardUser(){
2666         return bundle.getString("MONTHLY_CARD_USER");
2667     }
2668     
2669     public String getAnnualCardUser(){
2670         return bundle.getString("ANNUAL_CARD_USER");
2671     }
2672     
2673     public String getLongTermUser(){
2674         return bundle.getString("LONG_TERM_USER");
2675     }
2676     
2677     public String getTemporaryUser(){
2678         return bundle.getString("TEMPORARY_USER");
2679     }
2680       
2681     public String getParkingCharge(){
2682         return bundle.getString("PARKING_CHARGE");
2683     }
2684     
2685     public String getDaysDue(){
2686         return bundle.getString("DAYS_DUE");
2687     }
2688     
2689     public String getRemainingParkingSpaces(){
2690         return bundle.getString("REMAINING_PARKING_SPACES");
2691     }
2692
2693     public String getVehiclesNotAllowedToPass(){
2694         return bundle.getString("VEHICLES_NOT_ALLOWED_TO_PASS");
2695     }
2696     
2697     public String getAllowedVehiclesToPass(){
2698         return bundle.getString("ALLOWED_VEHICLES_TO_PASS");
2699     }
2700     
2701     public String getSetUp(){
2702         return bundle.getString("SET_UP");
2703     }
2704     
2705     public String getSetUpSuccess(){
2706         return bundle.getString("SUCCESSFULLY_ISSUED");
2707     }
2708     
2709     public String getSetUpFailed(){
2710         return bundle.getString("DELIVERY_FAILED");
2711     }
2712     
2713     public String getCostomUserInfo(){
2714         return bundle.getString("CUSTOM_USER_CLASS");
2715     }
2716     
2717     public String getRemarksInfo(){
2718         return bundle.getString("REMARKS_INFORMATION");
2719     }
2720     
2721     public String getCostomInfo(){
2722         return bundle.getString("CUSTOM_INFORMATION");
2723     }
2724     public String getVTO() {return bundle.getString("VTO");}
2725     public String getSCADA() {return bundle.getString("SCADA");}
2726     public String getTrafficAllowList(){return bundle.getString("TRAFFIC_ALLOW_LIST");}
2727     public String getModifyCardFaceFailed(){
2728         return bundle.getString("MODIFY_CARD_FACE_FAILED");
2729     }
2730     public String getRemoveCardFaceFailed(){
2731         return bundle.getString("REMOVE_CARD_FACE_FAILED");
2732     }
2733     public String getDownLoadPicture(){
2734         return bundle.getString("DOWNLOAD_PICTURE");
2735     }
2736     
2737     public String getEnterPicturePath(){
2738         return bundle.getString("ENTER_PICTURE_PATH");
2739     }
2740     
2741     public String getLoading(){
2742         return bundle.getString("LOADING");
2743     }
2744     
2745     public String getEndSearch(){
2746         return bundle.getString("END_SEARCH");
2747     }
2748     public String getRemoteOpenDoor(){return bundle.getString("REMOTE_OPEN_DOOR");}
2749     public String getQueryCardExistFailed(){return bundle.getString("QUERY_CARD_EXIST_FAILED");}
2750     public String getFindCardExist(){return bundle.getString("CARD_EXIST");}
2751
2752
2753     public String getSCADADeviceList(){
2754         return bundle.getString("SCADA_DEVICE_LIST");
2755     }
2756
2757     public String getSCADAPointList(){
2758         return bundle.getString("SCADA_POINT_LIST");
2759     }
2760
2761     public String getSCADAAlarmAttachInfo(){
2762         return bundle.getString("SCADA_ATTACH_ALARM");
2763     }
2764
2765     public String getSCADAAttachInfo(){
2766         return bundle.getString("SCADA_ATTACH_INFO");
2767     }
2768
2769     public String getSCADAAttach(){
2770         return bundle.getString("SCADA_ATTACH");
2771     }
2772
2773     public String getListBtn(){
2774         return bundle.getString("BTN_LIST");
2775     }
2776
2777     public String getAllowlistOperation(){
2778         return bundle.getString("ALLOWLIST_OPERATION");
2779     }
2780
2781     public String getSingleUpload(){
2782         return bundle.getString("SINGLE_UPLOAD");
2783     }
2784
2785     public String getLicensePlateRun(){return bundle.getString("LICENSE_PLATE_RUN");  }
2786
2787     public String getFuzzyQuery(){return bundle.getString("FUZZY_QUERY");  }
2788
2789     public String getDeleteAll(){return bundle.getString("DELETE_ALL");  }
2790
2791     public String getAuthorization(){return bundle.getString("AUTHORIZATION");  }
2792
2793     public String getBatchUpload(){return bundle.getString("BATCH_UPLOAD");  }
2794
2795     public String getBrowse(){return bundle.getString("BROWSE");  }
2796
2797     public String getUpload(){return bundle.getString("UPLOAD");  }
2798
2799     public String getQueryInformation(){return bundle.getString("QUERY_INFORMATION");  }
2800
2801     public String getDialog(){return bundle.getString("DIALOG");  }
2802
2803     public String getLicensePlateNumber(){return bundle.getString("LICENSE_PLATE_NUMBER");  }
2804
2805     public String getModifyPanel(){return bundle.getString("MODIFY_PANEL");  }
2806
2807     public String getSerialNumber(){return bundle.getString("SERIAL_NUMBER");  }
2808
2809     public String getOpenModel(){return bundle.getString("OPEN_MODEL");  }
2810
2811     public String getLicensePlateLengthTooLong(){return bundle.getString("LICENSE_PLATE_LENGTH_TOO_LONG");  }
2812
2813     public String getNameTooLong(){return bundle.getString("NAME_TOO_LONG");  }
2814
2815     public String getDataNumber(){return bundle.getString("DATA_NUMBER");  }
2816
2817     public String getUnauthorization(){return bundle.getString("UNAUTHORIZATION");  }
2818
2819     public String getAddSuccess(){return bundle.getString("ADD_SUCCESS"); }
2820
2821     public String getAddFail(){return bundle.getString("ADD_FAIL"); }
2822
2823     public String getDeleteSuccess(){return bundle.getString("DELETE_SUCCESS"); }
2824
2825     public String getDeleteFail(){return bundle.getString("DELETE_FAIL"); }
2826
2827     public String getModifySuccess(){return bundle.getString("MODIFY_SUCCESS"); }
2828
2829     public String getModifyFail(){return bundle.getString("MODIFY_FAIL"); }
2830
2831     public String getUploadSuccess(){return bundle.getString("UPLOAD_SUCCESS"); }
2832     public String getUploadFail(){return bundle.getString("UPLOAD_FAIL"); }
2833     public String getUploading(){return bundle.getString("UPLOADING"); }
2834     public String getSureUpload(){return bundle.getString("SURE_UPLOAD"); }
2835
2836
2837     public String getEnterQueryData(){return bundle.getString("ENTER_QUERY_DATA"); }
2838     
2839     public String getScreenNumber(){return bundle.getString("SCREEN_NUMBER");}
2840     public String getContain(){return bundle.getString("TEXT_CONTENT");}
2841     public String getContainType(){return bundle.getString("TEXT_CONTENT_TYPE");}
2842     public String getContainColor(){return bundle.getString("TEXT_CONTENT_COLOR");}
2843     public String getScrollType(){return bundle.getString("SCROLL_TYPE");}
2844     public String getScrollSpeed(){return bundle.getString("SCROLL_SPEED");}
2845     
2846     public String getGreen(){return bundle.getString("GREEN");}
2847     public String getRed(){return bundle.getString("RED");}
2848     public String getYellow(){return bundle.getString("YELLOW");}
2849     public String getWhite(){return bundle.getString("WHITE");}
2850     
2851     public String getOrdinary(){return bundle.getString("ORDINARY");}
2852     public String getQRCode(){return bundle.getString("QR_CODE");}
2853     public String getLocalTime(){return bundle.getString("LOCAL_TIME");}
2854     public String getResource(){return bundle.getString("RESOURCE");}
2855     
2856     public String getNoRolling(){return bundle.getString("NOT_ROLLING");}
2857     public String getScrollLeftAndRight(){return bundle.getString("SCROLL_LEFT_AND_RIGHT");}
2858     public String getScrollTopAndDown(){return bundle.getString("SCROLL_UP_AND_DOWN");}
2859     public String getNumericString(){return bundle.getString("NUMBER_STRING");}
2860     public String getVoiceText(){return bundle.getString("VOICE_TEXT");}
2861     public String getIssued(){return bundle.getString("ISSUED");}
2862     public String getPrompt(){return bundle.getString("PROMPT");}
2863
2864     public String getDeviceName(){return bundle.getString("DEVICE_NAME");}
2865     public String getPointID(){return bundle.getString("POINT_ID");}
2866     public String getPointName(){return bundle.getString("POINT_NAME");}
2867     public String getIfValidSignalPoint(){return bundle.getString("IF_VALID_SIGNAL_POINT");}
2868     public String getAlarmDescribe(){return bundle.getString("ALARM_DESCRIBE");}
2869     public String getAlarmDelay(){return bundle.getString("ALARM_DELAY");}
2870     public String getAlarmLevel(){return bundle.getString("ALARM_LEVEL");}
2871     public String getAlarmTime(){return bundle.getString("ALARM_TIME");}
2872     public String getAlarmType(){return bundle.getString("ALARM_TYPE");}
2873     public String getCollectTime(){return bundle.getString("COLLECT_TIME");}
2874
2875     public String getJing(){return bundle.getString("JING");}
2876
2877     public String getJin(){return bundle.getString("JIN");}
2878     public String getJi(){return bundle.getString("JI");}
2879 }
2880
2881
2882