ContainerExample.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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:open log,0:no log-->
  20. <logEnable>1</logEnable>
  21. <!--loopTime(ms)_for_get_genInfo-->
  22. <loopTime>2000</loopTime>
  23. <DeviceNumber>1</DeviceNumber><!---->
  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>Idetec</VendorID>
  33. <ProductID>Almax</ProductID>
  34. <SerialID>1234</SerialID>
  35. <GUID>{18FDF176-DECE-445F-A52C-A14BDD3AC2C1}</GUID>
  36. <BusId>DevPSGMG</BusId>
  37. <connections>
  38. <GEN>
  39. <type>COM</type>
  40. <port>COM1</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%\ContainerDPCX64.dll</driver>
  49. <oemdriver>%ROOT%\OEMDrivers\Generator\Almax\CCOS.Dev.Generator.ContainerExample64.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>0</IsConnect>
  64. <IsDemo>0</IsDemo>
  65. <LoadDll>CCOS.Dev.Generator.ContainerExample64.dll</LoadDll>
  66. <ConfigToolInfo>
  67. <AttributeInfo>
  68. <AttributeKey>GeneratorVender</AttributeKey>
  69. <AttributeDescripition>
  70. <Type>string</Type>
  71. <Access>RW</Access>
  72. <RangeMin>0</RangeMin>
  73. <RangeMax>100</RangeMax>
  74. <ListNum>0</ListNum>
  75. <ListInfo>
  76. <List/>
  77. </ListInfo>
  78. <Required>FALSE</Required>
  79. <DefaultValue>DEMO</DefaultValue>
  80. </AttributeDescripition>
  81. <InnerKey>VendorID</InnerKey>
  82. <PathID>1</PathID>
  83. </AttributeInfo>
  84. <AttributeInfo>
  85. <AttributeKey>port</AttributeKey>
  86. <AttributeDescripition>
  87. <Type>string</Type>
  88. <Access>RW</Access>
  89. <RangeMin>COM0</RangeMin>
  90. <RangeMax>COM99</RangeMax>
  91. <ListNum>9</ListNum>
  92. <ListInfo>
  93. <List>COM1</List>
  94. <List>COM2</List>
  95. <List>COM3</List>
  96. <List>COM4</List>
  97. <List>COM5</List>
  98. <List>COM6</List>
  99. <List>COM7</List>
  100. <List>COM8</List>
  101. <List>COM9</List>
  102. </ListInfo>
  103. <Required>FALSE</Required>
  104. <DefaultValue>COM1</DefaultValue>
  105. </AttributeDescripition>
  106. <InnerKey>connections,GEN,port</InnerKey>
  107. <PathID>1</PathID>
  108. </AttributeInfo>
  109. <AttributeInfo>
  110. <AttributeKey>IsConnect</AttributeKey>
  111. <AttributeDescripition>
  112. <Type>int</Type>
  113. <Access>RW</Access>
  114. <RangeMin>0</RangeMin>
  115. <RangeMax>100</RangeMax>
  116. <ListNum>0</ListNum>
  117. <ListInfo>
  118. <List/>
  119. </ListInfo>
  120. <Required>FALSE</Required>
  121. <DefaultValue>1</DefaultValue>
  122. </AttributeDescripition>
  123. <InnerKey>IsConnect</InnerKey>
  124. <PathID>1</PathID>
  125. </AttributeInfo>
  126. <AttributeInfo>
  127. <AttributeKey>GeneratorModel</AttributeKey>
  128. <AttributeDescripition>
  129. <Type>string</Type>
  130. <Access>RW</Access>
  131. <RangeMin>0</RangeMin>
  132. <RangeMax>100</RangeMax>
  133. <ListNum>0</ListNum>
  134. <ListInfo>
  135. <List/>
  136. </ListInfo>
  137. <Required>FALSE</Required>
  138. <DefaultValue>HF</DefaultValue>
  139. </AttributeDescripition>
  140. <InnerKey>ProductID</InnerKey>
  141. <PathID>1</PathID>
  142. </AttributeInfo>
  143. <AttributeInfo>
  144. <AttributeKey>SCFType</AttributeKey>
  145. <AttributeDescripition>
  146. <Type>string</Type>
  147. <Access>RW</Access>
  148. <RangeMin>0</RangeMin>
  149. <RangeMax>100</RangeMax>
  150. <ListNum>0</ListNum>
  151. <ListInfo>
  152. <List/>
  153. </ListInfo>
  154. <Required>FALSE</Required>
  155. <DefaultValue>COM</DefaultValue>
  156. </AttributeDescripition>
  157. <InnerKey>connections,GEN,type</InnerKey>
  158. <PathID>1</PathID>
  159. </AttributeInfo>
  160. <AttributeInfo>
  161. <AttributeKey>baudrate</AttributeKey>
  162. <AttributeDescripition>
  163. <Type>int</Type>
  164. <Access>RW</Access>
  165. <RangeMin>1200</RangeMin>
  166. <RangeMax>1382400</RangeMax>
  167. <ListNum>0</ListNum>
  168. <ListInfo>
  169. <List/>
  170. </ListInfo>
  171. <Required>FALSE</Required>
  172. <DefaultValue>19200</DefaultValue>
  173. </AttributeDescripition>
  174. <InnerKey>connections,GEN,baudrate</InnerKey>
  175. <PathID>1</PathID>
  176. </AttributeInfo>
  177. <AttributeInfo>
  178. <AttributeKey>bytesize</AttributeKey>
  179. <AttributeDescripition>
  180. <Type>int</Type>
  181. <Access>RW</Access>
  182. <RangeMin>0</RangeMin>
  183. <RangeMax>100</RangeMax>
  184. <ListNum>0</ListNum>
  185. <ListInfo>
  186. <List/>
  187. </ListInfo>
  188. <Required>FALSE</Required>
  189. <DefaultValue>8</DefaultValue>
  190. </AttributeDescripition>
  191. <InnerKey>connections,GEN,bytesize</InnerKey>
  192. <PathID>1</PathID>
  193. </AttributeInfo>
  194. <AttributeInfo>
  195. <AttributeKey>parity</AttributeKey>
  196. <AttributeDescripition>
  197. <Type>int</Type>
  198. <Access>RW</Access>
  199. <RangeMin>0</RangeMin>
  200. <RangeMax>2</RangeMax>
  201. <ListNum>0</ListNum>
  202. <ListInfo>
  203. <List/>
  204. </ListInfo>
  205. <Required>FALSE</Required>
  206. <DefaultValue>0</DefaultValue>
  207. </AttributeDescripition>
  208. <InnerKey>connections,GEN,parity</InnerKey>
  209. <PathID>1</PathID>
  210. </AttributeInfo>
  211. <AttributeInfo>
  212. <AttributeKey>stopbits</AttributeKey>
  213. <AttributeDescripition>
  214. <Type>int</Type>
  215. <Access>RW</Access>
  216. <RangeMin>0</RangeMin>
  217. <RangeMax>2</RangeMax>
  218. <ListNum>0</ListNum>
  219. <ListInfo>
  220. <List/>
  221. </ListInfo>
  222. <Required>FALSE</Required>
  223. <DefaultValue>2</DefaultValue>
  224. </AttributeDescripition>
  225. <InnerKey>connections,GEN,stopbits</InnerKey>
  226. <PathID>1</PathID>
  227. </AttributeInfo>
  228. <AttributeInfo>
  229. <AttributeKey>WSTable</AttributeKey>
  230. <AttributeDescripition>
  231. <Type>int</Type>
  232. <Access>RW</Access>
  233. <RangeMin>0</RangeMin>
  234. <RangeMax>100</RangeMax>
  235. <ListNum>8</ListNum>
  236. <ListInfo>
  237. <List>1</List>
  238. <List>2</List>
  239. <List>3</List>
  240. <List>4</List>
  241. <List>5</List>
  242. <List>6</List>
  243. <List>7</List>
  244. <List>8</List>
  245. </ListInfo>
  246. <Required>FALSE</Required>
  247. <DefaultValue>1</DefaultValue>
  248. </AttributeDescripition>
  249. <InnerKey>WSTable</InnerKey>
  250. <PathID>1</PathID>
  251. </AttributeInfo>
  252. <AttributeInfo>
  253. <AttributeKey>WSWall</AttributeKey>
  254. <AttributeDescripition>
  255. <Type>int</Type>
  256. <Access>RW</Access>
  257. <RangeMin>0</RangeMin>
  258. <RangeMax>100</RangeMax>
  259. <ListNum>8</ListNum>
  260. <ListInfo>
  261. <List>1</List>
  262. <List>2</List>
  263. <List>3</List>
  264. <List>4</List>
  265. <List>5</List>
  266. <List>6</List>
  267. <List>7</List>
  268. <List>8</List>
  269. </ListInfo>
  270. <Required>FALSE</Required>
  271. <DefaultValue>1</DefaultValue>
  272. </AttributeDescripition>
  273. <InnerKey>WSWall</InnerKey>
  274. <PathID>1</PathID>
  275. </AttributeInfo>
  276. <AttributeInfo>
  277. <AttributeKey>WSFree</AttributeKey>
  278. <AttributeDescripition>
  279. <Type>int</Type>
  280. <Access>RW</Access>
  281. <RangeMin>0</RangeMin>
  282. <RangeMax>100</RangeMax>
  283. <ListNum>8</ListNum>
  284. <ListInfo>
  285. <List>1</List>
  286. <List>2</List>
  287. <List>3</List>
  288. <List>4</List>
  289. <List>5</List>
  290. <List>6</List>
  291. <List>7</List>
  292. <List>8</List>
  293. </ListInfo>
  294. <Required>FALSE</Required>
  295. <DefaultValue>3</DefaultValue>
  296. </AttributeDescripition>
  297. <InnerKey>WSFree</InnerKey>
  298. <PathID>1</PathID>
  299. </AttributeInfo>
  300. <AttributeInfo>
  301. <AttributeKey>WSTomo</AttributeKey>
  302. <AttributeDescripition>
  303. <Type>int</Type>
  304. <Access>RW</Access>
  305. <RangeMin>0</RangeMin>
  306. <RangeMax>100</RangeMax>
  307. <ListNum>8</ListNum>
  308. <ListInfo>
  309. <List>1</List>
  310. <List>2</List>
  311. <List>3</List>
  312. <List>4</List>
  313. <List>5</List>
  314. <List>6</List>
  315. <List>7</List>
  316. <List>8</List>
  317. </ListInfo>
  318. <Required>FALSE</Required>
  319. <DefaultValue>3</DefaultValue>
  320. </AttributeDescripition>
  321. <InnerKey>WSTomo</InnerKey>
  322. <PathID>1</PathID>
  323. </AttributeInfo>
  324. <AttributeInfo>
  325. <AttributeKey>WSConventional</AttributeKey>
  326. <AttributeDescripition>
  327. <Type>int</Type>
  328. <Access>RW</Access>
  329. <RangeMin>0</RangeMin>
  330. <RangeMax>100</RangeMax>
  331. <ListNum>8</ListNum>
  332. <ListInfo>
  333. <List>1</List>
  334. <List>2</List>
  335. <List>3</List>
  336. <List>4</List>
  337. <List>5</List>
  338. <List>6</List>
  339. <List>7</List>
  340. <List>8</List>
  341. </ListInfo>
  342. <Required>FALSE</Required>
  343. <DefaultValue>3</DefaultValue>
  344. </AttributeDescripition>
  345. <InnerKey>WSConventional</InnerKey>
  346. <PathID>1</PathID>
  347. </AttributeInfo>
  348. <AttributeInfo>
  349. <AttributeKey>SYNTable</AttributeKey>
  350. <AttributeDescripition>
  351. <Type>int</Type>
  352. <Access>RW</Access>
  353. <RangeMin>0</RangeMin>
  354. <RangeMax>100</RangeMax>
  355. <ListNum>2</ListNum>
  356. <ListInfo>
  357. <List>1</List>
  358. <List>2</List>
  359. </ListInfo>
  360. <Required>FALSE</Required>
  361. <DefaultValue>1</DefaultValue>
  362. </AttributeDescripition>
  363. <InnerKey>SYNTable</InnerKey>
  364. <PathID>1</PathID>
  365. </AttributeInfo>
  366. <AttributeInfo>
  367. <AttributeKey>SYNWall</AttributeKey>
  368. <AttributeDescripition>
  369. <Type>int</Type>
  370. <Access>RW</Access>
  371. <RangeMin>0</RangeMin>
  372. <RangeMax>100</RangeMax>
  373. <ListNum>2</ListNum>
  374. <ListInfo>
  375. <List>1</List>
  376. <List>2</List>
  377. </ListInfo>
  378. <Required>FALSE</Required>
  379. <DefaultValue>1</DefaultValue>
  380. </AttributeDescripition>
  381. <InnerKey>SYNWall</InnerKey>
  382. <PathID>1</PathID>
  383. </AttributeInfo>
  384. <AttributeInfo>
  385. <AttributeKey>SYNFree</AttributeKey>
  386. <AttributeDescripition>
  387. <Type>int</Type>
  388. <Access>RW</Access>
  389. <RangeMin>0</RangeMin>
  390. <RangeMax>100</RangeMax>
  391. <ListNum>2</ListNum>
  392. <ListInfo>
  393. <List>1</List>
  394. <List>2</List>
  395. </ListInfo>
  396. <Required>FALSE</Required>
  397. <DefaultValue>1</DefaultValue>
  398. </AttributeDescripition>
  399. <InnerKey>SYNFree</InnerKey>
  400. <PathID>1</PathID>
  401. </AttributeInfo>
  402. <AttributeInfo>
  403. <AttributeKey>SYNTomo</AttributeKey>
  404. <AttributeDescripition>
  405. <Type>int</Type>
  406. <Access>RW</Access>
  407. <RangeMin>0</RangeMin>
  408. <RangeMax>100</RangeMax>
  409. <ListNum>2</ListNum>
  410. <ListInfo>
  411. <List>1</List>
  412. <List>2</List>
  413. </ListInfo>
  414. <Required>FALSE</Required>
  415. <DefaultValue>1</DefaultValue>
  416. </AttributeDescripition>
  417. <InnerKey>SYNTomo</InnerKey>
  418. <PathID>1</PathID>
  419. </AttributeInfo>
  420. <AttributeInfo>
  421. <AttributeKey>SYNConventional</AttributeKey>
  422. <AttributeDescripition>
  423. <Type>int</Type>
  424. <Access>RW</Access>
  425. <RangeMin>0</RangeMin>
  426. <RangeMax>1</RangeMax>
  427. <ListNum>2</ListNum>
  428. <ListInfo>
  429. <List>1</List>
  430. <List>2</List>
  431. </ListInfo>
  432. <Required>FALSE</Required>
  433. <DefaultValue>1</DefaultValue>
  434. </AttributeDescripition>
  435. <InnerKey>SYNConventional</InnerKey>
  436. <PathID>1</PathID>
  437. </AttributeInfo>
  438. <AttributeInfo>
  439. <AttributeKey>ConsoleRole</AttributeKey>
  440. <AttributeDescripition>
  441. <Type>int</Type>
  442. <Access>RW</Access>
  443. <RangeMin>0</RangeMin>
  444. <RangeMax>9</RangeMax>
  445. <ListNum>3</ListNum>
  446. <ListInfo>
  447. <List>1</List>
  448. <List>2</List>
  449. <List>3</List>
  450. </ListInfo>
  451. <Required>FALSE</Required>
  452. <DefaultValue>1</DefaultValue>
  453. </AttributeDescripition>
  454. <InnerKey>ConsoleRole</InnerKey>
  455. <PathID>1</PathID>
  456. </AttributeInfo>
  457. </ConfigToolInfo>
  458. </CONFIGURATION>