GEN_HaoWei_DR.xml 15 KB

1
  1. <?xml version="1.0" encoding="utf-8"?> <CONFIGURATION> <ProcType>API</ProcType> <Console>OFF</Console> <Arch>64</Arch> <AutoLoad>ON</AutoLoad> <StartType>2</StartType> <LoadType>MODULE</LoadType> <DRVTYPE>device</DRVTYPE> <LOGLEVEL>1</LOGLEVEL> <logEnable>1</logEnable> <loopEnable>1</loopEnable> <loopTime>2000</loopTime> <DeviceNumber>1</DeviceNumber> <GenCtrlMode>2</GenCtrlMode> <ReConnect>1</ReConnect> <ReConnectTimePeriod>10</ReConnectTimePeriod> <HeartBeatTimePeriod>10</HeartBeatTimePeriod> <MajorID>Generator</MajorID> <MinorID>Dr</MinorID> <VendorID>HaoWei</VendorID> <ProductID>DR</ProductID> <SerialID>1234</SerialID> <GUID>{18FDF176-DECE-445F-A52C-A14BDD3AC2C1}</GUID> <BusId>DevHaoWei</BusId> <connections> <GEN> <type>COM</type> <port>/dev/ttyUSB0</port> <baudrate>19200</baudrate> <bytesize>8</bytesize> <parity>0</parity> <stopbits>2</stopbits> </GEN> </connections> <driver>libNewModelDPC.so</driver> <oemdriver>%ROOT%/OEMDrivers/Generator/HaoWei/libCCOS.Dev.Generator.HaoWei.so</oemdriver> <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.HaoWei.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>