1
czw
2025-07-07 10791386189bc9382fbcb9e8819cd80c6e708976
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework" />
    </configSections>
    <connectionStrings>
    </connectionStrings>
    <entityFramework>
        <providers>
        </providers>
    </entityFramework>
    <appSettings>
        <!--启动实例数量限制-->
        <add key="InstanceLimit" value="1" />
        <!--是否自动启动PLC(1是,0否)-->
        <add key="AutoRunPlc" value="1" />
        <!--Redis服务地址-->
        <add key="RedisServerSession" value="127.0.0.1:6379" />
        <!--Redis读取池-->
        <add key="RedisMaxReadPool" value="3" />
        <!--Redis写入池-->
        <add key="RedisMaxWritePool" value="1" />
        <!--是否自动启动PLC(1是,0否)-->
        <add key="AutoRunPLC" value="1" />
        <!--MongoConnStr-->
        <add key="MongoConnStr" value="mongodb://localhost:27017?connectTimeoutMS=3000&amp;socketTimeoutMS=5000" />
        <!--MongoDb-->
        <add key="MongoDb" value="HnSx" />
        <!--MongoDb_PLC-->
        <add key="MongoDb_PLC" value="HnSx_PLC" />
        <!--Redis数据库-->
        <add key="RedisDefaultDb" value="DB0" />
        <!--默认语言-->
        <add key="Lang" value="" />
    </appSettings>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
            </basicHttpBinding>
        </bindings>
        <client />
        <services>
            <service name="MyServices">
                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
                <host>
                    <baseAddresses>
                    </baseAddresses>
                </host>
            </service>
        </services>
        <behaviors>
            <serviceBehaviors>
                <behavior>
                    <serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
                    <serviceDebug includeExceptionDetailInFaults="False" />
                </behavior>
            </serviceBehaviors>
        </behaviors>
    </system.serviceModel>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-9.0.0.6" newVersion="9.0.0.6" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>