<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <!--配置信号表的模板表路径-->
    <add key="BasicDataTableFile" value="SIGNAL_MODEL.xlsx" />
    <!--变量模拟测试开关1为开启-->
    <add key="IsDemoMesServer" value="1" />
    <!--是启用写监控报错日志-->
    <add key="IsWriteMonitorLog" value="1" />
    <!--是启用保存监控变量到数据库-->
    <add key="IsRecordTagStatus" value="1" />
    <!--数据库连接-->
    <add key="ConnectionString_MES" value="server=.,1333;User ID=sa;Password=126.com;database=MESBasicDB_XD_ZZ;Connection Reset=FALSE" />
    <!--MQTT参数配置-->
    <!--<add key="MqttUrl" value="172.16.1.5:1883,WEB/InstantMessaging/XD_GLKG/MisServer" />-->
    <add key="MqttUrl" value="127.0.0.1:1883,WEB/InstantMessaging/XD_ZZ/MisServer" />
    <add key="TopicList" value="PLC/InstantMessaging/XD_ZZ/+,PLC|WEB/InstantMessaging/XD_ZZ/MisServer,WEB" />
    <add key="MqttTargetTopic" value="MES/InstantMessaging/XD_ZZ" />
    <!--电阻仪地址-->
    <add key="ResistorDeviceIP_AC0901" value="192.168.10.59" />
    <add key="ResistorDeviceIP_AC0906" value="192.168.10.109" />
	<add key="ResistorDeviceIP_AC0909" value="192.168.10.14" />
	<add key="ResistorDeviceIP_AC2401" value="10.112.111.14" />
	<add key="ResistorDeviceIP_AC0601" value="192.168.10.8" />

	  <add key="ResistorDevicePort" value="8088" />
    <!--实时监控MES在线状态-->
    <add key="Webapi_MesIP" value="10.112.254.40" />
    <!--API端口号-->
	  <add key="WebSvrPort" value="9982" />
	  <add key="upload_Interval" value="10000" />
	  <add key="upload_Interval_error" value="20000" />

	  <add key="WebapiPostHeader_Tenant" value="10000" />
	  <add key="WebapiPostHeader_Language" value="zh-CHS" />
	  <add key="WebapiPostHeader_Authorization" value="Bearer c4a965c1-84e4-764e-9108-7fe66c239b54" />
	  
	  <!--MES_ZHDQ_126GLKG    MES_ZHDQ_126DLQ    MES_ZHDQ_126ZZ-->
	  <add key="WebapiPostHeader_Systemcode" value="MES_ZHDQ_126ZZ" />
		  
	<!--工厂AGV部分-->
	<add key="AGV_BaseUrl" value="http://10.107.68.36:8181" />

	  <!--_物料配送上传接口-->
	  <!--<add key="CallWebApiUrl_CallMaterial" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/materials/distribution" />-->
	  <add key="CallWebApiUrl_CallMaterial" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/materials/distribution" />
	  <!--_器具信息查询接口-->
	  <!--<add key="CallWebApiUrl_DeviceInfoQuery" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/wmsdeliveryinfo/view" />-->
	  <add key="CallWebApiUrl_DeviceInfoQuery" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/wmsdeliveryinfo/view" />
	  <!--_物料信息确认接口-->
	  <!--<add key="callwebapiurl_materialinfoconfirm" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/materialsdistribution/confirm" />-->
	  <add key="CallWebApiUrl_MaterialInfoConfirm" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/materialsdistribution/confirm" />
	  <!--任务开工上传接口-->
	  <!--<add key="CallWebApiUrl_ProcessJobStart" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/dispatchWorkStart" />-->
	  <add key="CallWebApiUrl_ProcessJobStart" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/dispatchWorkStart" />
	  <!--产线报警上传接口-->
	  <!--<add key="CallWebApiUrl_AlarmInfoUpload" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/giveAlarm" />-->
	  <add key="CallWebApiUrl_AlarmInfoUpload" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/giveAlarm" />
	  <!--工序完工上传接口-->
	  <!--<add key="CallWebApiUrl_ProcessJobFinish" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/task/finish" />-->
	  <add key="CallWebApiUrl_ProcessJobFinish" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/task/finish" />
	  <!--任务完工与工时汇报上传接口-->
	  <!--<add key="CallWebApiUrl_TaskFinishedReport" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLineMesService/psorder/finish" />-->
	  <add key="CallWebApiUrl_TaskFinishedReport" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/psorder/finish" />
	  <!--工序转序点对点接口-->
	  <!--<add key="CallWebApiUrl_MaterialTransfer" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDAGVInterfaceService/materials/reorder" />-->
	  <add key="CallWebApiUrl_MaterialTransfer" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDAGVInterfaceService/materials/reorder" />
	    <!--点检结果上传接口-->
	  <add key="CallWebApiUrl_SpotCheckRecordCreate" value="http://10.112.254.40:5200/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/spotcheckRecord/create" />
	  <!--<add key="CallWebApiUrl_SpotCheckRecordCreate" value="http://mes.xkyx.com.cn/api/xkyxmes/xkmesex/v1.0/XDProductionLinemesService/spotcheckRecord/create" />-->
	  <!--缓存位置查询接口-->
	  <add key="materialPositionUr" value="http://10.112.254.40:5200/reportUpload" />
    <!--REST服务-->
    <add key="Url_WebApi" value="http://localhost:9983" />
	 <!-- 检测图片上传根目录 -->
    <add key="XD_CheckImageRootPath" value="D:\XDCheckImages" />
    <!--检测数据上传接口-->
    <add key="OnlineCheckDataUrl" value="http://127.0.0.1:9983/OnlineCheckData" />
    <!--PrintURL-->
    <add key="PrintURL" value="172.16.1.111:9100" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
  </startup>
  <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.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="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.2.2.0" newVersion="4.2.2.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <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>
</configuration>