App.config 3.8 KB
<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<configSections>
		<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
	</configSections>
	<connectionStrings>
		<add name="AGVDataContext" connectionString="data source=.\Config\agv.db" providerName="System.Data.SQLite.EF6" />
	</connectionStrings>
	<startup>
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
	</startup>
	<entityFramework>
		<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
			<parameters>
				<parameter value="mssqllocaldb" />
			</parameters>
		</defaultConnectionFactory>
		<providers>
			<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
			<provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
		</providers>
	</entityFramework>
	<system.data>
		<DbProviderFactories>
			<remove invariant="System.Data.SQLite.EF6" />
			<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite"
	  type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
			<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6"
	   description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
	  type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
		</DbProviderFactories>
	</system.data>
	<appSettings>
		<!--AGV系统标识:NEOTEL-1C,NEOTEL-3D,NEOTEL-3C,NEOTEL-4C,NEOTEL-4D-->
		<add key="AppIdentity" value="NEOTEL" />
		<!--ITS服务器-->
		<add key="ITS" value="10.85.17.233" />
		<!--AGV服务端口-->
		<add key="WebService" value="http://127.0.0.1:8888" />
		<!--云仓服务器端口-->
		<add key="http.server" value="http://10.85.199.25/myproject/" />
		<!--ITS智能物流系统服务端口-->
		<add key="ITS_UpdateLine" value="http://10.85.17.233/ESMTCommonInterface/CommonService.asmx/" />
		<!--电梯控制系统系统服务端口-->
		<add key="Lift_Server" value="http://127.0.0.1:8887/lift/" />
		<!--日志配置文件名-->
		<add key="log4net_configname" value="log4net.config" />
		<!--agv配置文件名-->
		<add key="File_AgvInfo" value="agvinfos.xml" />
		<!--agv任务配置文件名-->
		<add key="File_AgvTaskInfo" value="taskinfos.xml" />
		<!--点位配置文件名-->
		<add key="File_NodeInfo" value="nodeinfos.xml" />
		<!--使用到的电梯名配置名-->
		<add key="Lift_Names" value="LIFT_D2,LIFT_C1" />
		<!--充电最低/最高电量值-->
		<add key="ChargeThreshold" value="20,90" />
		<!--等待人员操作超时时间(分钟)-->
		<add key="WaitTimeout" value="5" />
		<!--停留超时异常上报时间(分钟)-->
		<add key="StandTimeout" value="6" />
		<!--Agv上下文信息文件名-->
		<add key="FileName_AgvContext" value="AgvContext.json" />
		<!--3D放置钢网的地方-->
		<add key="SteelShelfPos" value="SteelShelfPos" />
		<!--AUO接口地址-->
		<add key="AUOServer" value="http://127.0.0.1:8088/AuoAgv/UseElevator" />
	</appSettings>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
				<bindingRedirect oldVersion="0.0.0.0-2.0.12.0" newVersion="2.0.12.0" />
			</dependentAssembly>
		</assemblyBinding>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="RestSharp" publicKeyToken="598062e77f915f75" culture="neutral" />
				<bindingRedirect oldVersion="0.0.0.0-106.11.4.0" newVersion="106.11.4.0" />
			</dependentAssembly>
		</assemblyBinding>
	</runtime>
</configuration>