应同学项目需要,帮助处理一些文件内容的排序问题,手动实在太耗费时间,使用Python编写一个小脚本来完成手工工作。这次小工作再次让我感受到编程的魅力,小小的得意一下...。以下叙述一下工作内容。
文件名称:resource_Analyzing.Analyzing。 文件处理目的:处理文件中的蓝色标记部分,使得蓝色部分按照字符串中定义的两个字符排序。
具体跟EXCEL表格按照多个属性排序问题相似。工作内容是按照字符串中的红色部分排序:#define
IDD_DIALOG1 105 ,首先按照字母D排序,然后在D内部按照红色数字部分大小排序。源文件展示如下:
/********************************************************************************************
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include
file.
// Used by
DAnalyzing.rc
//
#define
IDD_DIALOG1 105
#define
IDD_HTML_FIGURE_01 106
#define
IDD_DIALOG_dtxfx_tab1 320
#define
IDD_DIALOG_dtxfx_tab2 321
#define
IDD_DIALOG_dtxfx_analyse 322
#define
IDD_FV_xyzdzdyz_T1 330
#define
IDD_FV_xyzdzdyz_T2 331
#define
IDD_FV_xyzdzdyz_T3 332
#define
IDD_FV_jtdlx_znq_T1 334
#define
IDD_FV_jtdlx_znq_T2 335
#define
IDD_FV_jtdlx_zxyh_T1 340
#define
IDD_FV_jtdlx_zxyh_T2 341
#define
IDD_FV_jtdlx_zxyh_T3 342
#define
IDD_FV_qtjc_cshjm_T3_zxfb 344
#define
IDC_TAB1 1000
#define
IDC_TAB_STXY 1000
#define
IDC_BUTTON16 1001
#define
IDC_EDIT23 1002
#define
IDC_EDIT21 1003
#define
IDC_BUTTON17 1003
#define
IDC_BUTTON14 1003
#define
IDC_TAB_DMGZ 1003
#define
IDC_TAB_GXNGZ 1004
#define
IDC_EDIT42 1005
#define
IDC_BUTTON19 1005
#define
IDC_TAB_DZHYG 1005
#define
IDC_EDIT10 1005
#define
IDC_EDIT43 1006
#define
IDC_EDIT11 1006
#define
IDC_BUTTON20 1006
#define
IDC_TAB_QTWDX 1006
#define
IDC_EDIT18 1007
#define
IDC_COMBO2 1007
#define
IDC_KZGZFX_TAB 1007
#define
IDC_KZGZ_TAB 1007
#define
IDC_SPIN1 1007
#define
IDC_EDIT19 1008
#define
IDC_COMBO16 1008
#define
IDC_EDIT24 1008
#define
IDC_EDIT12 1008
#define
IDC_SPIN2 1008
#define
IDC_PIC_FIGURE 1008
#define
IDC_RADIO1 1009
#define
IDC_EDIT25 1009
#define
IDC_SPIN3 1009
#define
IDC_BTN_CALL_JS 1009
#define
IDC_EDIT1 1010
#define
IDC_EDIT20 1010
#define
IDC_BUTTON1 1011
#define
IDC_RADIO_CLLX2 1011
#define
IDC_EDIT7 1011
#define
IDC_BUTTON_LoadDate 1011
#define
IDC_BUTTON_Upload 1011
#define
IDC_EDIT26 1011
#define
IDC_RADIO5 1011
#define
IDC_EDIT2 1012
#define
IDC_RADIO_CLLX3 1012
#define
IDC_BUTTON3 1012
#define
IDC_EDIT_FrequencyInfo 1012
#define
IDC_EDIT27 1012
#define
IDC_DPYH_OPEN 1012
#define
IDC_EDIT3 1013
#define
IDC_BUTTON4 1013
#define
IDC_BUTTON_Download 1013
#define
IDC_ZXYH_T6_OPEN 1013
#define
IDC_EDIT4 1014
#define
IDC_EDIT8 1014
#define
IDC_SPIN4 1014
#define
IDC_EDIT30 1015
#define
IDC_CHECK_BJCS 1015
#define
IDC_EDIT9 1015
#define
IDC_EDIT22 1015
#define
IDC_DPYH_T7_OPEN 1015
#define
IDC_EDIT5 1016
#define
IDC_CHECK_PMBH 1016
#define
IDC_BUTTON_analyse 1016
#define
IDC_ZXYH_T7_OPEN 1016
#define
IDC_COMBO1 1017
#define
IDC_EDIT14 1017
#define
IDC_EDIT_SAVE 1017
#define
IDC_COMBO_PMBH 1018
#define
IDC_COMBO6 1018
#define
IDC_EDIT15 1018
#define
IDC_EDIT_znxs 1018
#define
IDC_PIC_Matlab 1019
#define
IDC_BUTTON24 1019
#define
IDC_BUTTON6 1019
#define
IDC_EDIT16 1019
#define
IDC_EDIT_blznqsm 1019
#define
IDC_RADIO2 1020
#define
IDC_EDIT17 1020
#define
IDC_RADIO3 1021
#define
IDC_BUTTON5 1021
#define
IDC_EDIT28 1021
#define
IDC_COMBO4 1022
#define
IDC_EDIT6 1022
#define
IDC_EDIT29 1022
#define
IDC_COMBO7 1023
#define
IDC_BUTTON2 1023
#define
IDC_LIST1 1023
#define
IDC_EDIT_G1 1023
#define
IDC_LIST2 1024
#define
IDC_EDIT_G2 1024
#define
IDC_COMBO3 1024
#define
IDC_BTN_SEL_zx 1024
#define
IDC_BUTTON9 1024
#define
IDC_EDIT35 1025
#define
IDC_EDIT_G3 1025
#define
IDC_EDIT13 1025
#define
IDC_BTN_SEL_pl 1025
#define
IDC_EDIT31 1025
#define
IDC_EDIT36 1026
#define
IDC_EDIT_V1 1026
#define
IDC_COMBO5 1026
#define
IDC_BTN_SEL_yhwz 1026
#define
IDC_EDIT32 1026
#define
IDC_EDIT37 1027
#define
IDC_EDIT_V2 1027
#define
IDC_BUTTON7 1027
#define
IDC_BTN_SEL_SAVE 1027
#define
IDC_EDIT33 1027
#define
IDC_EDIT38 1028
#define
IDC_EDIT_V3 1028
#define
IDC_RADIO4 1028
#define
IDC_RADIO12 1028
#define
IDC_EDIT34 1028
#define
IDC_EDIT54 1029
#define
IDC_COMB_FILE 1029
#define
IDC_BUTTON8 1029
#define
IDC_EDIT55 1030
#define
IDC_LIST_CL 1030
#define
IDC_BUTTON10 1030
#define
IDC_EDIT41 1031
#define
IDC_BUTTON11 1031
#define
IDC_EDIT60 1032
#define
IDC_TAB_xyzdzdyz 1032
#define
IDC_EDIT61 1033
#define
IDC_RADIO7 1033
#define
IDC_BUTTON23 1033
#define
IDC_EDIT56 1034
#define
IDC_EDIT57 1035
#define
IDC_EDIT58 1036
#define
IDC_EDIT59 1037
#define
IDD_FV_dtxfx 1038
#define
IDC_EDIT63 1039
#define
IDD_FV_xyzdzdyz 1039
#define
IDC_EDIT64 1040
#define
IDD_FV_jtdlx_znq 1040
#define
IDD_FV_jtdlx_zxyh 1041
#define
IDD_FV_jtdlx_zxyh_T4 1042
#define
IDD_FV_jtdlx_zxyh_T5 1043
#define
IDC_LIST3 1044
#define
IDD_FV_jtdlx_zxyh_T6 1044
#define
IDD_FV_jtdlx_zxyh_T7 1045
#define
IDD_FV_jtdlx_dpyh 1047
#define
IDD_FV_jtdlx_dpyh_T1 1048
#define
IDD_FV_jtdlx_dpyh_T2 1049
#define
IDD_FV_jtdlx_dpyh_T3 1050
#define
IDC_BTN_dtxfx_start 1051
#define
IDD_FV_jtdlx_dpyh_T4 1051
#define
IDC_COMBO_Zxjc 1052
#define
IDD_FV_jtdlx_dpyh_T5 1052
#define
IDC_EDIT_Info 1053
#define
IDD_FV_jtdlx_dpyh_T6 1053
#define
IDD_FV_jtdlx_dpyh_T7 1054
#define
IDD_FV_qtjc_cshjm 1055
#define
IDD_FV_qtjc_cshjm_T1 1056
#define
IDD_FV_qtjc_cshjm_T2 1057
#define
IDD_FV_qtjc_cshjm_T3 1058
#define
IDC_BTN_LOAD_DATA_DB 1058
#define
IDD_FV_qtjc_cshjm_T3_pmtx 1059
#define
IDC_EDIT_jc 1059
#define
IDD_FV_DMGZFX_T2 1060
#define
IDC_TAB_jtdlx_znq 1060
#define
IDC_BTN_Analyse 1061
#define
IDC_TAB_zxyh 1062
#define
IDC_STATIC_group 1063
#define
IDC_TAB_cshjm 1064
#define
IDC_BTN_IMPORT 1065
#define
IDC_BTN_ASSEMBLE 1066
#define
IDC_TAB_figure 1067
#define
IDC_BTN_SAVE 1068
#define
IDC_LIST_T1 1068
#define
IDC_BTN_VIEW 1069
#define
IDC_BTN_INSERT 1069
#define
IDC_BTN_COMPUTE 1070
#define
IDC_BTN_MODIFY 1070
#define
IDC_BTN_OUTFILE 1071
#define
IDC_BTN_DELETE 1071
#define
IDC_LIST_DATA 1072
#define
IDC_EDIT_T2_1 1074
#define
IDC_EDIT_T2_2 1075
#define
IDC_EDIT_T2_3 1076
#define
IDC_EDIT_T2_4 1077
#define
IDC_EDIT_T2_5 1078
#define
IDC_EDIT_T2_6 1079
#define
IDC_EDIT_T2_7 1080
#define
IDC_LIST_T3 1081
#define
IDC_EDIT_T3_1 1082
#define
IDC_EDIT_T3_2 1083
#define
IDC_EDIT_T3_3 1084
#define
IDC_EDIT_T3_4 1085
#define
IDC_EDIT_T3_5 1086
#define
IDC_LIST_T4 1087
#define
IDC_EDIT_T4_1 1089
#define
IDC_EDIT_T4_2 1090
#define
IDC_EDIT_T4_3 1091
#define
IDC_EDIT_T4_4 1092
#define
IDC_EDIT_T4_5 1093
#define
IDC_EDIT_T4_6 1094
#define
IDC_EDIT_T1_1 1095
#define
IDC_EDIT_T4_7 1095
#define
IDC_EDIT_T1_2 1096
#define
IDC_EDIT_T4_8 1096
#define
IDC_EDIT_T1_3 1097
#define
IDC_EDIT_T1_4 1098
#define
IDC_EDIT_T1_5 1099
#define
IDC_EDIT_T1_6 1100
#define
IDC_EDIT_T1_7 1101
#define
IDC_LIST_T2 1102
#define
IDC_EDIT_HD 1106
#define
IDC_EDIT_CLMD 1107
#define
IDC_EDIT_E1 1108
#define
IDC_EDIT_E2 1109
#define
IDC_EDIT_E3 1110
#define
IDC_BTN_NEW 1111
#define
IDC_RADIO_CLLX1 1112
#define
IDC_RADIO_PMBH 1114
#define
IDC_COMBO_BJCS 1115
#define
IDC_BTN_OK 1117
#define
IDC_RADIO_ZXFB 1118
#define
IDC_COMBO_ZXFB 1119
#define
IDC_COMBO_CLBH 1121
#define
IDC_BTN_SEL_bdf 1123
#define
IDC_BTN_SEL_bdf2 1124
#define
IDC_EDIT_bdf 1124
#define
IDC_BTN_SEL_bdf3 1125
#define
IDC_EDIT_zx 1125
#define
IDC_BTN_SEL_bdf4 1126
#define
IDC_EDIT_pl 1126
#define
IDC_EDIT_wzyh 1127
#define
IDC_EDIT_zxzyd 1128
#define
IDC_EDIT_mtjs 1129
#define
IDC_EDIT_znqds 1130
#define
IDC_PIC_MATLAB1 1131
#define
IDC_PIC_MATLAB_PMTX 1132
#define
IDC_GRID_LIST 1134
#define
IDC_PROGRESS1 1135
#define
IDD_KZGZFX_T1 3104
#define
IDD_FV_DMGZFX 3401
#define
IDD_FV_DMGZFX_T1 3402
#define
IDD_FV_DMDZFX_STXY 3428
#define
IDD_KZGZFX 3881
#define
IDD_FV_XY_DZHYG_T1 31033
#define
IDD_FV_JT_GXNGZ 31061
#define
IDD_FV_XY_QTWDX 31062
#define
IDD_FV_XY_DZHYG_T2 31063
#define
IDD_FV_XY_QTWDX_T1 31064
#define
IDD_FV_XY_QTWDX_T2 31065
#define
IDD_FV_XY_DZHYG 31066
#define
IDD_FV_JT_GXNGZ_T1 31067
#define
IDD_FV_JT_GXNGZ_T2 31068
#define
IDD_KZGZFX_T2 31069
#define
IDD_DIALOG_dtxfx_tab3 31070
// Next default values for new
objects
//
#ifdef
APSTUDIO_INVOKED
#ifndef
APSTUDIO_READONLY_SYMBOLS
#define
_APS_NEXT_RESOURCE_VALUE 107
#define _APS_NEXT_COMMAND_VALUE
40001
#define _APS_NEXT_CONTROL_VALUE
1017
#define
_APS_NEXT_SYMED_VALUE 108
#endif
#endif
/************************************************************************************************
分析:首先要提取出所需依照内容作为属性。如果从文本中提取我们想要的字符理所当然的就要使用正则表达式。这项工作需要两次使用正则表达式,第一次因为文件中有其他我们不需要排序的内容,所以首先使用正则表达式提取出需要排序的内容,也就是文本中的蓝色部分。第二次使用正则表达式提取出字母和数字作为属性进行排序。最后将排序好的内容写入目标文件中。以上工作内容我是使用Python来完成的。(由于第一次使用Python,完成这个小work着实费了一番功夫,所以如果程序还可以进行优化和修改请指正。一下源程序都是经过编译好的,Python使用环境:Ubuntu12.04,Python-version 2.7)
下面贴出源程序: 源程序文件名字:match.py
#首先读取文件中的内容,储存到bytes中
import re
f= open(‘resource_Analyzing.Analyzing‘);
bytes=f.read()
f.close
bytes
# 模式匹配
resu=re.findall(‘\#define\x20ID\w.*?\x20\d{1,8}‘,bytes,re.S) #正则表达式部分可以参考:http://blog.csdn.net/allwefantasy/article/details/3136570
#输出结果
length=len(resu); #列表长度
#模式匹配resu中的每一个元素,提取出需要排序的目标字符
match_word=re.findall(‘\#define\x20ID(\w).*?\x20\d{1,8}‘,bytes,re.S)
#提取出字母
match_value=re.findall(‘\#define\x20ID\w.*?\x20(\d{1,8})‘,bytes,re.S)
#提取出数字
lis_l=[] #使用列表扩充句子内容,添加属性和完整句子到列表中 形式为:[‘D‘, 31067,
‘#define IDD_FV_JT_GXNGZ_T1
31067‘]
i=0
while i<length:
va=int(match_value[i])
#
lis_l.append([match_word[i],va,resu[i]])
i+=1
#在python可见多属性排序多么简单,可以感受下函数式编程的魅力。仅仅两条语句搞定多属性排序
from operator import itemgetter, attrgetter
lis=sorted(lis_l,
key=itemgetter(0,1))
#输出结果 #log_ed.txt
储存处理好的蓝色部分排序内容
log_ed=open(‘log_ed.txt‘,‘w‘)
temp=0
while temp<length:
print >> log_ed,
lis[temp][2]
temp+=1
log_ed.close()
#写文件 log.txt
储存为处理之前蓝色部分内容
log=open(‘log.txt‘,‘w‘)
temp=0
while
temp<length:
print >> log, resu[temp]
temp+=1
log.close()
#读文件
fi= open(‘log.txt‘);
stri=fi.read()
fi.close
fi= open(‘log_ed.txt‘);
stri_ed=fi.read()
fi.close
#字符串替换
bytes.replace(stri,stri_ed)
# 输出目标文件
tar=open(‘target.txt‘,‘w‘)
print >>
tar,bytes
tar.close()
程序运行结果log_ed.txt文件中的内容完全就是我们想要的,但是处理之后的目标文件target.txt没有达到我们的目的。也就是字符串替换部分有问题,肯定指导。这里我贴出处理好的文件log_ed.txt文件的内容,完全按照理想结果排序。
/******************************************************************************
#define IDC_TAB1 1000
#define IDC_TAB_STXY
1000
#define IDC_BUTTON16 1001
#define IDC_EDIT23
1002
#define IDC_EDIT21 1003
#define
IDC_BUTTON17 1003
#define IDC_BUTTON14
1003
#define IDC_TAB_DMGZ 1003
#define IDC_TAB_GXNGZ
1004
#define IDC_EDIT42 1005
#define
IDC_BUTTON19 1005
#define IDC_TAB_DZHYG
1005
#define IDC_EDIT10 1005
#define IDC_EDIT43
1006
#define IDC_EDIT11 1006
#define
IDC_BUTTON20 1006
#define IDC_TAB_QTWDX
1006
#define IDC_EDIT18 1007
#define IDC_COMBO2
1007
#define IDC_KZGZFX_TAB 1007
#define
IDC_KZGZ_TAB 1007
#define IDC_SPIN1
1007
#define IDC_EDIT19 1008
#define IDC_COMBO16
1008
#define IDC_EDIT24 1008
#define
IDC_EDIT12 1008
#define IDC_SPIN2
1008
#define IDC_PIC_FIGURE 1008
#define IDC_RADIO1
1009
#define IDC_EDIT25 1009
#define
IDC_SPIN3 1009
#define IDC_BTN_CALL_JS
1009
#define IDC_EDIT1 1010
#define IDC_EDIT20
1010
#define IDC_BUTTON1 1011
#define
IDC_RADIO_CLLX2 1011
#define IDC_EDIT7
1011
#define IDC_BUTTON_LoadDate 1011
#define
IDC_BUTTON_Upload 1011
#define IDC_EDIT26
1011
#define IDC_RADIO5 1011
#define IDC_EDIT2
1012
#define IDC_RADIO_CLLX3 1012
#define
IDC_BUTTON3 1012
#define IDC_EDIT_FrequencyInfo
1012
#define IDC_EDIT27 1012
#define IDC_DPYH_OPEN
1012
#define IDC_EDIT3 1013
#define
IDC_BUTTON4 1013
#define IDC_BUTTON_Download
1013
#define IDC_ZXYH_T6_OPEN 1013
#define IDC_EDIT4
1014
#define IDC_EDIT8 1014
#define
IDC_SPIN4 1014
#define IDC_EDIT30
1015
#define IDC_CHECK_BJCS 1015
#define IDC_EDIT9
1015
#define IDC_EDIT22 1015
#define
IDC_DPYH_T7_OPEN 1015
#define IDC_EDIT5
1016
#define IDC_CHECK_PMBH 1016
#define
IDC_BUTTON_analyse 1016
#define IDC_ZXYH_T7_OPEN
1016
#define IDC_COMBO1 1017
#define IDC_EDIT14
1017
#define IDC_EDIT_SAVE 1017
#define
IDC_COMBO_PMBH 1018
#define IDC_COMBO6
1018
#define IDC_EDIT15 1018
#define IDC_EDIT_znxs
1018
#define IDC_PIC_Matlab 1019
#define
IDC_BUTTON24 1019
#define IDC_BUTTON6
1019
#define IDC_EDIT16 1019
#define IDC_EDIT_blznqsm
1019
#define IDC_RADIO2 1020
#define
IDC_EDIT17 1020
#define IDC_RADIO3
1021
#define IDC_BUTTON5 1021
#define IDC_EDIT28
1021
#define IDC_COMBO4 1022
#define
IDC_EDIT6 1022
#define IDC_EDIT29
1022
#define IDC_COMBO7 1023
#define IDC_BUTTON2
1023
#define IDC_LIST1 1023
#define
IDC_EDIT_G1 1023
#define IDC_LIST2
1024
#define IDC_EDIT_G2 1024
#define IDC_COMBO3
1024
#define IDC_BTN_SEL_zx 1024
#define
IDC_BUTTON9 1024
#define IDC_EDIT35
1025
#define IDC_EDIT_G3 1025
#define IDC_EDIT13
1025
#define IDC_BTN_SEL_pl 1025
#define
IDC_EDIT31 1025
#define IDC_EDIT36
1026
#define IDC_EDIT_V1 1026
#define IDC_COMBO5
1026
#define IDC_BTN_SEL_yhwz 1026
#define
IDC_EDIT32 1026
#define IDC_EDIT37
1027
#define IDC_EDIT_V2 1027
#define IDC_BUTTON7
1027
#define IDC_BTN_SEL_SAVE 1027
#define
IDC_EDIT33 1027
#define IDC_EDIT38
1028
#define IDC_EDIT_V3 1028
#define IDC_RADIO4
1028
#define IDC_RADIO12 1028
#define
IDC_EDIT34 1028
#define IDC_EDIT54
1029
#define IDC_COMB_FILE 1029
#define IDC_BUTTON8
1029
#define IDC_EDIT55 1030
#define
IDC_LIST_CL 1030
#define IDC_BUTTON10
1030
#define IDC_EDIT41 1031
#define IDC_BUTTON11
1031
#define IDC_EDIT60 1032
#define
IDC_TAB_xyzdzdyz 1032
#define IDC_EDIT61
1033
#define IDC_RADIO7 1033
#define IDC_BUTTON23
1033
#define IDC_EDIT56 1034
#define
IDC_EDIT57 1035
#define IDC_EDIT58
1036
#define IDC_EDIT59 1037
#define IDC_EDIT63
1039
#define IDC_EDIT64 1040
#define
IDC_LIST3 1044
#define IDC_BTN_dtxfx_start
1051
#define IDC_COMBO_Zxjc 1052
#define IDC_EDIT_Info
1053
#define IDC_BTN_LOAD_DATA_DB 1058
#define
IDC_EDIT_jc 1059
#define IDC_TAB_jtdlx_znq
1060
#define IDC_BTN_Analyse 1061
#define IDC_TAB_zxyh
1062
#define IDC_STATIC_group 1063
#define
IDC_TAB_cshjm 1064
#define IDC_BTN_IMPORT
1065
#define IDC_BTN_ASSEMBLE 1066
#define IDC_TAB_figure
1067
#define IDC_BTN_SAVE 1068
#define
IDC_LIST_T1 1068
#define IDC_BTN_VIEW
1069
#define IDC_BTN_INSERT 1069
#define IDC_BTN_COMPUTE
1070
#define IDC_BTN_MODIFY 1070
#define
IDC_BTN_OUTFILE 1071
#define IDC_BTN_DELETE
1071
#define IDC_LIST_DATA 1072
#define IDC_EDIT_T2_1
1074
#define IDC_EDIT_T2_2 1075
#define
IDC_EDIT_T2_3 1076
#define IDC_EDIT_T2_4
1077
#define IDC_EDIT_T2_5 1078
#define IDC_EDIT_T2_6
1079
#define IDC_EDIT_T2_7 1080
#define
IDC_LIST_T3 1081
#define IDC_EDIT_T3_1
1082
#define IDC_EDIT_T3_2 1083
#define IDC_EDIT_T3_3
1084
#define IDC_EDIT_T3_4 1085
#define
IDC_EDIT_T3_5 1086
#define IDC_LIST_T4
1087
#define IDC_EDIT_T4_1 1089
#define IDC_EDIT_T4_2
1090
#define IDC_EDIT_T4_3 1091
#define
IDC_EDIT_T4_4 1092
#define IDC_EDIT_T4_5
1093
#define IDC_EDIT_T4_6 1094
#define IDC_EDIT_T1_1
1095
#define IDC_EDIT_T4_7 1095
#define
IDC_EDIT_T1_2 1096
#define IDC_EDIT_T4_8
1096
#define IDC_EDIT_T1_3 1097
#define IDC_EDIT_T1_4
1098
#define IDC_EDIT_T1_5 1099
#define
IDC_EDIT_T1_6 1100
#define IDC_EDIT_T1_7
1101
#define IDC_LIST_T2 1102
#define IDC_EDIT_HD
1106
#define IDC_EDIT_CLMD 1107
#define
IDC_EDIT_E1 1108
#define IDC_EDIT_E2
1109
#define IDC_EDIT_E3 1110
#define IDC_BTN_NEW
1111
#define IDC_RADIO_CLLX1 1112
#define
IDC_RADIO_PMBH 1114
#define IDC_COMBO_BJCS
1115
#define IDC_BTN_OK 1117
#define IDC_RADIO_ZXFB
1118
#define IDC_COMBO_ZXFB 1119
#define
IDC_COMBO_CLBH 1121
#define IDC_BTN_SEL_bdf
1123
#define IDC_BTN_SEL_bdf2 1124
#define IDC_EDIT_bdf
1124
#define IDC_BTN_SEL_bdf3 1125
#define
IDC_EDIT_zx 1125
#define IDC_BTN_SEL_bdf4
1126
#define IDC_EDIT_pl 1126
#define IDC_EDIT_wzyh
1127
#define IDC_EDIT_zxzyd 1128
#define
IDC_EDIT_mtjs 1129
#define IDC_EDIT_znqds
1130
#define IDC_PIC_MATLAB1 1131
#define
IDC_PIC_MATLAB_PMTX 1132
#define IDC_GRID_LIST
1134
#define IDC_PROGRESS1 1135
#define IDD_DIALOG1
105
#define IDD_HTML_FIGURE_01 106
#define
IDD_DIALOG_dtxfx_tab1 320
#define IDD_DIALOG_dtxfx_tab2
321
#define IDD_DIALOG_dtxfx_analyse 322
#define IDD_FV_xyzdzdyz_T1
330
#define IDD_FV_xyzdzdyz_T2 331
#define
IDD_FV_xyzdzdyz_T3 332
#define IDD_FV_jtdlx_znq_T1
334
#define IDD_FV_jtdlx_znq_T2 335
#define
IDD_FV_jtdlx_zxyh_T1 340
#define IDD_FV_jtdlx_zxyh_T2
341
#define IDD_FV_jtdlx_zxyh_T3 342
#define
IDD_FV_qtjc_cshjm_T3_zxfb 344
#define IDD_FV_dtxfx
1038
#define IDD_FV_xyzdzdyz 1039
#define IDD_FV_jtdlx_znq
1040
#define IDD_FV_jtdlx_zxyh 1041
#define
IDD_FV_jtdlx_zxyh_T4 1042
#define IDD_FV_jtdlx_zxyh_T5
1043
#define IDD_FV_jtdlx_zxyh_T6 1044
#define
IDD_FV_jtdlx_zxyh_T7 1045
#define IDD_FV_jtdlx_dpyh
1047
#define IDD_FV_jtdlx_dpyh_T1 1048
#define
IDD_FV_jtdlx_dpyh_T2 1049
#define IDD_FV_jtdlx_dpyh_T3
1050
#define IDD_FV_jtdlx_dpyh_T4 1051
#define
IDD_FV_jtdlx_dpyh_T5 1052
#define IDD_FV_jtdlx_dpyh_T6
1053
#define IDD_FV_jtdlx_dpyh_T7 1054
#define
IDD_FV_qtjc_cshjm 1055
#define IDD_FV_qtjc_cshjm_T1
1056
#define IDD_FV_qtjc_cshjm_T2 1057
#define
IDD_FV_qtjc_cshjm_T3 1058
#define IDD_FV_qtjc_cshjm_T3_pmtx
1059
#define IDD_FV_DMGZFX_T2 1060
#define IDD_KZGZFX_T1
3104
#define IDD_FV_DMGZFX 3401
#define
IDD_FV_DMGZFX_T1 3402
#define IDD_FV_DMDZFX_STXY
3428
#define IDD_KZGZFX 3881
#define
IDD_FV_XY_DZHYG_T1 31033
#define IDD_FV_JT_GXNGZ
31061
#define IDD_FV_XY_QTWDX 31062
#define
IDD_FV_XY_DZHYG_T2 31063
#define IDD_FV_XY_QTWDX_T1
31064
#define IDD_FV_XY_QTWDX_T2 31065
#define
IDD_FV_XY_DZHYG 31066
#define IDD_FV_JT_GXNGZ_T1
31067
#define IDD_FV_JT_GXNGZ_T2 31068
#define IDD_KZGZFX_T2
31069
#define IDD_DIALOG_dtxfx_tab3 31070
/*************************************************************************************************
使用正则表达式自动对文本按照字符排序,布布扣,bubuko.com
原文:http://www.cnblogs.com/7899-89/p/3580705.html