CPIMG.xml 15 KB

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