SINOmini.xml 13 KB

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