123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467 |
- <?xml version="1.0" encoding="utf-8"?>
- <CONFIGURATION>
- <!--ProcType,MFC/API.default is API-->
- <ProcType>API</ProcType>
- <!--Console,ON/OFF.default is On-->
- <Console>OFF</Console>
- <!--64,32.default is 32-->
- <Arch>64</Arch>
- <!--AutoLoad,ON/OFF.default is OFF-->
- <AutoLoad>ON</AutoLoad>
- <!--0:do nothing,1:load with system,2:load later.default is 0-->
- <StartType>2</StartType>
- <!--PROCESS:load driver in a new process,MODULE:load driver in same process.default is Process-->
- <LoadType>MODULE</LoadType>
- <!--standalone,lead,subsystem,device-->
- <DRVTYPE>device</DRVTYPE>
- <!--1:TRACE,2:DEBUG,3:INFO,4:WARN,5:ERROR,6:FATAL-->
- <LOGLEVEL>1</LOGLEVEL>
-
- <!--1:open log,0:no log-->
- <logEnable>1</logEnable>
- <!--1:open loop,0:close loop-->
- <loopEnable>1</loopEnable>
- <!--loopTime(ms)_for_get_genInfo-->
- <loopTime>2000</loopTime>
-
- <DeviceNumber>1</DeviceNumber><!---->
-
- <!--1:Try Reconnect,0:not try-->
- <ReConnect>1</ReConnect>
- <!--N sec:ReTry connect after last try connect-->
- <ReConnectTimePeriod>10</ReConnectTimePeriod>
-
- <!--N sec:HeartBeatTimePeriod after connect-->
- <HeartBeatTimePeriod>10</HeartBeatTimePeriod>
- <MajorID>Generator</MajorID>
- <MinorID>Dr</MinorID>
- <VendorID>Powersite</VendorID>
- <ProductID>HD210</ProductID>
- <SerialID>1234</SerialID>
- <GUID>{18FDF176-DECE-445F-A52C-A14BDD3AC2C1}</GUID>
- <BusId>DevPSGHD</BusId>
- <connections>
- <GEN>
- <type>COM</type>
- <port>/dev/ttyUSB0</port>
- <baudrate>115200</baudrate>
- <bytesize>8</bytesize>
- <parity>0</parity>
- <stopbits>1</stopbits>
- </GEN>
- </connections>
- <!--dpc-->
- <driver>libNewModelDPC.so</driver>
- <oemdriver>%ROOT%/OEMDrivers/Generator/PSG/PSG_HD/libCCOS.Dev.Generator.PSG_HD.so</oemdriver>
- <!--configuration path,the context format is defined seperately in it's own ways -->
- <!--pass drvresource to DPC::DpcEntry-->
- <WSTable>1</WSTable>
- <WSWall>1</WSWall>
- <WSFree>3</WSFree>
- <WSTomo>3</WSTomo>
- <WSConventional>3</WSConventional>
- <SYNTable>0</SYNTable>
- <SYNWall>0</SYNWall>
- <SYNFree>0</SYNFree>
- <SYNTomo>0</SYNTomo>
- <SYNConventional>0</SYNConventional>
- <ConsoleRole>0</ConsoleRole>
- <IsConnect>1</IsConnect>
- <IsDemo>0</IsDemo>
- <LoadDll>libCCOS.Dev.Generator.PSG_HD.so</LoadDll>
- <ConfigToolInfo>
- <AttributeInfo>
- <AttributeKey>GeneratorVender</AttributeKey>
- <AttributeDescripition>
- <Type>string</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>DEMO</DefaultValue>
- </AttributeDescripition>
- <InnerKey>VendorID</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>port</AttributeKey>
- <AttributeDescripition>
- <Type>string</Type>
- <Access>RW</Access>
- <RangeMin>COM0</RangeMin>
- <RangeMax>COM99</RangeMax>
- <ListNum>9</ListNum>
- <ListInfo>
- <List>COM1</List>
- <List>COM2</List>
- <List>COM3</List>
- <List>COM4</List>
- <List>COM5</List>
- <List>COM6</List>
- <List>COM7</List>
- <List>COM8</List>
- <List>COM9</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>COM1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,port</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>IsConnect</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>IsConnect</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>GeneratorModel</AttributeKey>
- <AttributeDescripition>
- <Type>string</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>HF</DefaultValue>
- </AttributeDescripition>
- <InnerKey>ProductID</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SCFType</AttributeKey>
- <AttributeDescripition>
- <Type>string</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>COM</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,type</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>baudrate</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>1200</RangeMin>
- <RangeMax>1382400</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>19200</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,baudrate</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>bytesize</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>8</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,bytesize</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>parity</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>2</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>0</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,parity</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>stopbits</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>2</RangeMax>
- <ListNum>0</ListNum>
- <ListInfo>
- <List/>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>2</DefaultValue>
- </AttributeDescripition>
- <InnerKey>connections,GEN,stopbits</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>WSTable</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>8</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- <List>4</List>
- <List>5</List>
- <List>6</List>
- <List>7</List>
- <List>8</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>WSTable</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>WSWall</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>8</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- <List>4</List>
- <List>5</List>
- <List>6</List>
- <List>7</List>
- <List>8</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>WSWall</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>WSFree</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>8</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- <List>4</List>
- <List>5</List>
- <List>6</List>
- <List>7</List>
- <List>8</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>3</DefaultValue>
- </AttributeDescripition>
- <InnerKey>WSFree</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>WSTomo</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>8</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- <List>4</List>
- <List>5</List>
- <List>6</List>
- <List>7</List>
- <List>8</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>3</DefaultValue>
- </AttributeDescripition>
- <InnerKey>WSTomo</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>WSConventional</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>8</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- <List>4</List>
- <List>5</List>
- <List>6</List>
- <List>7</List>
- <List>8</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>3</DefaultValue>
- </AttributeDescripition>
- <InnerKey>WSConventional</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SYNTable</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>2</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>SYNTable</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SYNWall</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>2</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>SYNWall</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SYNFree</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>2</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>SYNFree</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SYNTomo</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>100</RangeMax>
- <ListNum>2</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>SYNTomo</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>SYNConventional</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>1</RangeMax>
- <ListNum>2</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>SYNConventional</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- <AttributeInfo>
- <AttributeKey>ConsoleRole</AttributeKey>
- <AttributeDescripition>
- <Type>int</Type>
- <Access>RW</Access>
- <RangeMin>0</RangeMin>
- <RangeMax>9</RangeMax>
- <ListNum>3</ListNum>
- <ListInfo>
- <List>1</List>
- <List>2</List>
- <List>3</List>
- </ListInfo>
- <Required>FALSE</Required>
- <DefaultValue>1</DefaultValue>
- </AttributeDescripition>
- <InnerKey>ConsoleRole</InnerKey>
- <PathID>1</PathID>
- </AttributeInfo>
- </ConfigToolInfo>
- </CONFIGURATION>
|