﻿<?xml version="1.0" encoding="utf-8"?>
<DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!--<Types namespace="std"></Types>-->
  <Types namespace="localtype">
	  <BitfieldType basetype="std:BYTE" name="TBit1Byte">
		  <Component identifier="Bit0" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit0">BIT0</VisibleName>
		  </Component>
		  <Component identifier="Bit1" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit1">BIT1</VisibleName>
		  </Component>
		  <Component identifier="Bit2" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit2">BIT2</VisibleName>
		  </Component>
		  <Component identifier="Bit3" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit3">BIT3</VisibleName>
		  </Component>
		  <Component identifier="Bit4" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit4">BIT4</VisibleName>
		  </Component>
		  <Component identifier="Bit5" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit5">BIT5</VisibleName>
		  </Component>
		  <Component identifier="Bit6" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit6">BIT6</VisibleName>
		  </Component>
		  <Component identifier="Bit7" type="std:BOOL">
			<Default />
			<VisibleName name="localtype:TBit1Byte.Bit7">BIT7</VisibleName>
		  </Component>
	  </BitfieldType>	  
  </Types>

	<File fileref="local" identifier="image_io">
		<LocalFile>M7001.gif</LocalFile>
	</File>

  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>40310</Type>
      <Id>10ad 7001</Id>	<!-- vendor code : 10ad / module id : 7001 -->
      <Version>1.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">M7001</Name>
      <Description name="local:DeviceDescription">Expansion Power, Input 24Vdc, Output 2.0A/5Vdc, ID Type</Description>
      <Vendor name="local:VendorName">CREVIS CO.,LTD</Vendor>
      <OrderNumber>M7001</OrderNumber>
	  <Image name="local:image_io">M7001.gif</Image>
    </DeviceInfo>
    <!--Connector moduleType="257" interface="Common.PCI" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">PCI-Bus</InterfaceName>
      <Slot count="1" allowEmpty="false"></Slot>
    </Connector-->
    <Connector moduleType="47000" interface="CVS.OptionM" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">CVSOption</InterfaceName>
      <Slot count="1" allowEmpty="false"></Slot>
    </Connector>
    <Connector moduleType="40310" interface="MyCompany:Internal" role="parent" explicit="false" connectorId="2" hostpath="1">
      <InterfaceName name="local:DP">Power IOs</InterfaceName>
      <Var max="8"></Var>
      <DriverInfo needsBusCycle="true"></DriverInfo>
      <HostParameterSet>
		<Parameter ParameterId="1000" type="localtype:TBit1Byte">
		  <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in0">IN0</Name>        
		</Parameter>	
		  <Parameter type="std:STRING" ParameterId="393218">
		  <Attributes onlineaccess="read" offlineaccess="read" functional="false" download="true" channel="none"/>
		  <Default>'CREVIS'</Default>
		  <Name name="local:Id393218">Vendor</Name>
		  <Description name="local:Id393218.Desc">Vendor of the device</Description>
		</Parameter>	
		<Parameter type="std:STRING" ParameterId="393219">
		  <Attributes onlineaccess="read" offlineaccess="read" functional="false" download="true" channel="none"/>
		  <Default>'7001'</Default>
		  <Name name="local:Id393219">Catalog Number</Name>
		  <Description name="local:Id393219.Desc">Catalog Number of the device</Description>
		</Parameter>
      </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>
