GEN_PSG_HR.xml 16 KB

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