You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

54 lines
2.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!--数据库连接-->
<add key="ConnectionString" value="server=101.201.121.115;uid=sa;pwd=Leit2020;database=YF_X247" />
<!--默认启动IP地址-->
<add key="DefaultPlcIp" value="127.0.0.1" />
<!--连接PLC超时时间-->
<add key="PlcConnectTimeOut" value="2000" />
<!--读写PLC超时时间-->
<add key="ReceiveTimeOut" value="1500" />
<!--事件单次读取数据字节最大值 -->
<add key="ReadByteCount" value="450" />
<!--单个线程最大事件组数量-->
<add key="EveryEventCount" value="1" />
<!--每次循环Sleep时间-->
<add key="TagEventSleepTime" value="50" />
<!--PLC通讯组件的dll路径-->
<add key="PlcComFolderPath" value="D:\MyWork\Developement\MirrorBox\MirrorBox\MirrorBox\bin\Debug\" />
<!--PLC通讯组件类名-->
<add key="PlcComClassName" value="Aborlen.Opc.HslHelper.SiemensPlc" />
<!--PLC通讯组件Ip地址-->
<add key="PlcComIpAddress" value="192.168.1.227" />
<!--PLC型号-->
<add key="PlcType" value="50" />
<!--事件服务重启时间-->
<add key="ServerReworkTime" value="60000" />
<!--服务端接收数据端口号-->
<add key="UdpReceivePort" value="59604" />
<!--发送数据端口号-->
<add key="UdpSendPort" value="59603" />
<!--向前端发送消息 发布消息端口号-->
<add key="MqPubPort" value="59600" />
<!--接收前端请求的端口号-->
<add key="ResponsePort" value="59601" />
<!--服务端Ip地址-->
<add key="ServerIp" value="192.168.0.63" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</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>
</assemblyBinding>
</runtime>
</configuration>