SDCMG.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CONFIGURATION>
  3. <!--ProcType,MFC/API.default is API-->
  4. <ProcType>API</ProcType>
  5. <!--Console,ON/OFF.default is On-->
  6. <Console>OFF</Console>
  7. <!--64,32.default is 32-->
  8. <Arch>64</Arch>
  9. <!--AutoLoad,ON/OFF.default is OFF-->
  10. <AutoLoad>OFF</AutoLoad>
  11. <!--0:do nothing,1:load with system,2:load later.default is 0-->
  12. <StartType>2</StartType>
  13. <!--PROCESS:load driver in a new process,MODULE:load driver in same process.default is Process-->
  14. <LoadType>MODULE</LoadType>
  15. <!--standalone,lead,subsystem,device-->
  16. <DRVTYPE>device</DRVTYPE>
  17. <!--1:TRACE,2:DEBUG,3:INFO,4:WARN,5:ERROR,6:FATAL-->
  18. <LOGLEVEL>1</LOGLEVEL>
  19. <!--1:Try Reconnect,0:not try-->
  20. <ReConnect>1</ReConnect>
  21. <!--N sec:ReTry connect after last try connect-->
  22. <ReConnectTimePeriod>10</ReConnectTimePeriod>
  23. <!--N sec:HeartBeatTimePeriod after connect-->
  24. <HeartBeatTimePeriod>10</HeartBeatTimePeriod>
  25. <MajorID>Generator</MajorID>
  26. <MinorID>Dr</MinorID>
  27. <VendorID>SDC</VendorID>
  28. <ProductID>HF</ProductID>
  29. <SerialID>1234</SerialID>
  30. <GUID>{18FDF176-DECE-445F-A52C-A14BDD3AC2C1}</GUID>
  31. <BusId>DevSDC</BusId>
  32. <connections>
  33. <GEN>
  34. <type>COM</type>
  35. <port>COM1</port>
  36. <baudrate>19200</baudrate>
  37. <bytesize>8</bytesize>
  38. <parity>0</parity>
  39. <stopbits>0</stopbits>
  40. </GEN>
  41. </connections>
  42. <!--dpc-->
  43. <driver>%ROOT%\NewModelDPCX64.dll</driver>
  44. <oemdriver>%ROOT%\SDC\CCOS.Dev.Generator.SDC64.dll</oemdriver>
  45. <!--configuration path,the context format is defined seperately in it's own ways -->
  46. <!--pass drvresource to DPC::DpcEntry-->
  47. <WSTable>1</WSTable>
  48. <WSWall>2</WSWall>
  49. <WSFree>3</WSFree>
  50. <WSTomo>3</WSTomo>
  51. <WSConventional>3</WSConventional>
  52. <SYNTable>0</SYNTable>
  53. <SYNWall>0</SYNWall>
  54. <SYNFree>0</SYNFree>
  55. <SYNTomo>0</SYNTomo>
  56. <SYNConventional>0</SYNConventional>
  57. <ConsoleRole>0</ConsoleRole>
  58. <IsConnect>1</IsConnect>
  59. <IsDemo>0</IsDemo>
  60. <LoadDll>CCOS.Dev.Generator.SDC64.dll</LoadDll>
  61. <!--新增加的字段,用来描述可修改配置项的具体信息-->
  62. <ConfigToolInfo>
  63. <AttributeInfo>
  64. <AttributeKey>GeneratorVender</AttributeKey>
  65. <AttributeDescripition>
  66. <Type>string</Type>
  67. <Access>RW</Access>
  68. <RangeMin>0</RangeMin>
  69. <RangeMax>100</RangeMax>
  70. <ListNum>0</ListNum>
  71. <ListInfo>
  72. <List/>
  73. </ListInfo>
  74. <Required>FALSE</Required>
  75. <DefaultValue>SDC</DefaultValue>
  76. </AttributeDescripition>
  77. <InnerKey>VendorID</InnerKey>
  78. <PathID>1</PathID>
  79. </AttributeInfo>
  80. <AttributeInfo>
  81. <AttributeKey>port</AttributeKey>
  82. <AttributeDescripition>
  83. <Type>string</Type>
  84. <Access>RW</Access>
  85. <RangeMin>COM0</RangeMin>
  86. <RangeMax>COM99</RangeMax>
  87. <ListNum>9</ListNum>
  88. <ListInfo>
  89. <List>COM1</List>
  90. <List>COM2</List>
  91. <List>COM3</List>
  92. <List>COM4</List>
  93. <List>COM5</List>
  94. <List>COM6</List>
  95. <List>COM7</List>
  96. <List>COM8</List>
  97. <List>COM9</List>
  98. </ListInfo>
  99. <Required>FALSE</Required>
  100. <DefaultValue>COM1</DefaultValue>
  101. </AttributeDescripition>
  102. <InnerKey>connections,GEN,port</InnerKey>
  103. <PathID>1</PathID>
  104. </AttributeInfo>
  105. <AttributeInfo>
  106. <AttributeKey>IsConnect</AttributeKey>
  107. <AttributeDescripition>
  108. <Type>int</Type>
  109. <Access>RW</Access>
  110. <RangeMin>0</RangeMin>
  111. <RangeMax>100</RangeMax>
  112. <ListNum>0</ListNum>
  113. <ListInfo>
  114. <List/>
  115. </ListInfo>
  116. <Required>FALSE</Required>
  117. <DefaultValue>1</DefaultValue>
  118. </AttributeDescripition>
  119. <InnerKey>IsConnect</InnerKey>
  120. <PathID>1</PathID>
  121. </AttributeInfo>
  122. <AttributeInfo>
  123. <AttributeKey>GeneratorModel</AttributeKey>
  124. <AttributeDescripition>
  125. <Type>string</Type>
  126. <Access>RW</Access>
  127. <RangeMin>0</RangeMin>
  128. <RangeMax>100</RangeMax>
  129. <ListNum>0</ListNum>
  130. <ListInfo>
  131. <List/>
  132. </ListInfo>
  133. <Required>FALSE</Required>
  134. <DefaultValue>HF</DefaultValue>
  135. </AttributeDescripition>
  136. <InnerKey>ProductID</InnerKey>
  137. <PathID>1</PathID>
  138. </AttributeInfo>
  139. <AttributeInfo>
  140. <AttributeKey>SCFType</AttributeKey>
  141. <AttributeDescripition>
  142. <Type>string</Type>
  143. <Access>RW</Access>
  144. <RangeMin>0</RangeMin>
  145. <RangeMax>100</RangeMax>
  146. <ListNum>0</ListNum>
  147. <ListInfo>
  148. <List/>
  149. </ListInfo>
  150. <Required>FALSE</Required>
  151. <DefaultValue>COM</DefaultValue>
  152. </AttributeDescripition>
  153. <InnerKey>connections,GEN,type</InnerKey>
  154. <PathID>1</PathID>
  155. </AttributeInfo>
  156. <AttributeInfo>
  157. <AttributeKey>baudrate</AttributeKey>
  158. <AttributeDescripition>
  159. <Type>int</Type>
  160. <Access>RW</Access>
  161. <RangeMin>1200</RangeMin>
  162. <RangeMax>1382400</RangeMax>
  163. <ListNum>0</ListNum>
  164. <ListInfo>
  165. <List/>
  166. </ListInfo>
  167. <Required>FALSE</Required>
  168. <DefaultValue>19200</DefaultValue>
  169. </AttributeDescripition>
  170. <InnerKey>connections,GEN,baudrate</InnerKey>
  171. <PathID>1</PathID>
  172. </AttributeInfo>
  173. <AttributeInfo>
  174. <AttributeKey>bytesize</AttributeKey>
  175. <AttributeDescripition>
  176. <Type>int</Type>
  177. <Access>RW</Access>
  178. <RangeMin>0</RangeMin>
  179. <RangeMax>100</RangeMax>
  180. <ListNum>0</ListNum>
  181. <ListInfo>
  182. <List/>
  183. </ListInfo>
  184. <Required>FALSE</Required>
  185. <DefaultValue>8</DefaultValue>
  186. </AttributeDescripition>
  187. <InnerKey>connections,GEN,bytesize</InnerKey>
  188. <PathID>1</PathID>
  189. </AttributeInfo>
  190. <AttributeInfo>
  191. <AttributeKey>parity</AttributeKey>
  192. <AttributeDescripition>
  193. <Type>int</Type>
  194. <Access>RW</Access>
  195. <RangeMin>0</RangeMin>
  196. <RangeMax>2</RangeMax>
  197. <ListNum>0</ListNum>
  198. <ListInfo>
  199. <List/>
  200. </ListInfo>
  201. <Required>FALSE</Required>
  202. <DefaultValue>0</DefaultValue>
  203. </AttributeDescripition>
  204. <InnerKey>connections,GEN,parity</InnerKey>
  205. <PathID>1</PathID>
  206. </AttributeInfo>
  207. <AttributeInfo>
  208. <AttributeKey>stopbits</AttributeKey>
  209. <AttributeDescripition>
  210. <Type>int</Type>
  211. <Access>RW</Access>
  212. <RangeMin>0</RangeMin>
  213. <RangeMax>2</RangeMax>
  214. <ListNum>0</ListNum>
  215. <ListInfo>
  216. <List/>
  217. </ListInfo>
  218. <Required>FALSE</Required>
  219. <DefaultValue>2</DefaultValue>
  220. </AttributeDescripition>
  221. <InnerKey>connections,GEN,stopbits</InnerKey>
  222. <PathID>1</PathID>
  223. </AttributeInfo>
  224. <AttributeInfo>
  225. <AttributeKey>WSTable</AttributeKey>
  226. <AttributeDescripition>
  227. <Type>int</Type>
  228. <Access>RW</Access>
  229. <RangeMin>0</RangeMin>
  230. <RangeMax>100</RangeMax>
  231. <ListNum>8</ListNum>
  232. <ListInfo>
  233. <List>1</List>
  234. <List>2</List>
  235. <List>3</List>
  236. <List>4</List>
  237. <List>5</List>
  238. <List>6</List>
  239. <List>7</List>
  240. <List>8</List>
  241. </ListInfo>
  242. <Required>FALSE</Required>
  243. <DefaultValue>1</DefaultValue>
  244. </AttributeDescripition>
  245. <InnerKey>WSTable</InnerKey>
  246. <PathID>1</PathID>
  247. </AttributeInfo>
  248. <AttributeInfo>
  249. <AttributeKey>WSWall</AttributeKey>
  250. <AttributeDescripition>
  251. <Type>int</Type>
  252. <Access>RW</Access>
  253. <RangeMin>0</RangeMin>
  254. <RangeMax>100</RangeMax>
  255. <ListNum>8</ListNum>
  256. <ListInfo>
  257. <List>1</List>
  258. <List>2</List>
  259. <List>3</List>
  260. <List>4</List>
  261. <List>5</List>
  262. <List>6</List>
  263. <List>7</List>
  264. <List>8</List>
  265. </ListInfo>
  266. <Required>FALSE</Required>
  267. <DefaultValue>1</DefaultValue>
  268. </AttributeDescripition>
  269. <InnerKey>WSWall</InnerKey>
  270. <PathID>1</PathID>
  271. </AttributeInfo>
  272. <AttributeInfo>
  273. <AttributeKey>WSFree</AttributeKey>
  274. <AttributeDescripition>
  275. <Type>int</Type>
  276. <Access>RW</Access>
  277. <RangeMin>0</RangeMin>
  278. <RangeMax>100</RangeMax>
  279. <ListNum>8</ListNum>
  280. <ListInfo>
  281. <List>1</List>
  282. <List>2</List>
  283. <List>3</List>
  284. <List>4</List>
  285. <List>5</List>
  286. <List>6</List>
  287. <List>7</List>
  288. <List>8</List>
  289. </ListInfo>
  290. <Required>FALSE</Required>
  291. <DefaultValue>3</DefaultValue>
  292. </AttributeDescripition>
  293. <InnerKey>WSFree</InnerKey>
  294. <PathID>1</PathID>
  295. </AttributeInfo>
  296. <AttributeInfo>
  297. <AttributeKey>WSTomo</AttributeKey>
  298. <AttributeDescripition>
  299. <Type>int</Type>
  300. <Access>RW</Access>
  301. <RangeMin>0</RangeMin>
  302. <RangeMax>100</RangeMax>
  303. <ListNum>8</ListNum>
  304. <ListInfo>
  305. <List>1</List>
  306. <List>2</List>
  307. <List>3</List>
  308. <List>4</List>
  309. <List>5</List>
  310. <List>6</List>
  311. <List>7</List>
  312. <List>8</List>
  313. </ListInfo>
  314. <Required>FALSE</Required>
  315. <DefaultValue>3</DefaultValue>
  316. </AttributeDescripition>
  317. <InnerKey>WSTomo</InnerKey>
  318. <PathID>1</PathID>
  319. </AttributeInfo>
  320. <AttributeInfo>
  321. <AttributeKey>WSConventional</AttributeKey>
  322. <AttributeDescripition>
  323. <Type>int</Type>
  324. <Access>RW</Access>
  325. <RangeMin>0</RangeMin>
  326. <RangeMax>100</RangeMax>
  327. <ListNum>8</ListNum>
  328. <ListInfo>
  329. <List>1</List>
  330. <List>2</List>
  331. <List>3</List>
  332. <List>4</List>
  333. <List>5</List>
  334. <List>6</List>
  335. <List>7</List>
  336. <List>8</List>
  337. </ListInfo>
  338. <Required>FALSE</Required>
  339. <DefaultValue>3</DefaultValue>
  340. </AttributeDescripition>
  341. <InnerKey>WSConventional</InnerKey>
  342. <PathID>1</PathID>
  343. </AttributeInfo>
  344. <AttributeInfo>
  345. <AttributeKey>SYNTable</AttributeKey>
  346. <AttributeDescripition>
  347. <Type>int</Type>
  348. <Access>RW</Access>
  349. <RangeMin>0</RangeMin>
  350. <RangeMax>100</RangeMax>
  351. <ListNum>2</ListNum>
  352. <ListInfo>
  353. <List>1</List>
  354. <List>2</List>
  355. </ListInfo>
  356. <Required>FALSE</Required>
  357. <DefaultValue>1</DefaultValue>
  358. </AttributeDescripition>
  359. <InnerKey>SYNTable</InnerKey>
  360. <PathID>1</PathID>
  361. </AttributeInfo>
  362. <AttributeInfo>
  363. <AttributeKey>SYNWall</AttributeKey>
  364. <AttributeDescripition>
  365. <Type>int</Type>
  366. <Access>RW</Access>
  367. <RangeMin>0</RangeMin>
  368. <RangeMax>100</RangeMax>
  369. <ListNum>2</ListNum>
  370. <ListInfo>
  371. <List>1</List>
  372. <List>2</List>
  373. </ListInfo>
  374. <Required>FALSE</Required>
  375. <DefaultValue>1</DefaultValue>
  376. </AttributeDescripition>
  377. <InnerKey>SYNWall</InnerKey>
  378. <PathID>1</PathID>
  379. </AttributeInfo>
  380. <AttributeInfo>
  381. <AttributeKey>SYNFree</AttributeKey>
  382. <AttributeDescripition>
  383. <Type>int</Type>
  384. <Access>RW</Access>
  385. <RangeMin>0</RangeMin>
  386. <RangeMax>100</RangeMax>
  387. <ListNum>2</ListNum>
  388. <ListInfo>
  389. <List>1</List>
  390. <List>2</List>
  391. </ListInfo>
  392. <Required>FALSE</Required>
  393. <DefaultValue>1</DefaultValue>
  394. </AttributeDescripition>
  395. <InnerKey>SYNFree</InnerKey>
  396. <PathID>1</PathID>
  397. </AttributeInfo>
  398. <AttributeInfo>
  399. <AttributeKey>SYNTomo</AttributeKey>
  400. <AttributeDescripition>
  401. <Type>int</Type>
  402. <Access>RW</Access>
  403. <RangeMin>0</RangeMin>
  404. <RangeMax>100</RangeMax>
  405. <ListNum>2</ListNum>
  406. <ListInfo>
  407. <List>1</List>
  408. <List>2</List>
  409. </ListInfo>
  410. <Required>FALSE</Required>
  411. <DefaultValue>1</DefaultValue>
  412. </AttributeDescripition>
  413. <InnerKey>SYNTomo</InnerKey>
  414. <PathID>1</PathID>
  415. </AttributeInfo>
  416. <AttributeInfo>
  417. <AttributeKey>SYNConventional</AttributeKey>
  418. <AttributeDescripition>
  419. <Type>int</Type>
  420. <Access>RW</Access>
  421. <RangeMin>0</RangeMin>
  422. <RangeMax>1</RangeMax>
  423. <ListNum>2</ListNum>
  424. <ListInfo>
  425. <List>1</List>
  426. <List>2</List>
  427. </ListInfo>
  428. <Required>FALSE</Required>
  429. <DefaultValue>1</DefaultValue>
  430. </AttributeDescripition>
  431. <InnerKey>SYNConventional</InnerKey>
  432. <PathID>1</PathID>
  433. </AttributeInfo>
  434. <AttributeInfo>
  435. <AttributeKey>ConsoleRole</AttributeKey>
  436. <AttributeDescripition>
  437. <Type>int</Type>
  438. <Access>RW</Access>
  439. <RangeMin>0</RangeMin>
  440. <RangeMax>9</RangeMax>
  441. <ListNum>3</ListNum>
  442. <ListInfo>
  443. <List>1</List>
  444. <List>2</List>
  445. <List>3</List>
  446. </ListInfo>
  447. <Required>FALSE</Required>
  448. <DefaultValue>1</DefaultValue>
  449. </AttributeDescripition>
  450. <InnerKey>ConsoleRole</InnerKey>
  451. <PathID>1</PathID>
  452. </AttributeInfo>
  453. </ConfigToolInfo>
  454. </CONFIGURATION>