first commit
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<!--//日志配置 开启日志-->
|
||||
<add key="EnableLogging" value="true" />
|
||||
<!--//日志配置 日志存储周期 默认30天-->
|
||||
<add key="LogRetentionDays" value="30" />
|
||||
<!--//日志配置 日志存储路径 暂未使用,存储在跟目录-->
|
||||
<add key="LogDirectory" value="D:\APILog\MQTTService" />
|
||||
<!--//日志配置 按日存储-->
|
||||
<add key="LogSplitStrategy" value="ByDay" />
|
||||
<!--//日志配置 存储文件大小-->
|
||||
<add key="MaxLogFileSizeBytes" value="10485760" />
|
||||
<!--//PLC IP地址 192.168.1.50-->
|
||||
<add key="PlcIpAddress" value="192.168.1.50" />
|
||||
<!--//PLC 端口-->
|
||||
<add key="PlcPort" value="9600" />
|
||||
<!--//MQTT服务器IP地址 10.22.160.144-->
|
||||
<add key="MQTTServerAddress" value="10.22.160.144" />
|
||||
<!--//MQTT服务器端口-->
|
||||
<add key="MQTTServerPort" value="1883" />
|
||||
<!--//MQTT服务器发布ID-->
|
||||
<add key="ClientId" value="601UPW01" />
|
||||
<!--//MQTT服务发布主题PPM-->
|
||||
<add key="Topic" value="EVE/60J/EQP/NEW_PPM/601UPW01" />
|
||||
<!--PPM其他数据-->
|
||||
<add key="Topic1" value="eve/60J/EQP/601UPW01"/>
|
||||
<!--直角坐标机械臂-->
|
||||
<add key="LRobotTopic" value="EVE/60J/LRobot/601PWM01_LUR01"/>
|
||||
<!--关节机械臂-->
|
||||
<add key="JRobotTopic" value="EVE/60J/JRobot/601PWM01_STR01"/>
|
||||
<!--//参数设置 事业部-->
|
||||
<add key="BU_id" value="EVE2BU" />
|
||||
<!--//参数设置 地区-->
|
||||
<add key="District_id" value="JM" />
|
||||
<!--//参数设置 工厂-->
|
||||
<add key="Factory_id" value="60J" />
|
||||
<!--//参数设置 线体号-->
|
||||
<add key="Production_line_id" value="MW-601" />
|
||||
<!--//参数设置 设备编号-->
|
||||
<add key="Device_name" value="601UPW01" />
|
||||
<!--//线程循环间隔 ms单位-->
|
||||
<add key="ThreadInterval" value="50" />
|
||||
<add key="SwitchLog" value="True" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
</appSettings>
|
||||
<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>
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
正在开始卸载。
|
||||
查看日志文件的内容以获得 D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
|
||||
卸载完成。
|
||||
|
||||
正在运行事务处理安装。
|
||||
|
||||
正在开始安装的“安装”阶段。
|
||||
查看日志文件的内容以获得 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
|
||||
“安装”阶段已成功完成,正在开始“提交”阶段。
|
||||
查看日志文件的内容以获得 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
|
||||
“提交”阶段已成功完成。
|
||||
|
||||
已完成事务处理安装。
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,344 @@
|
||||
正在安装程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
正在安装程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestService1。
|
||||
正在从系统中移除服务 TestService1...
|
||||
已成功地从系统中移除服务 TestService1。
|
||||
正在安装程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = E:\CSharp Project\Other\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestService1。
|
||||
正在从系统中移除服务 TestService1...
|
||||
已成功地从系统中移除服务 TestService1。
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestService1。
|
||||
正在从系统中移除服务 TestService1...
|
||||
已成功地从系统中移除服务 TestService1。
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestService1。
|
||||
正在从系统中移除服务 TestService1...
|
||||
已成功地从系统中移除服务 TestService1。
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestService1。
|
||||
正在从系统中移除服务 TestService1...
|
||||
已成功地从系统中移除服务 TestService1。
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestService1...
|
||||
已成功安装服务 TestService1。
|
||||
正在日志 Application 中创建 EventLog 源 TestService1...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
已成功安装服务 TestMqttService。
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
已成功安装服务 TestMqttService。
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
查看日志文件的内容以获得 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在安装程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
警告: 源 TestMqttService 未在本地计算机上注册。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
警告: 源 TestMqttService 未在本地计算机上注册。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在卸载程序集“D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\C# Windows 服务程序的开发\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
警告: 源 TestMqttService 未在本地计算机上注册。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在安装程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在安装服务 TestMqttService...
|
||||
已成功安装服务 TestMqttService。
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在提交程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
在卸载 System.Diagnostics.EventLogInstaller 安装程序的过程中发生异常。
|
||||
System.Security.SecurityException: 不允许所请求的注册表访问权。
|
||||
在卸载的过程中发生异常。将忽略该异常并继续卸载。但是,在卸载完成之后应用程序可能未完全卸载。
|
||||
正在安装程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在安装服务 TestMqttService...
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在回滚程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在将事件日志还原到源 TestMqttService 的前一状态。
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在安装程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在安装服务 TestMqttService...
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在回滚程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在将事件日志还原到源 TestMqttService 的前一状态。
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
警告: 源 TestMqttService 未在本地计算机上注册。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
警告: 源 TestMqttService 未在本地计算机上注册。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在安装程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在安装服务 TestMqttService...
|
||||
已成功安装服务 TestMqttService。
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
正在提交程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
i =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logtoconsole =
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在安装程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在安装服务 TestMqttService...
|
||||
已成功安装服务 TestMqttService。
|
||||
正在日志 Application 中创建 EventLog 源 TestMqttService...
|
||||
查看日志文件的内容以获得 D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe 程序集的进度。
|
||||
该文件位于 D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog。
|
||||
正在提交程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
正在卸载程序集“D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
assemblypath = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = D:\小米\WindowsService1\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
正在移除 EventLog 源 TestMqttService。
|
||||
正在从系统中移除服务 TestMqttService...
|
||||
已成功地从系统中移除服务 TestMqttService。
|
||||
尝试停止服务 TestMqttService。
|
||||
正在安装程序集“C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
assemblypath = C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
没有 RunInstallerAttribute.Yes 的公共安装程序。在 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe 程序集中应该可以找到“Yes”特性。
|
||||
正在提交程序集“C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe”。
|
||||
受影响的参数是:
|
||||
logtoconsole =
|
||||
assemblypath = C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe
|
||||
logfile = C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.InstallLog
|
||||
没有 RunInstallerAttribute.Yes 的公共安装程序。在 C:\Users\aa\Desktop\WindowsService1\bin\Debug\WindowsService1.exe 程序集中应该可以找到“Yes”特性。
|
||||
没有安装程序,因此移除 InstallState 文件。
|
||||
Binary file not shown.
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<!--//日志配置 开启日志-->
|
||||
<add key="EnableLogging" value="true" />
|
||||
<!--//日志配置 日志存储周期 默认30天-->
|
||||
<add key="LogRetentionDays" value="30" />
|
||||
<!--//日志配置 日志存储路径 暂未使用,存储在跟目录-->
|
||||
<add key="LogDirectory" value="D:\APILog\MQTTService" />
|
||||
<!--//日志配置 按日存储-->
|
||||
<add key="LogSplitStrategy" value="ByDay" />
|
||||
<!--//日志配置 存储文件大小-->
|
||||
<add key="MaxLogFileSizeBytes" value="10485760" />
|
||||
<!--//PLC IP地址 192.168.1.50-->
|
||||
<add key="PlcIpAddress" value="192.168.1.50" />
|
||||
<!--//PLC 端口-->
|
||||
<add key="PlcPort" value="9600" />
|
||||
<!--//MQTT服务器IP地址 10.22.160.144-->
|
||||
<add key="MQTTServerAddress" value="10.22.160.144" />
|
||||
<!--//MQTT服务器端口-->
|
||||
<add key="MQTTServerPort" value="1883" />
|
||||
<!--//MQTT服务器发布ID-->
|
||||
<add key="ClientId" value="601UPW01" />
|
||||
<!--//MQTT服务发布主题PPM-->
|
||||
<add key="Topic" value="EVE/60J/EQP/NEW_PPM/601UPW01" />
|
||||
<!--PPM其他数据-->
|
||||
<add key="Topic1" value="eve/60J/EQP/601UPW01"/>
|
||||
<!--直角坐标机械臂-->
|
||||
<add key="LRobotTopic" value="EVE/60J/LRobot/601PWM01_LUR01"/>
|
||||
<!--关节机械臂-->
|
||||
<add key="JRobotTopic" value="EVE/60J/JRobot/601PWM01_STR01"/>
|
||||
<!--//参数设置 事业部-->
|
||||
<add key="BU_id" value="EVE2BU" />
|
||||
<!--//参数设置 地区-->
|
||||
<add key="District_id" value="JM" />
|
||||
<!--//参数设置 工厂-->
|
||||
<add key="Factory_id" value="60J" />
|
||||
<!--//参数设置 线体号-->
|
||||
<add key="Production_line_id" value="MW-601" />
|
||||
<!--//参数设置 设备编号-->
|
||||
<add key="Device_name" value="601UPW01" />
|
||||
<!--//线程循环间隔 ms单位-->
|
||||
<add key="ThreadInterval" value="50" />
|
||||
<add key="SwitchLog" value="True" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
</appSettings>
|
||||
<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>
|
||||
Binary file not shown.
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
</configSections>
|
||||
<log4net>
|
||||
<!-- 错误日志类 -->
|
||||
<logger name="logerror">
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ErrorAppender" />
|
||||
</logger>
|
||||
<!-- 信息日志类 -->
|
||||
<logger name="loginfo">
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="InfoAppender" />
|
||||
</logger>
|
||||
<!-- MQTT日志类 -->
|
||||
<logger name="logmqtt">
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="MqttAppender" />
|
||||
</logger>
|
||||
|
||||
<!-- MQTT日志附加介质 -->
|
||||
<appender name="MqttAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<param name="File" value="Log\\LogMqtt\\" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="StaticLogFileName" value="false" />
|
||||
<param name="RollingStyle" value="Composite" />
|
||||
<param name="DatePattern" value="'\\\\' yyyyMMdd'\\\\log_'HH'.htm'" />
|
||||
<param name="LockingModel" type="log4net.Appender.FileAppender+MinimalLock" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="<HR COLOR=blue>%n日志时间:%d [%t] <BR>%n日志级别:%-5p <BR>%n日 志 类:%c [%x] <BR>%n%m <BR>%n <HR Size=1>" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- 错误日志附加介质 -->
|
||||
<appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<param name="File" value="Log\\LogError\\" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="StaticLogFileName" value="false" />
|
||||
<param name="RollingStyle" value="Composite" />
|
||||
<param name="DatePattern" value="'\\\\' yyyyMMdd'\\\\log_'HH'.htm'" />
|
||||
<param name="LockingModel" type="log4net.Appender.FileAppender+MinimalLock" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="<HR COLOR=red>%n异常时间:%d [%t] <BR>%n异常级别:%-5p <BR>%n异 常 类:%c [%x] <BR>%n%m <BR>%n <HR Size=1>" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- 信息日志附加介质 -->
|
||||
<appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<param name="File" value="Log\\LogInfo\\" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="StaticLogFileName" value="false" />
|
||||
<param name="RollingStyle" value="Composite" />
|
||||
<param name="DatePattern" value="'\\\\' yyyyMMdd'\\\\log_'HH'.htm'" />
|
||||
<param name="LockingModel" type="log4net.Appender.FileAppender+MinimalLock" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="<HR COLOR=blue>%n日志时间:%d [%t] <BR>%n日志级别:%-5p <BR>%n日 志 类:%c [%x] <BR>%n%m <BR>%n <HR Size=1>" />
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
net stop TestMqttService
|
||||
pause
|
||||
@@ -0,0 +1,3 @@
|
||||
net stop TestMqttService
|
||||
sc delete TestMqttService binPath= "%~dp0JDWindowsService.exe" start= auto
|
||||
pause
|
||||
@@ -0,0 +1,3 @@
|
||||
sc create TestMqttService binPath= "%~dp0WindowsService1.exe" start= auto
|
||||
net start TestMqttService
|
||||
pause
|
||||
Reference in New Issue
Block a user