App.config 7.31 KB
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="XingYe_ACS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
  </startup>
  <userSettings>
    <XingYe_ACS.Properties.Settings>
      <setting name="ConactNum" serializeAs="String">
        <value>50</value>
      </setting>
      <setting name="IsTest" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="KeyAreaNum" serializeAs="String">
        <value>1</value>
      </setting>
      <setting name="GsHeight" serializeAs="String">
        <value>18</value>
      </setting>
      <setting name="GsWidth" serializeAs="String">
        <value>18</value>
      </setting>
      <setting name="FullCharge" serializeAs="String">
        <value>98</value>
      </setting>
      <setting name="DangerCharge" serializeAs="String">
        <value>40</value>
      </setting>
      <setting name="SafeCharge" serializeAs="String">
        <value>70</value>
      </setting>
      <setting name="TaskTime" serializeAs="String">
        <value>60</value>
      </setting>
      <setting name="MinCharges" serializeAs="String">
        <value>20</value>
      </setting>
      <setting name="ConSqlM" serializeAs="String">
        <value>Data Source=127.0.0.1;Initial Catalog=T_Middle;Persist Security Info=True;User ID=sa;Password=abc123*</value>
      </setting>
      <setting name="DoorIp1" serializeAs="String">
        <value>192.168.14.111</value>
      </setting>
      <setting name="AgvLength" serializeAs="String">
        <value>1200</value>
      </setting>
      <setting name="S7IP" serializeAs="String">
        <value>192.168.0.1</value>
      </setting>
      <setting name="DoorIp2" serializeAs="String">
        <value>192.168.14.112</value>
      </setting>
      <setting name="ConSql" serializeAs="String">
        <value>server=127.0.0.1;port=3306;user=root;password=abc123*; database=acs_xingye;Character Set=utf8</value>
      </setting>
      <setting name="ServiceIP" serializeAs="String">
        <value>127.0.0.1</value>
	  <!--<value>127.0.0.1</value>-->
      </setting>
      <setting name="ServicePort" serializeAs="String">
        <value>888</value>
      </setting>
	  <setting name="taskWaitTime" serializeAs="String">
		<value>60</value>
	  </setting>
    </XingYe_ACS.Properties.Settings>
  </userSettings>
  <appSettings>
		<add key="WebApiIp" value="http://172.16.220.52:93/ACS/v1" />
		<add key="ToWebApiIp" value="http://127.0.0.1:80/api/IACS" />
		<add key="ClientSettingsProvider.ServiceUri" value="" />
	</appSettings>
  <system.serviceModel>
    <client />
    <behaviors>
      <serviceBehaviors>
        <behavior name="BehaviorModel">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <basicHttpBinding>
        <binding name="BindingModel" />
      </basicHttpBinding>
    </bindings>
    <services>
      <service behaviorConfiguration="BehaviorModel" name="XingYe_ACS.WebService.WCSAbout">
        <endpoint address="http://10.121.44.220:8080/ModelService" binding="basicHttpBinding" bindingConfiguration="BindingModel" name="MyEndPoint" contract="XingYe_ACS.WebService.WCSContract" />
        <host>
          <baseAddresses>
            <add baseAddress="http://10.121.44.220:8080/ModelService" />
          </baseAddresses>
        </host>
      </service>
    </services>
  </system.serviceModel>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.19.0.0" newVersion="3.19.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.8.9.0" newVersion="1.8.9.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Renci.SshNet" publicKeyToken="1cee9f8bde3db106" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2020.0.0.0" newVersion="2020.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-8.0.27.0" newVersion="8.0.27.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>