OPCInstall/bin/Debug/Service/OPCWindowsService.vshost.exe.config

(完整代码) 1KB

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <connectionStrings>
    <add name="conString" connectionString="Server=.;database=OPC_DB;uid=sa;pwd=156239749"/>
  </connectionStrings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  </startup>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <services>
      <service name="OPCWindowsService.OPCService">
        <endpoint address="" binding="basicHttpBinding" contract="OPCWindowsService.IOPCService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="http://192.168.1.254:8733/OPCService/" />
          </baseAddresses>
        </host>
      </service>
    </services>
  </system.serviceModel>
  <appSettings>
    <add key="serverURL" value="opc.tcp://192.168.1.254:49320"/>
    <add key="serverNamespace" value="KEPServerEX"/>
    <add key="IPAddress" value="192.168.1.254"/>
    <add key="AutoRun" value="True"/>
  </appSettings>
</configuration>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。