<?xml version="1.0" encoding="utf-8"?>
<!-- 
PLC设备模型配置文件

重要说明：
1. ConnectionType 枚举值定义：
   0 = TCP链接 (Tcp)
   1 = 串口连接 (Serial)
   2 = CAN线连接 (CanBus)

2. DevWorkMode 枚举值定义：
   0 = 无模式 (None)
   1 = 路由模式 (RoutingMode)
   2 = 编程模式 (ProgramMode)
   3 = 网关模式 (GatewayMode)
   4 = GCAN-8121模式 (Gcan-8121)
-->

<PlcModelInfos>

	<!-- 
    GCAN-8121设备配置 - CAN总线连接
    参数说明:
      Model: 设备型号标识符
      FormType: 配置窗口的完整类型名
      ChannelCount: 通道数量
      ClockSpeed: 时钟频率(MHz)
      ConnectionType: 连接类型（数值表示）
      DevWorkMode: 工作模式（数值表示）
  -->
	<PlcModelInfo>
		<Model>GCAN-GT-8121</Model>
		<FormType>PlcConfigurationTool.GCAN8121.GCAN8121Config, GCANbox</FormType>
		<ChannelCount>1</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>2</ConnectionType>
		<DevWorkMode>4</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-246</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN246Config, GCANbox</FormType>
		<ChannelCount>4</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>1</ConnectionType>
		<DevWorkMode>1</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418GT-3</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>3</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>1</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418R-3</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>3</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>3</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418GT-6</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>6</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>1</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418R-6</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>6</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>3</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418GT-9</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>9</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>1</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-418R-9</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN418Config, GCANbox</FormType>
		<ChannelCount>9</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>3</DevWorkMode>
	</PlcModelInfo>

	<PlcModelInfo>
		<Model>GCAN-GT-232</Model>
		<FormType>PlcConfigurationTool.ConfigTemplates.GCAN232Config, GCANbox</FormType>
		<ChannelCount>2</ChannelCount>
		<ClockSpeed>200</ClockSpeed>
		<ConnectionType>0</ConnectionType>
		<DevWorkMode>3</DevWorkMode>
	</PlcModelInfo>

	<!-- 
  添加新设备示例：
  <PlcModelInfo>
    <Model>NEW-MODEL</Model>
    <FormType>PlcConfigurationTool.ConfigTemplates.NewModelConfig, GCANbox</FormType>
    <ChannelCount>4</ChannelCount>
    <ClockSpeed>200</ClockSpeed>
    <ConnectionType>2</ConnectionType>
    <DevWorkMode>0</DevWorkMode>
  </PlcModelInfo>
  -->

</PlcModelInfos>