windows服务,配置程序随系统启动
高胜
2023-03-27 cf310edb65a9e124b2d0da24077fcc9ffbcde8cd
修改提示
10个文件已修改
20 ■■■■■ 已修改文件
RestartService/.vs/RestartService/v14/.suo 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/Monitor/EmqxClientMonitor.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/Monitor/EmqxPushMonitor.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/bin/Release/RestartService.exe 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/bin/Release/RestartService.pdb 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/bin/Release/RestartService.vshost.exe.config 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/obj/Release/RestartService.csproj.GenerateResource.cache 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/obj/Release/RestartService.csprojResolveAssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/obj/Release/RestartService.exe 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/RestartService/obj/Release/RestartService.pdb 补丁 | 查看 | 原始文档 | blame | 历史
RestartService/.vs/RestartService/v14/.suo
Binary files differ
RestartService/RestartService/Monitor/EmqxClientMonitor.cs
@@ -27,14 +27,13 @@
                        if (result.code != 0)
                        {
                            throw new Exception("响应数据异常");
                            throw new Exception("EMQX服务响应异常");
                        }
                        if (result.data.Count == 0)
                        {
                            throw new Exception("响应数据异常");
                            throw new Exception("MQTT重连失败,服务不可用!");
                        }
                        DeviceCacheExCount = 0;
                    }
                    catch (Exception exc)
RestartService/RestartService/Monitor/EmqxPushMonitor.cs
@@ -27,12 +27,12 @@
                        if (result.code != 0)
                        {
                            throw new Exception("响应数据异常");
                            throw new Exception("EMQX服务响应异常");
                        }
                        if (result.data.Count == 0)
                        {
                            throw new Exception("响应数据异常");
                            throw new Exception("MQTT重连失败,服务不可用!");
                        }
                        DeviceCacheExCount = 0;
RestartService/RestartService/bin/Release/RestartService.exe
Binary files differ
RestartService/RestartService/bin/Release/RestartService.pdb
Binary files differ
RestartService/RestartService/bin/Release/RestartService.vshost.exe.config
@@ -2,12 +2,10 @@
<configuration>
  <appSettings>
    <add key="RunAfter" value="MSMQ"/>
    <add key="Servers" value="Server,FtpServer,陈贵军特殊服务器,PushServer,清理工具"/>
    <add key="Server" value="D:\Servers\GateWayServer\Server.exe"/>
    <add key="陈贵军特殊服务器" value="D:\Servers\特殊应用\陈贵军\陈贵军特殊服务器.exe"/>
    <add key="FtpServer" value="D:\Servers\FtpServer\FtpServer.exe"/>
    <add key="PushServer" value="D:\Servers\PushServer\PushServer.exe"/>
    <add key="清理工具" value="D:\FTP\清理工具\清理工具.exe"/>
    <add key="Servers" value="Server,MQTTPush,MQTTPenetrate"/>
    <add key="Server" value="D:\Server(New)\Server.exe"/>
    <add key="MQTTPush" value="D:\MQTTPush\MQTTPush.exe"/>
    <add key="MQTTPenetrate" value="D:\MQTTPenetrate\MQTTPenetrate.exe"/>
@@ -19,6 +17,7 @@
    <add key="SecretKey" value="WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss"/>
    <add key="EmqClientUrl" value="http://15.185.137.39:8081/api/v4/clients/ForeignPenetrateService"/>
    <add key="EmqPushUrl" value="http://15.185.137.39:8081/api/v4/clients/ForeignPenetrateService1"/>
    <add key="EmqAuthToken" value="Basic MmY1ZjEyZmVkYzFlOk16QTVPREE1TURrM056a3pNemt3TWpnMk9EZ3dORGt4TnpJeU1EWTBOVEkzTXpH"/>
    
  </appSettings>
RestartService/RestartService/obj/Release/RestartService.csproj.GenerateResource.cache
Binary files differ
RestartService/RestartService/obj/Release/RestartService.csprojResolveAssemblyReference.cache
Binary files differ
RestartService/RestartService/obj/Release/RestartService.exe
Binary files differ
RestartService/RestartService/obj/Release/RestartService.pdb
Binary files differ