<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler,Castle.Windsor" />
<!--<section name="activerecord" type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord"/>-->
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SmartGPS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<!--<activerecord>
<config>
<add key="connection.driver_class" value="NHibernate.Driver.MySqlDataDriver"/>
<add key="dialect" value="NHibernate.Dialect.MySQL5Dialect"/>
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="connection.connection_string" value="server=127.0.0.1;user id=root;database=smartgps;Password=123456"/>
<add key="proxyfactory.factory_class" value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle"/>
<add key="hbm2ddl.keywords" value="none"/>
</config>
</activerecord>-->
<userSettings>
<SmartGPS.Properties.Settings>
<setting name="localhost" serializeAs="String">
<value>127.0.0.1</value>
</setting>
<setting name="port" serializeAs="String">
<value>1100</value>
</setting>
<setting name="userSockAsync" serializeAs="String">
<value>False</value>
</setting>
</SmartGPS.Properties.Settings>
</userSettings>
<castle>
<facilities>
<facility id="facility.activerecord"
type="Castle.Facilities.ActiveRecordIntegration.ActiveRecordFacility, Castle.Facilities.ActiveRecordIntegration"
useReflectionOptimizer="false"
isWeb="false" >
<assemblies>
<!--The name of the assembly that includes domain objects-->
<item>SmartGPS.Service</item>
</assemblies>
<config>
<add key="connection.driver_class" value="NHibernate.Driver.MySqlDataDriver"/>
<add key="dialect" value="NHibernate.Dialect.MySQL5Dialect"/>
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="connection.connection_string" value="server=127.0.0.1;user id=root;database=smartgps;Password=123456"/>
<add key="proxyfactory.factory_class" value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle"/>
<add key="hbm2ddl.keywords" value="none"/>
</config>
</facility>
<!--<facility id="transaction" type=" Castle.Facilities.ActiveRecordIntegration.ActiveRecordFacility , Castle.Facilities.ActiveRecordIntegration
" />-->
<facility id="transaction" type="Castle.Facilities.AutoTx.TransactionFacility, Castle.Facilities.AutoTx">
</facility>
</facilities>
<components>
<component
id="nodeStateService"
type="SmartGPS.Service.NodeStateService, SmartGPS.Service"
isTransactional="true" >
<transaction>
<method name="AddNodeState" />
</transaction>
</component>
</components>
</castle>
</configuration>
<configuration>
<configSections>
<section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler,Castle.Windsor" />
<!--<section name="activerecord" type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord"/>-->
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SmartGPS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<!--<activerecord>
<config>
<add key="connection.driver_class" value="NHibernate.Driver.MySqlDataDriver"/>
<add key="dialect" value="NHibernate.Dialect.MySQL5Dialect"/>
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="connection.connection_string" value="server=127.0.0.1;user id=root;database=smartgps;Password=123456"/>
<add key="proxyfactory.factory_class" value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle"/>
<add key="hbm2ddl.keywords" value="none"/>
</config>
</activerecord>-->
<userSettings>
<SmartGPS.Properties.Settings>
<setting name="localhost" serializeAs="String">
<value>127.0.0.1</value>
</setting>
<setting name="port" serializeAs="String">
<value>1100</value>
</setting>
<setting name="userSockAsync" serializeAs="String">
<value>False</value>
</setting>
</SmartGPS.Properties.Settings>
</userSettings>
<castle>
<facilities>
<facility id="facility.activerecord"
type="Castle.Facilities.ActiveRecordIntegration.ActiveRecordFacility, Castle.Facilities.ActiveRecordIntegration"
useReflectionOptimizer="false"
isWeb="false" >
<assemblies>
<!--The name of the assembly that includes domain objects-->
<item>SmartGPS.Service</item>
</assemblies>
<config>
<add key="connection.driver_class" value="NHibernate.Driver.MySqlDataDriver"/>
<add key="dialect" value="NHibernate.Dialect.MySQL5Dialect"/>
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="connection.connection_string" value="server=127.0.0.1;user id=root;database=smartgps;Password=123456"/>
<add key="proxyfactory.factory_class" value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle"/>
<add key="hbm2ddl.keywords" value="none"/>
</config>
</facility>
<!--<facility id="transaction" type=" Castle.Facilities.ActiveRecordIntegration.ActiveRecordFacility , Castle.Facilities.ActiveRecordIntegration
" />-->
<facility id="transaction" type="Castle.Facilities.AutoTx.TransactionFacility, Castle.Facilities.AutoTx">
</facility>
</facilities>
<components>
<component
id="nodeStateService"
type="SmartGPS.Service.NodeStateService, SmartGPS.Service"
isTransactional="true" >
<transaction>
<method name="AddNodeState" />
</transaction>
</component>
</components>
</castle>
</configuration>