yandaniu 1 day ago
parent
commit
e3be2c35f1
100 changed files with 4712 additions and 544 deletions
  1. BIN
      .vs/ProjectEvaluation/ropin.inspection.api.metadata.v6.1
  2. BIN
      .vs/ProjectEvaluation/ropin.inspection.api.metadata.v7.bin
  3. BIN
      .vs/ProjectEvaluation/ropin.inspection.api.projects.v6.1
  4. BIN
      .vs/ProjectEvaluation/ropin.inspection.api.projects.v7.bin
  5. BIN
      .vs/Ropin.Inspection.Api/DesignTimeBuild/.dtbcache.v2
  6. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/0dab73f6-93d5-4970-a9e8-2090322e30c2.vsidx
  7. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/22cab696-a827-44f2-9404-689fd237340c.vsidx
  8. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/2d03c03c-2555-4bd1-a292-52e580adf2e6.vsidx
  9. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/48522230-6a25-414e-9cd1-8b6a39a95356.vsidx
  10. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/66921e8f-d58c-4310-9945-fc3469cc0f29.vsidx
  11. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/72af36d8-a8ba-41e5-ad11-f1b767fee7a3.vsidx
  12. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/7f02d622-7ee6-4c49-9019-84ec6e560b51.vsidx
  13. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/8746401a-d6c0-4645-b14e-5f76724f0e5e.vsidx
  14. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/9047e244-875e-46b5-b07a-ee9b99da2ff4.vsidx
  15. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/99cf4c89-6f05-4110-81ad-a06cdfcae612.vsidx
  16. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/9eaf3ec7-a104-4f9e-bc1e-3ed7760dc957.vsidx
  17. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/a68678a8-2980-42ab-aa28-4e73cca27cc0.vsidx
  18. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/aacd4045-d341-4a09-891d-f19ab5a41a15.vsidx
  19. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/b78b68ec-f1f1-4205-b96c-c9895de6df3a.vsidx
  20. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/b8adb285-c71c-4926-9c5b-d57341c0b0b1.vsidx
  21. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/bd7015a5-9762-4f6e-8105-68dd54ae8250.vsidx
  22. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/f308ca90-56cb-4b35-8f09-e1ecb77d3451.vsidx
  23. BIN
      .vs/Ropin.Inspection.Api/v17/.futdcache.v2
  24. BIN
      .vs/Ropin.Inspection.Api/v17/.suo
  25. 179 69
      .vs/Ropin.Inspection.Api/v17/DocumentLayout.json
  26. BIN
      Ropin.Core.Extensions/obj/Debug/net5.0/Ropin.Core.Extensions.csproj.AssemblyReference.cache
  27. BIN
      Ropin.Environmentally.AlarmService/obj/Debug/net5.0/Ropin.Environmentally.AlarmService.csproj.AssemblyReference.cache
  28. BIN
      Ropin.Environmentally.DcsService/obj/Debug/net5.0/Ropin.Environmentally.DcsService.csproj.AssemblyReference.cache
  29. BIN
      Ropin.Environmentally.LedgeService1/obj/Debug/net5.0/Ropin.Environmentally.LedgeService1.csproj.AssemblyReference.cache
  30. 11 1
      Ropin.Environmentally.VideoService/appsettings.Production.json
  31. 11 1
      Ropin.Environmentally.VideoService/appsettings.Staging.json
  32. BIN
      Ropin.Environmentally.VideoService/obj/Debug/net5.0/Ropin.Environmentally.VideoService.csproj.AssemblyReference.cache
  33. 1 0
      Ropin.Environmentally.WebScada/Ropin.Environmentally.WebScada.csproj
  34. 3 3
      Ropin.Environmentally.WebScada/appsettings.Development.json
  35. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/AdysTech.InfluxDB.Client.Net.dll
  36. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Core.Extensions.dll
  37. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Core.Extensions.pdb
  38. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.Views.dll
  39. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.Views.pdb
  40. 41 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.deps.json
  41. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.dll
  42. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.pdb
  43. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Common.dll
  44. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Common.pdb
  45. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Model.dll
  46. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Model.pdb
  47. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Repository.dll
  48. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Repository.pdb
  49. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Service.dll
  50. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Service.pdb
  51. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Tasks.dll
  52. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Tasks.pdb
  53. BIN
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ulid.dll
  54. 3 3
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/appsettings.Development.json
  55. 0 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250828.txt
  56. 0 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250828_error.txt
  57. 46 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250829.txt
  58. 0 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250829_error.txt
  59. 0 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202509/20250912.txt
  60. 0 0
      Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202509/20250912_error.txt
  61. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.Views.dll
  62. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.Views.pdb
  63. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.assets.cache
  64. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.AssemblyReference.cache
  65. 1 1
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.CoreCompileInputs.cache
  66. 2 0
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.FileListAbsolute.txt
  67. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.dll
  68. BIN
      Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.pdb
  69. 4 0
      Ropin.Environmentally.WebScada/obj/Ropin.Environmentally.WebScada.csproj.nuget.dgspec.json
  70. 39 1
      Ropin.Environmentally.WebScada/obj/project.assets.json
  71. 14 2
      Ropin.Environmentally.WebScada/obj/project.nuget.cache
  72. BIN
      Ropin.IOT.MLService/AccidentPredictionModel.zip
  73. 234 1
      Ropin.IOT.MLService/Controllers/WeatherForecastController.cs
  74. 188 1
      Ropin.IOT.MLService/Program.cs
  75. 3 1
      Ropin.IOT.MLService/Ropin.IOT.MLService.csproj
  76. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/AdysTech.InfluxDB.Client.Net.dll
  77. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.Common.dll
  78. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.InfluxDb.dll
  79. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.Kapacitor.dll
  80. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.dll
  81. 630 62
      Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.deps.json
  82. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.dll
  83. BIN
      Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.pdb
  84. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.assets.cache
  85. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.AssemblyReference.cache
  86. 1 1
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.CoreCompileInputs.cache
  87. 5 0
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.FileListAbsolute.txt
  88. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.dll
  89. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.pdb
  90. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/ref/Ropin.IOT.MLService.dll
  91. BIN
      Ropin.IOT.MLService/obj/Debug/net5.0/refint/Ropin.IOT.MLService.dll
  92. 8 0
      Ropin.IOT.MLService/obj/Ropin.IOT.MLService.csproj.nuget.dgspec.json
  93. 3223 394
      Ropin.IOT.MLService/obj/project.assets.json
  94. 65 3
      Ropin.IOT.MLService/obj/project.nuget.cache
  95. BIN
      Ropin.IOT.MqttService/obj/Debug/net5.0/Ropin.IOT.MqttService.csproj.AssemblyReference.cache
  96. BIN
      Ropin.IOT.MsgService/obj/Debug/net5.0/Ropin.IOT.MsgService.csproj.AssemblyReference.cache
  97. BIN
      Ropin.Inspection.Api/obj/Debug/net5.0/Ropin.Inspection.Api.csproj.AssemblyReference.cache
  98. BIN
      Ropin.Inspection.Common/obj/Debug/net5.0/Ropin.Inspection.Common.csproj.AssemblyReference.cache
  99. BIN
      Ropin.Inspection.Model/bin/Debug/net5.0/Ropin.Inspection.Common.dll
  100. BIN
      Ropin.Inspection.Model/bin/Debug/net5.0/Ropin.Inspection.Common.pdb

BIN
.vs/ProjectEvaluation/ropin.inspection.api.metadata.v6.1


BIN
.vs/ProjectEvaluation/ropin.inspection.api.metadata.v7.bin


BIN
.vs/ProjectEvaluation/ropin.inspection.api.projects.v6.1


BIN
.vs/ProjectEvaluation/ropin.inspection.api.projects.v7.bin


BIN
.vs/Ropin.Inspection.Api/DesignTimeBuild/.dtbcache.v2


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/0dab73f6-93d5-4970-a9e8-2090322e30c2.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/22cab696-a827-44f2-9404-689fd237340c.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/2d03c03c-2555-4bd1-a292-52e580adf2e6.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/48522230-6a25-414e-9cd1-8b6a39a95356.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/66921e8f-d58c-4310-9945-fc3469cc0f29.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/72af36d8-a8ba-41e5-ad11-f1b767fee7a3.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/7f02d622-7ee6-4c49-9019-84ec6e560b51.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/8746401a-d6c0-4645-b14e-5f76724f0e5e.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/9047e244-875e-46b5-b07a-ee9b99da2ff4.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/99cf4c89-6f05-4110-81ad-a06cdfcae612.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/9eaf3ec7-a104-4f9e-bc1e-3ed7760dc957.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/a68678a8-2980-42ab-aa28-4e73cca27cc0.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/aacd4045-d341-4a09-891d-f19ab5a41a15.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/b78b68ec-f1f1-4205-b96c-c9895de6df3a.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/b8adb285-c71c-4926-9c5b-d57341c0b0b1.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/bd7015a5-9762-4f6e-8105-68dd54ae8250.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/f308ca90-56cb-4b35-8f09-e1ecb77d3451.vsidx


BIN
.vs/Ropin.Inspection.Api/v17/.futdcache.v2


BIN
.vs/Ropin.Inspection.Api/v17/.suo


+ 179 - 69
.vs/Ropin.Inspection.Api/v17/DocumentLayout.json

@@ -2,6 +2,14 @@
   "Version": 1,
   "WorkspaceRootPath": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\",
   "Documents": [
+    {
+      "AbsoluteMoniker": "D:0:0:{6A9E4251-5C44-4799-AEEC-1C408D2EE257}|Ropin.Environmentally.WebScada\\Ropin.Environmentally.WebScada.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.environmentally.webscada\\work\\hostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+      "RelativeMoniker": "D:0:0:{6A9E4251-5C44-4799-AEEC-1C408D2EE257}|Ropin.Environmentally.WebScada\\Ropin.Environmentally.WebScada.csproj|solutionrelative:ropin.environmentally.webscada\\work\\hostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+    },
+    {
+      "AbsoluteMoniker": "D:0:0:{F4FC5270-B93C-41E6-B815-57F228018FA1}|Ropin.IOT.MLService\\Ropin.IOT.MLService.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.iot.mlservice\\controllers\\weatherforecastcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+      "RelativeMoniker": "D:0:0:{F4FC5270-B93C-41E6-B815-57F228018FA1}|Ropin.IOT.MLService\\Ropin.IOT.MLService.csproj|solutionrelative:ropin.iot.mlservice\\controllers\\weatherforecastcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+    },
     {
       "AbsoluteMoniker": "D:0:0:{E21F827A-EC73-4AED-A032-9AC24C2A381D}|Ropin.Environmentally.LoRaService\\Ropin.Environmentally.LoRaService.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.environmentally.loraservice\\tcpserver.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
       "RelativeMoniker": "D:0:0:{E21F827A-EC73-4AED-A032-9AC24C2A381D}|Ropin.Environmentally.LoRaService\\Ropin.Environmentally.LoRaService.csproj|solutionrelative:ropin.environmentally.loraservice\\tcpserver.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
@@ -50,10 +58,6 @@
       "AbsoluteMoniker": "D:0:0:{CBA2400F-380E-4BDA-8473-99365162060D}|Ropin.IOT.MqttService\\Ropin.IOT.MqttService.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.iot.mqttservice\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
       "RelativeMoniker": "D:0:0:{CBA2400F-380E-4BDA-8473-99365162060D}|Ropin.IOT.MqttService\\Ropin.IOT.MqttService.csproj|solutionrelative:ropin.iot.mqttservice\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
     },
-    {
-      "AbsoluteMoniker": "D:0:0:{6A9E4251-5C44-4799-AEEC-1C408D2EE257}|Ropin.Environmentally.WebScada\\Ropin.Environmentally.WebScada.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.environmentally.webscada\\work\\hostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
-      "RelativeMoniker": "D:0:0:{6A9E4251-5C44-4799-AEEC-1C408D2EE257}|Ropin.Environmentally.WebScada\\Ropin.Environmentally.WebScada.csproj|solutionrelative:ropin.environmentally.webscada\\work\\hostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
-    },
     {
       "AbsoluteMoniker": "D:0:0:{B9DA4E38-20BF-4E30-B57B-C4D038B0E053}|Ropin.Inspection.Service\\Ropin.Inspection.Service.csproj|e:\\ropin\\svn\\sh_hb\\source_sq\\ropin.inspection.api\\ropin.inspection.service\\sys\\tsysprivservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
       "RelativeMoniker": "D:0:0:{B9DA4E38-20BF-4E30-B57B-C4D038B0E053}|Ropin.Inspection.Service\\Ropin.Inspection.Service.csproj|solutionrelative:ropin.inspection.service\\sys\\tsysprivservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
@@ -130,36 +134,129 @@
       "DocumentGroups": [
         {
           "DockedWidth": 200,
-          "SelectedChildIndex": 0,
+          "SelectedChildIndex": 35,
           "Children": [
+            {
+              "$type": "Bookmark",
+              "Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:135:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:136:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:137:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:138:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:131:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:132:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:133:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:134:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:140:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:141:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:142:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:143:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:145:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:146:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:147:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:144:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:148:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:139:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+            },
             {
               "$type": "Document",
-              "DocumentIndex": 0,
+              "DocumentIndex": 1,
+              "Title": "WeatherForecastController.cs",
+              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MLService\\Controllers\\WeatherForecastController.cs",
+              "RelativeDocumentMoniker": "Ropin.IOT.MLService\\Controllers\\WeatherForecastController.cs",
+              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MLService\\Controllers\\WeatherForecastController.cs",
+              "RelativeToolTip": "Ropin.IOT.MLService\\Controllers\\WeatherForecastController.cs",
+              "ViewState": "AQIAAA8AAAAAAAAAAAAAAAAAAAAAAAAA",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+              "WhenOpened": "2025-08-14T10:09:59.055Z",
+              "EditorCaption": ""
+            },
+            {
+              "$type": "Document",
+              "DocumentIndex": 2,
               "Title": "TCPServer.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\TCPServer.cs",
               "RelativeDocumentMoniker": "Ropin.Environmentally.LoRaService\\TCPServer.cs",
               "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\TCPServer.cs",
               "RelativeToolTip": "Ropin.Environmentally.LoRaService\\TCPServer.cs",
-              "ViewState": "AQIAALMBAAAAAAAAAAAAAAAAAAAAAAAA",
+              "ViewState": "AQIAAEYAAAAAAAAAAAAQwAAAAAAAAAAA",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
               "WhenOpened": "2024-12-17T05:42:55.018Z",
               "EditorCaption": ""
             },
             {
               "$type": "Document",
-              "DocumentIndex": 2,
-              "Title": "appsettings.json",
-              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\appsettings.json",
-              "RelativeDocumentMoniker": "Ropin.Environmentally.LoRaService\\appsettings.json",
-              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\appsettings.json",
-              "RelativeToolTip": "Ropin.Environmentally.LoRaService\\appsettings.json",
-              "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
-              "WhenOpened": "2024-12-17T05:42:46.5Z"
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 3,
+              "DocumentIndex": 5,
               "Title": "appsettings.json",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.DcsService\\appsettings.json",
               "RelativeDocumentMoniker": "Ropin.Environmentally.DcsService\\appsettings.json",
@@ -171,7 +268,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 4,
+              "DocumentIndex": 6,
               "Title": "MqttWorkService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MqttService\\MqttWorkService.cs",
               "RelativeDocumentMoniker": "Ropin.IOT.MqttService\\MqttWorkService.cs",
@@ -183,7 +280,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 5,
+              "DocumentIndex": 7,
               "Title": "appsettings.json",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MqttService\\appsettings.json",
               "RelativeDocumentMoniker": "Ropin.IOT.MqttService\\appsettings.json",
@@ -195,7 +292,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 9,
+              "DocumentIndex": 11,
               "Title": "Program.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\Program.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\Program.cs",
@@ -207,7 +304,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 10,
+              "DocumentIndex": 12,
               "Title": "Startup.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\Startup.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\Startup.cs",
@@ -219,7 +316,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 6,
+              "DocumentIndex": 8,
               "Title": "Startup.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MqttService\\Startup.cs",
               "RelativeDocumentMoniker": "Ropin.IOT.MqttService\\Startup.cs",
@@ -231,7 +328,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 11,
+              "DocumentIndex": 13,
               "Title": "Program.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MqttService\\Program.cs",
               "RelativeDocumentMoniker": "Ropin.IOT.MqttService\\Program.cs",
@@ -243,7 +340,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 7,
+              "DocumentIndex": 9,
               "Title": "MqttClientService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MqttService\\MqttClientService.cs",
               "RelativeDocumentMoniker": "Ropin.IOT.MqttService\\MqttClientService.cs",
@@ -255,7 +352,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 1,
+              "DocumentIndex": 3,
               "Title": "TCPServerBackgroundService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\TCPServerBackgroundService.cs",
               "RelativeDocumentMoniker": "Ropin.Environmentally.LoRaService\\TCPServerBackgroundService.cs",
@@ -267,7 +364,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 14,
+              "DocumentIndex": 15,
               "Title": "appsettings.json",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\appsettings.json",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\appsettings.json",
@@ -279,7 +376,32 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 15,
+              "DocumentIndex": 0,
+              "Title": "HostedService.cs",
+              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
+              "RelativeDocumentMoniker": "Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
+              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
+              "RelativeToolTip": "Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
+              "ViewState": "AQIAACgGAAAAAAAAAAAswDAGAAAIAAAA",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+              "WhenOpened": "2024-01-22T08:49:36.236Z",
+              "EditorCaption": ""
+            },
+            {
+              "$type": "Document",
+              "DocumentIndex": 4,
+              "Title": "appsettings.json",
+              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\appsettings.json",
+              "RelativeDocumentMoniker": "Ropin.Environmentally.LoRaService\\appsettings.json",
+              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.LoRaService\\appsettings.json",
+              "RelativeToolTip": "Ropin.Environmentally.LoRaService\\appsettings.json",
+              "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
+              "WhenOpened": "2024-12-17T05:42:46.5Z"
+            },
+            {
+              "$type": "Document",
+              "DocumentIndex": 16,
               "Title": "TDEV_WebScadaDevSpot.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Model\\Entities\\TDEV_WebScadaDevSpot.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Model\\Entities\\TDEV_WebScadaDevSpot.cs",
@@ -291,7 +413,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 8,
+              "DocumentIndex": 10,
               "Title": "FanyiHelper.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Common\\Helper\\FanyiHelper.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Common\\Helper\\FanyiHelper.cs",
@@ -303,7 +425,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 18,
+              "DocumentIndex": 19,
               "Title": "ITokenHelper.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\Common\\Token\\ITokenHelper.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\Common\\Token\\ITokenHelper.cs",
@@ -315,7 +437,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 19,
+              "DocumentIndex": 20,
               "Title": "TsysPrivController.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\Controllers\\SYS\\TsysPrivController.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\Controllers\\SYS\\TsysPrivController.cs",
@@ -327,7 +449,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 20,
+              "DocumentIndex": 21,
               "Title": "ITsysPrivService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\SYS\\Interface\\ITsysPrivService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\SYS\\Interface\\ITsysPrivService.cs",
@@ -339,7 +461,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 21,
+              "DocumentIndex": 22,
               "Title": "TsysPostService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\SYS\\TsysPostService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\SYS\\TsysPostService.cs",
@@ -351,7 +473,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 13,
+              "DocumentIndex": 14,
               "Title": "TsysPrivService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\SYS\\TsysPrivService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\SYS\\TsysPrivService.cs",
@@ -363,31 +485,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 29,
-              "Title": "MqttClientService.cs",
-              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.MqttService\\MqttClientService.cs",
-              "RelativeDocumentMoniker": "Ropin.Environmentally.MqttService\\MqttClientService.cs",
-              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.MqttService\\MqttClientService.cs",
-              "RelativeToolTip": "Ropin.Environmentally.MqttService\\MqttClientService.cs",
-              "ViewState": "AQIAAE4AAAAAAAAAAAAcwIsAAABzAAAA",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
-              "WhenOpened": "2024-01-26T08:18:15.37Z"
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 12,
-              "Title": "HostedService.cs",
-              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
-              "RelativeDocumentMoniker": "Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
-              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
-              "RelativeToolTip": "Ropin.Environmentally.WebScada\\Work\\HostedService.cs",
-              "ViewState": "AQIAAC8AAAAAAAAAAAAQwI0AAAAMAAAA",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
-              "WhenOpened": "2024-01-22T08:49:36.236Z"
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 22,
+              "DocumentIndex": 23,
               "Title": "TdevWebScadaController.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\TdevWebScadaController.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\TdevWebScadaController.cs",
@@ -399,7 +497,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 16,
+              "DocumentIndex": 17,
               "Title": "TdevDevSpotController.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\TdevDevSpotController.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\TdevDevSpotController.cs",
@@ -411,7 +509,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 17,
+              "DocumentIndex": 18,
               "Title": "DeviceValueModel.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\DeviceValueModel.cs",
               "RelativeDocumentMoniker": "Ropin.Environmentally.WebScada\\DeviceValueModel.cs",
@@ -423,7 +521,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 23,
+              "DocumentIndex": 24,
               "Title": "TdevDevSpotService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\TdevDevSpotService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\TdevDevSpotService.cs",
@@ -435,7 +533,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 25,
+              "DocumentIndex": 26,
               "Title": "TmtnDevOpsRecordService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\TmtnDevOpsRecordService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\TmtnDevOpsRecordService.cs",
@@ -447,7 +545,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 26,
+              "DocumentIndex": 27,
               "Title": "TmtnDevOpsRecordRepository.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Repository\\TmtnDevOpsRecordRepository.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Repository\\TmtnDevOpsRecordRepository.cs",
@@ -459,7 +557,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 24,
+              "DocumentIndex": 25,
               "Title": "TmtnDevOpsRecordController.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\TmtnDevOpsRecordController.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\TmtnDevOpsRecordController.cs",
@@ -471,7 +569,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 28,
+              "DocumentIndex": 29,
               "Title": "TmtnDevOpsService.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Service\\TmtnDevOpsService.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Service\\TmtnDevOpsService.cs",
@@ -483,7 +581,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 27,
+              "DocumentIndex": 28,
               "Title": "TmtnDevOpsController.cs",
               "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Inspection.Api\\TmtnDevOpsController.cs",
               "RelativeDocumentMoniker": "Ropin.Inspection.Api\\TmtnDevOpsController.cs",
@@ -493,6 +591,18 @@
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
               "WhenOpened": "2024-01-22T08:48:35.746Z"
             },
+            {
+              "$type": "Document",
+              "DocumentIndex": 30,
+              "Title": "MqttClientService.cs",
+              "DocumentMoniker": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.MqttService\\MqttClientService.cs",
+              "RelativeDocumentMoniker": "Ropin.Environmentally.MqttService\\MqttClientService.cs",
+              "ToolTip": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.MqttService\\MqttClientService.cs",
+              "RelativeToolTip": "Ropin.Environmentally.MqttService\\MqttClientService.cs",
+              "ViewState": "AQIAAE4AAAAAAAAAAAAcwIsAAABzAAAA",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+              "WhenOpened": "2024-01-26T08:18:15.37Z"
+            },
             {
               "$type": "Bookmark",
               "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"

BIN
Ropin.Core.Extensions/obj/Debug/net5.0/Ropin.Core.Extensions.csproj.AssemblyReference.cache


BIN
Ropin.Environmentally.AlarmService/obj/Debug/net5.0/Ropin.Environmentally.AlarmService.csproj.AssemblyReference.cache


BIN
Ropin.Environmentally.DcsService/obj/Debug/net5.0/Ropin.Environmentally.DcsService.csproj.AssemblyReference.cache


BIN
Ropin.Environmentally.LedgeService1/obj/Debug/net5.0/Ropin.Environmentally.LedgeService1.csproj.AssemblyReference.cache


+ 11 - 1
Ropin.Environmentally.VideoService/appsettings.Production.json

@@ -26,5 +26,15 @@
     "ExchangeName": "rab.video.record.mqtt.DirectExchange", //交换机名称【消息队列名称+.DirectExchange】
     "RoutingKey": "rab.video.record.mqtt.key" //路由键【消息队列名称+.key】
   },
-  "ServiceUrl": "https://www.dgt.net.cn:103" //本程序的服务地址
+  "ServiceUrl": "https://www.dgt.net.cn:103", //本程序的服务地址
+  "MinioSettings": {
+    "Urls": "http://60.204.212.71:19000",
+    "BucketName": "huanbao", //"devalamvideobuckename",
+    "Endpoint": "60.204.212.71:19000", //"http://60.204.212.71:9000",
+    //"AccessKey": "1Iv7S6uxln1yZdz5pAUx",
+    //"SecretKey": "Hkx2EJU4MDwMGeDfaFeL9jkef2AZyfZXSUYQ30FC",
+    "AccessKey": "DnoIplsC8d4HEtgtZNeH",
+    "SecretKey": "LejZtCAEphekBYdsMPd2dR6CcYbkEWLw8wcaUpZV",
+    "UseSSL": false
+  }
 }

+ 11 - 1
Ropin.Environmentally.VideoService/appsettings.Staging.json

@@ -26,5 +26,15 @@
     "ExchangeName": "rab.video.record.mqtt.DirectExchange", //交换机名称【消息队列名称+.DirectExchange】
     "RoutingKey": "rab.video.record.mqtt.key" //路由键【消息队列名称+.key】
   },
-  "ServiceUrl": "https://www.dgt.net.cn:103" //本程序的服务地址
+  "ServiceUrl": "https://www.dgt.net.cn:103", //本程序的服务地址
+  "MinioSettings": {
+    "Urls": "http://60.204.212.71:19000",
+    "BucketName": "huanbao", //"devalamvideobuckename",
+    "Endpoint": "60.204.212.71:19000", //"http://60.204.212.71:9000",
+    //"AccessKey": "1Iv7S6uxln1yZdz5pAUx",
+    //"SecretKey": "Hkx2EJU4MDwMGeDfaFeL9jkef2AZyfZXSUYQ30FC",
+    "AccessKey": "DnoIplsC8d4HEtgtZNeH",
+    "SecretKey": "LejZtCAEphekBYdsMPd2dR6CcYbkEWLw8wcaUpZV",
+    "UseSSL": false
+  }
 }

BIN
Ropin.Environmentally.VideoService/obj/Debug/net5.0/Ropin.Environmentally.VideoService.csproj.AssemblyReference.cache


+ 1 - 0
Ropin.Environmentally.WebScada/Ropin.Environmentally.WebScada.csproj

@@ -6,6 +6,7 @@
   </PropertyGroup>
 
   <ItemGroup>
+    <PackageReference Include="AdysTech.InfluxDB.Client.Net" Version="0.15.0" />
     <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.1.0" />
     <PackageReference Include="InfluxData.Net" Version="8.0.1" />
     <PackageReference Include="InitQ" Version="1.0.0.14" />

+ 3 - 3
Ropin.Environmentally.WebScada/appsettings.Development.json

@@ -11,11 +11,11 @@
     //"MySqlConnection": "server=120.26.5.167;user id=root;password=Ropin1234%$#@;port=8605;persistsecurityinfo=True;database=SH_HB_Test;sslMode=None",
     //"RedisConnection": "60.204.212.71:6380,defaultDatabase=2,password=1234566,connectTimeout=15000,syncTimeout=5000",
 
-    //"MySqlConnection": "server=60.204.212.71;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250224;sslMode=None",
+    //"MySqlConnection": "server=60.204.212.71;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250321;sslMode=None",
     //"RedisConnection": "60.204.212.71,defaultDatabase=1,password=1234566,connectTimeout=15000,syncTimeout=5000",
 
     "MySqlConnection": "server=124.71.132.255;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250319;sslMode=None",
-    "RedisConnection": "124.71.132.255:6379,defaultDatabase=1,password=1234566,connectTimeout=15000,syncTimeout=5000"
+    "RedisConnection": "124.71.132.255:6379,defaultDatabase=4,password=1234566,connectTimeout=15000,syncTimeout=5000"
 
   },
   "WX": {
@@ -45,7 +45,7 @@
     "PublicPushMessageAPI": "https://www.dgt.net.cn:1443/api/AI/AiAlmSaveMessage"
   },
   "IniInflux": {
-    "infuxUrl": "http://124.71.132.255:8085/",
+    "infuxUrl": "http://10.126.126.131:8085/",
     "infuxUser": "admin",
     "infuxPwd": "123456"
   },

BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/AdysTech.InfluxDB.Client.Net.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Core.Extensions.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Core.Extensions.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.Views.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.Views.pdb


+ 41 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.deps.json

@@ -33,6 +33,7 @@
     ".NETCoreApp,Version=v5.0": {
       "Ropin.Environmentally.WebScada/1.0.0": {
         "dependencies": {
+          "AdysTech.InfluxDB.Client.Net": "0.15.0",
           "Autofac.Extensions.DependencyInjection": "7.1.0",
           "FBoxClientDriver": "1.2.0",
           "FBoxClientDriver.Contract": "1.2.0",
@@ -354,6 +355,17 @@
           "lib/netstandard2.0/AdvancedStringBuilder.dll": {}
         }
       },
+      "AdysTech.InfluxDB.Client.Net/0.15.0": {
+        "runtime": {
+          "lib/net46/AdysTech.InfluxDB.Client.Net.dll": {
+            "assemblyVersion": "0.15.0.0",
+            "fileVersion": "0.15.0.0"
+          }
+        },
+        "compile": {
+          "lib/net46/AdysTech.InfluxDB.Client.Net.dll": {}
+        }
+      },
       "Autofac/6.2.0": {
         "dependencies": {
           "System.Diagnostics.DiagnosticSource": "5.0.0"
@@ -2411,6 +2423,20 @@
           "lib/netstandard2.1/ToolGood.Words.dll": {}
         }
       },
+      "Ulid/1.4.1": {
+        "dependencies": {
+          "System.Runtime.CompilerServices.Unsafe": "5.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.1/Ulid.dll": {
+            "assemblyVersion": "1.4.1.0",
+            "fileVersion": "1.4.1.0"
+          }
+        },
+        "compile": {
+          "lib/netstandard2.1/Ulid.dll": {}
+        }
+      },
       "ZXing.Net/0.16.9": {
         "runtime": {
           "lib/net5.0/zxing.dll": {
@@ -2489,6 +2515,7 @@
           "Newtonsoft.Json": "13.0.1",
           "RabbitMQ.Client": "6.8.1",
           "ToolGood.Words": "3.1.0.2",
+          "Ulid": "1.4.1",
           "log4net": "2.0.17"
         },
         "runtime": {
@@ -4276,6 +4303,13 @@
       "path": "advancedstringbuilder/0.1.0",
       "hashPath": "advancedstringbuilder.0.1.0.nupkg.sha512"
     },
+    "AdysTech.InfluxDB.Client.Net/0.15.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-QmCGYdKISLmfngXJFig8+qZQ9Sy4952yl/TGu07OQ6ZAazQ4bo3XSp5GvpNmfVw1YNk+smaAWc2u63par1hxXg==",
+      "path": "adystech.influxdb.client.net/0.15.0",
+      "hashPath": "adystech.influxdb.client.net.0.15.0.nupkg.sha512"
+    },
     "Autofac/6.2.0": {
       "type": "package",
       "serviceable": true,
@@ -5732,6 +5766,13 @@
       "path": "toolgood.words/3.1.0.2",
       "hashPath": "toolgood.words.3.1.0.2.nupkg.sha512"
     },
+    "Ulid/1.4.1": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-V6crLJ8a29raWeNwxYGfH9RTKA3H0nR0D9LAGzN3KtEsbiiaWkUjDor6OT5Oz7pxCK+NaY2hu2FLoYEOa8oCkA==",
+      "path": "ulid/1.4.1",
+      "hashPath": "ulid.1.4.1.nupkg.sha512"
+    },
     "ZXing.Net/0.16.9": {
       "type": "package",
       "serviceable": true,

BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Environmentally.WebScada.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Common.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Common.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Model.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Model.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Repository.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Repository.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Service.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Service.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Tasks.dll


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ropin.Inspection.Tasks.pdb


BIN
Ropin.Environmentally.WebScada/bin/Debug/net5.0/Ulid.dll


+ 3 - 3
Ropin.Environmentally.WebScada/bin/Debug/net5.0/appsettings.Development.json

@@ -11,11 +11,11 @@
     //"MySqlConnection": "server=120.26.5.167;user id=root;password=Ropin1234%$#@;port=8605;persistsecurityinfo=True;database=SH_HB_Test;sslMode=None",
     //"RedisConnection": "60.204.212.71:6380,defaultDatabase=2,password=1234566,connectTimeout=15000,syncTimeout=5000",
 
-    //"MySqlConnection": "server=60.204.212.71;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250224;sslMode=None",
+    //"MySqlConnection": "server=60.204.212.71;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250321;sslMode=None",
     //"RedisConnection": "60.204.212.71,defaultDatabase=1,password=1234566,connectTimeout=15000,syncTimeout=5000",
 
     "MySqlConnection": "server=124.71.132.255;user id=root;password=Ropin@EPE5744;port=5744;persistsecurityinfo=True;database=SH_HB_Owner_20250319;sslMode=None",
-    "RedisConnection": "124.71.132.255:6379,defaultDatabase=1,password=1234566,connectTimeout=15000,syncTimeout=5000"
+    "RedisConnection": "124.71.132.255:6379,defaultDatabase=4,password=1234566,connectTimeout=15000,syncTimeout=5000"
 
   },
   "WX": {
@@ -45,7 +45,7 @@
     "PublicPushMessageAPI": "https://www.dgt.net.cn:1443/api/AI/AiAlmSaveMessage"
   },
   "IniInflux": {
-    "infuxUrl": "http://124.71.132.255:8085/",
+    "infuxUrl": "http://10.126.126.131:8085/",
     "infuxUser": "admin",
     "infuxPwd": "123456"
   },

+ 0 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250828.txt


+ 0 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250828_error.txt


+ 46 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250829.txt

@@ -0,0 +1,46 @@
+2025-08-29 13:16:43,694  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=34c5b133-b7ce-4e92-bb00-c2d37dd29d79,ala[value]=1】
+ 2025-08-29 13:16:44,275  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=5941ab04-50bf-428b-8167-106683f19b82,ala[value]=1】
+ 2025-08-29 13:23:08,023  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=6114f202-eb8b-4e0c-af44-e16f1a032c45,ala[value]=1】
+ 2025-08-29 13:23:13,804  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=76e3177f-41f7-4fdc-8f27-59149cfdca1a,ala[value]=0】
+ 2025-08-29 13:23:13,845  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [996] - MESSAGE: {"devStoreCode":"76e3177f-41f7-4fdc-8f27-59149cfdca1a","devRunSpot":"295458422367720304","time":"2025-08-29T13:23:13.8435223+08:00"};发送RabbitMQ消息
+ 2025-08-29 13:23:49,150  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [2262] - MESSAGE: 【{"devStoreCode":"76e3177f-41f7-4fdc-8f27-59149cfdca1a","devRunSpot":"295458422367720304","time":"2025-08-29T13:23:13.8435223+08:00"}】【设备台账数据发送失败-RabbitMQ】
+ 2025-08-29 13:23:49,653  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455333901768;strAlaColour=yellow;sendmsg=true;devspotColour=】---
+ 2025-08-29 13:23:49,731  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455333901768;strAlaColour=yellow;sendmsg=true;devspotColour=;msgData={"C_DevStoreCode":"8453d5ed-8a21-4880-88e7-f872e93551bf","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"1#吸附风机1频率反馈预警  值:30","DevNumber":"20230105","DevName":"东清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 13:23:49","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 13:23:49,864  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=86b61dbd-0f45-4d68-95ed-4b7da82f3740;ala[id]=306861802779580641;strAlaColour=yellow;sendmsg=;devspotColour=green】---
+ 2025-08-29 13:23:50,026  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=86b61dbd-0f45-4d68-95ed-4b7da82f3740;ala[id]=306861802779580641;strAlaColour=yellow;sendmsg=;devspotColour=green;msgData={"C_DevStoreCode":"86b61dbd-0f45-4d68-95ed-4b7da82f3740","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"2#吸附风机1频率反馈预警  值:30","DevNumber":"20230501","DevName":"西清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 13:23:49","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 13:23:51,067  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=86b61dbd-0f45-4d68-95ed-4b7da82f3740;ala[id]=306861802779580645;strAlaColour=yellow;sendmsg=true;devspotColour=】---
+ 2025-08-29 13:23:51,159  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455334950346;strAlaColour=yellow;sendmsg=;devspotColour=】---
+ 2025-08-29 13:23:51,170  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=86b61dbd-0f45-4d68-95ed-4b7da82f3740;ala[id]=306861802779580645;strAlaColour=yellow;sendmsg=true;devspotColour=;msgData={"C_DevStoreCode":"86b61dbd-0f45-4d68-95ed-4b7da82f3740","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"2#吸附风机2频率反馈预警  值:30","DevNumber":"20230501","DevName":"西清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 13:23:51","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 13:23:51,408  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455334950346;strAlaColour=yellow;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"8453d5ed-8a21-4880-88e7-f872e93551bf","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"1#吸附风机2频率反馈预警  值:30","DevNumber":"20230105","DevName":"东清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 13:23:51","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 13:23:51,903  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455331804605;strAlaColour=yellow;sendmsg=;devspotColour=】---
+ 2025-08-29 13:23:52,004  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455331804605;strAlaColour=yellow;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"8453d5ed-8a21-4880-88e7-f872e93551bf","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"1#箱体2温度预警  值:50.1","DevNumber":"20230105","DevName":"东清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 13:23:51","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 16:28:25,892  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1108] - MESSAGE: 2log-设备点预警报警-【fanyibox_devspot295458455330756028】修改为false【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455330756028;strAlaColour=green;sendmsg=true;devspotColour=yellow】---
+ 2025-08-29 16:37:47,466  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455330756028;strAlaColour=yellow;sendmsg=false;devspotColour=green】---
+ 2025-08-29 16:37:47,675  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455330756028;strAlaColour=yellow;sendmsg=false;devspotColour=green;msgData={"C_DevStoreCode":"8453d5ed-8a21-4880-88e7-f872e93551bf","C_MsgTypeCode":"MSG_TYPE_017","C_SpotCode":null,"Subject":"设备点预警","Msg":"1#箱体1温度预警  值:50.3","DevNumber":"20230105","DevName":"东清洗房废气处理装置","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 16:37:47","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 16:45:25,369  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1108] - MESSAGE: 2log-设备点预警报警-【fanyibox_devspot295458455330756028】修改为false【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455330756028;strAlaColour=green;sendmsg=true;devspotColour=yellow】---
+ 2025-08-29 16:45:32,768  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=6f731797-f6fb-4aba-bd9f-54e53064f7f0,ala[value]=47】
+ 2025-08-29 16:45:33,513  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=6f731797-f6fb-4aba-bd9f-54e53064f7f0,ala[value]=65535】
+ 2025-08-29 16:45:33,642  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=6f731797-f6fb-4aba-bd9f-54e53064f7f0;ala[id]=08d9ce00-8c61-4abb-8a8b-26e2fbf62e77;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 16:45:33,734  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=6f731797-f6fb-4aba-bd9f-54e53064f7f0;ala[id]=08d9ce00-8c61-4abb-8a8b-26e2fbf62e77;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"6f731797-f6fb-4aba-bd9f-54e53064f7f0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"干燥值报警  值:65535","DevNumber":"TEST-3","DevName":"测试设备3","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 16:45:33","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:26:38,053  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1108] - MESSAGE: 2log-设备点预警报警-【fanyibox_devspot295458455331804605】修改为false【设备ID=8453d5ed-8a21-4880-88e7-f872e93551bf;ala[id]=295458455331804605;strAlaColour=green;sendmsg=true;devspotColour=yellow】---
+ 2025-08-29 17:31:10,632  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [278] - MESSAGE: Task2-异常:Timeout performing GET fanyibox_devspot_6f731797-f6fb-4aba-bd9f-54e53064f7f0_08d9ce00-8c61-4abb-8a8b-26e2fbf62e82, inst: 1, queue: 54, qu: 0, qs: 36, qc: 18, wr: 0, wq: 0, in: 0, ar: 0, clientName: DESKTOP-6J9CVS9, serverEndpoint: 124.71.132.255:6379, keyHashSlot: 6 (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts)
+ 2025-08-29 17:39:09,372  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [278] - MESSAGE: Task2-异常:Timeout performing GET fanyibox_devStore_006653c7-13df-4344-909e-a5efaca20f60, inst: 1, queue: 56, qu: 0, qs: 47, qc: 9, wr: 0, wq: 0, in: 0, ar: 0, clientName: DESKTOP-6J9CVS9, serverEndpoint: 124.71.132.255:6379, keyHashSlot: 12721 (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts)
+ 2025-08-29 17:45:26,706  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=b172d0c5-6314-49d8-84aa-082986e5b53c;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:26,925  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=b172d0c5-6314-49d8-84aa-082986e5b53c;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"除尘器停止报警  值:1","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:26","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:27,857  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=5e323c38-633b-4b88-8cd9-c8f8a80c1379;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:27,965  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=5e323c38-633b-4b88-8cd9-c8f8a80c1379;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"变频器故障报警  值:0","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:27","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:28,508  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=0e5fc87a-6c15-4df4-b966-cce88a0eae2c;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:28,608  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=0e5fc87a-6c15-4df4-b966-cce88a0eae2c;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"除尘器启动报警  值:1","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:28","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:29,185  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=2c6ab5c5-d5fb-47ec-89d8-e99797db3b71;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:29,318  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=2c6ab5c5-d5fb-47ec-89d8-e99797db3b71;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"远程启停报警  值:0","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:29","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:29,843  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=7f7b4800-b513-4cbd-84e9-b71fca3b233c;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:29,963  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=7f7b4800-b513-4cbd-84e9-b71fca3b233c;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"手动清灰报警  值:0","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:29","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:30,538  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=dac27e73-988f-44fa-abb3-7ab66b5b4190;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:30,645  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=dac27e73-988f-44fa-abb3-7ab66b5b4190;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"本地远程切换报警  值:0","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:30","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:45:31,150  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1019] - MESSAGE: 1log-设备点预警报警-进入报警-Begin【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=dbf08329-08ee-4b6b-af6f-09d33160a280;strAlaColour=red;sendmsg=;devspotColour=】---
+ 2025-08-29 17:45:31,254  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [1073] - MESSAGE: 1log-设备点预警报警-发送RabbitMQ消息-设备报警【设备ID=9c5bdf03-4056-4263-aac7-a0b4efc13ce0;ala[id]=dbf08329-08ee-4b6b-af6f-09d33160a280;strAlaColour=red;sendmsg=;devspotColour=;msgData={"C_DevStoreCode":"9c5bdf03-4056-4263-aac7-a0b4efc13ce0","C_MsgTypeCode":"MSG_TYPE_012","C_SpotCode":null,"Subject":"设备点报警","Msg":"压缩空气报警报警  值:0","DevNumber":"SB20250829001","DevName":"清洗房废气活性炭催化燃烧装置-华谊","UserName":"设备","UserMobile":null,"DevAddress":null,"DevOpsName":null,"CreateOn":"2025/8/29 17:45:31","GenerationType":1,"msgStatus":1,"FileList":null}】---
+ 2025-08-29 17:54:31,242  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [983] - MESSAGE: -设备点开关机开始-进入状态不相等【设备ID=76e3177f-41f7-4fdc-8f27-59149cfdca1a,ala[value]=0】
+ 2025-08-29 17:54:31,279  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [996] - MESSAGE: {"devStoreCode":"76e3177f-41f7-4fdc-8f27-59149cfdca1a","devRunSpot":"295458422367720304","time":"2025-08-29T17:54:31.2781621+08:00"};发送RabbitMQ消息
+ 2025-08-29 17:55:06,595  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [2262] - MESSAGE: 【{"devStoreCode":"76e3177f-41f7-4fdc-8f27-59149cfdca1a","devRunSpot":"295458422367720304","time":"2025-08-29T17:54:31.2781621+08:00"}】【设备台账数据发送失败-RabbitMQ】
+ 2025-08-29 18:01:09,611  INFO Ropin.Environmentally.WebScada.Work.HostedService.MoveNext [278] - MESSAGE: Task2-异常:Timeout performing GET fanyibox_devspotColour_2ff323d3-fa27-4d02-836f-30d7c2bf6654_295458516728027434, inst: 1, queue: 23, qu: 0, qs: 13, qc: 10, wr: 0, wq: 0, in: 0, ar: 0, clientName: DESKTOP-6J9CVS9, serverEndpoint: 124.71.132.255:6379, keyHashSlot: 6518 (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts)
+ 

+ 0 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202508/20250829_error.txt


+ 0 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202509/20250912.txt


+ 0 - 0
Ropin.Environmentally.WebScada/bin/Debug/net5.0/logs/2025/202509/20250912_error.txt


BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.Views.dll


BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.Views.pdb


BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.assets.cache


BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.AssemblyReference.cache


+ 1 - 1
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-8658e9b9d5fd70f8356b6cf5151810953a06c7f3
+a5dd416e6ec37ae03da25dc6a417d7c188466679

+ 2 - 0
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.csproj.FileListAbsolute.txt

@@ -605,3 +605,5 @@ E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\bin\Debug\net5.0\appsettings.Production.json
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\bin\Debug\net5.0\appsettings.Staging.json
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\bin\Debug\net5.0\ToolGood.Words.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\bin\Debug\net5.0\Ulid.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\bin\Debug\net5.0\AdysTech.InfluxDB.Client.Net.dll

BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.dll


BIN
Ropin.Environmentally.WebScada/obj/Debug/net5.0/Ropin.Environmentally.WebScada.pdb


+ 4 - 0
Ropin.Environmentally.WebScada/obj/Ropin.Environmentally.WebScada.csproj.nuget.dgspec.json

@@ -239,6 +239,10 @@
         "net5.0": {
           "targetAlias": "net5.0",
           "dependencies": {
+            "AdysTech.InfluxDB.Client.Net": {
+              "target": "Package",
+              "version": "[0.15.0, )"
+            },
             "Autofac.Extensions.DependencyInjection": {
               "target": "Package",
               "version": "[7.1.0, )"

+ 39 - 1
Ropin.Environmentally.WebScada/obj/project.assets.json

@@ -15,6 +15,15 @@
           }
         }
       },
+      "AdysTech.InfluxDB.Client.Net/0.15.0": {
+        "type": "package",
+        "compile": {
+          "lib/net46/AdysTech.InfluxDB.Client.Net.dll": {}
+        },
+        "runtime": {
+          "lib/net46/AdysTech.InfluxDB.Client.Net.dll": {}
+        }
+      },
       "Autofac/6.2.0": {
         "type": "package",
         "dependencies": {
@@ -3845,6 +3854,18 @@
         "lib/netstandard2.0/AdvancedStringBuilder.xml"
       ]
     },
+    "AdysTech.InfluxDB.Client.Net/0.15.0": {
+      "sha512": "QmCGYdKISLmfngXJFig8+qZQ9Sy4952yl/TGu07OQ6ZAazQ4bo3XSp5GvpNmfVw1YNk+smaAWc2u63par1hxXg==",
+      "type": "package",
+      "path": "adystech.influxdb.client.net/0.15.0",
+      "files": [
+        ".nupkg.metadata",
+        ".signature.p7s",
+        "adystech.influxdb.client.net.0.15.0.nupkg.sha512",
+        "adystech.influxdb.client.net.nuspec",
+        "lib/net46/AdysTech.InfluxDB.Client.Net.dll"
+      ]
+    },
     "Autofac/6.2.0": {
       "sha512": "BX8IM0GANE38uSr4QwXL4PgA8vWWYt2P5cZzipn/vDnf0fDbPSGKSHEroJ09rB7ANxdyf7MdEgVs+pvL8kwYCg==",
       "type": "package",
@@ -10684,6 +10705,7 @@
   },
   "projectFileDependencyGroups": {
     "net5.0": [
+      "AdysTech.InfluxDB.Client.Net >= 0.15.0",
       "Autofac.Extensions.DependencyInjection >= 7.1.0",
       "FBoxClientDriver >= 1.2.0",
       "FBoxClientDriver.Contract >= 1.2.0",
@@ -10763,6 +10785,10 @@
       "net5.0": {
         "targetAlias": "net5.0",
         "dependencies": {
+          "AdysTech.InfluxDB.Client.Net": {
+            "target": "Package",
+            "version": "[0.15.0, )"
+          },
           "Autofac.Extensions.DependencyInjection": {
             "target": "Package",
             "version": "[7.1.0, )"
@@ -10846,5 +10872,17 @@
         "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
       }
     }
-  }
+  },
+  "logs": [
+    {
+      "code": "NU1701",
+      "level": "Warning",
+      "warningLevel": 1,
+      "message": "已使用“.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1”而不是项目目标框架“net5.0”还原包“AdysTech.InfluxDB.Client.Net 0.15.0”。此包可能与项目不完全兼容。",
+      "libraryId": "AdysTech.InfluxDB.Client.Net",
+      "targetGraphs": [
+        "net5.0"
+      ]
+    }
+  ]
 }

+ 14 - 2
Ropin.Environmentally.WebScada/obj/project.nuget.cache

@@ -1,10 +1,11 @@
 {
   "version": 2,
-  "dgSpecHash": "OwHNxkxkGlSrbcNSwnRhD5ZN9Q7H30O9n5CZ3FwPHAnUpBphT29zU2E5uOt+61e8ZnTKUMbabA3AxfBcHLEVqw==",
+  "dgSpecHash": "zXL91U84Q/efJO6nst8skecRr+q+ttqR7OG5Cw7oJbOKMg7a0N81Ae5tlWWzU5+GPcmp+zJ5Kl1rJJpeyE3GVQ==",
   "success": true,
   "projectFilePath": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.Environmentally.WebScada\\Ropin.Environmentally.WebScada.csproj",
   "expectedPackageFiles": [
     "D:\\.nuget\\packages\\advancedstringbuilder\\0.1.0\\advancedstringbuilder.0.1.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\adystech.influxdb.client.net\\0.15.0\\adystech.influxdb.client.net.0.15.0.nupkg.sha512",
     "D:\\.nuget\\packages\\autofac\\6.2.0\\autofac.6.2.0.nupkg.sha512",
     "D:\\.nuget\\packages\\autofac.extensions.dependencyinjection\\7.1.0\\autofac.extensions.dependencyinjection.7.1.0.nupkg.sha512",
     "D:\\.nuget\\packages\\autofac.extras.dynamicproxy\\6.0.0\\autofac.extras.dynamicproxy.6.0.0.nupkg.sha512",
@@ -217,5 +218,16 @@
     "D:\\.nuget\\packages\\zxing.net\\0.16.9\\zxing.net.0.16.9.nupkg.sha512",
     "D:\\.nuget\\packages\\zxing.net.bindings.imagesharp.v2\\0.16.15\\zxing.net.bindings.imagesharp.v2.0.16.15.nupkg.sha512"
   ],
-  "logs": []
+  "logs": [
+    {
+      "code": "NU1701",
+      "level": "Warning",
+      "warningLevel": 1,
+      "message": "已使用“.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1”而不是项目目标框架“net5.0”还原包“AdysTech.InfluxDB.Client.Net 0.15.0”。此包可能与项目不完全兼容。",
+      "libraryId": "AdysTech.InfluxDB.Client.Net",
+      "targetGraphs": [
+        "net5.0"
+      ]
+    }
+  ]
 }

BIN
Ropin.IOT.MLService/AccidentPredictionModel.zip


+ 234 - 1
Ropin.IOT.MLService/Controllers/WeatherForecastController.cs

@@ -1,9 +1,15 @@
-using Microsoft.AspNetCore.Mvc;
+using InfluxData.Net.Common.Enums;
+using Microsoft.AspNetCore.Mvc;
 using Microsoft.Extensions.Logging;
+using Microsoft.ML;
 using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using InfluxData.Net.Common.Enums;
+using InfluxData.Net.InfluxDb;
+using Microsoft.ML.Data;
+using Microsoft.ML.Transforms;
 
 namespace Ropin.IOT.MLService.Controllers
 {
@@ -35,5 +41,232 @@ namespace Ropin.IOT.MLService.Controllers
             })
             .ToArray();
         }
+        [HttpPatch]
+        public async void PatchAI()
+        {
+            // Create a new context for ML operations
+            var mlContext = new MLContext();
+
+            // Sample data points in-memory collection
+            IDataView dataPoints = mlContext.Data.LoadFromEnumerable(new[]
+            {
+            new DataPoint() { Feature = 1, Label = 2 },
+            new DataPoint() { Feature = 2, Label = 4 },
+            new DataPoint() { Feature = 3, Label = 6 },
+            new DataPoint() { Feature = 4, Label = 8 },
+            new DataPoint() { Feature = 5, Label = 10 }
+        });
+
+            // Define the pipeline
+            var pipeline = mlContext.Transforms.Concatenate("Features", nameof(DataPoint.Feature))
+                .Append(mlContext.Regression.Trainers.Sdca());
+
+            // Train the model
+            var trainedModel = pipeline.Fit(dataPoints);
+
+            // Create a prediction engine to make predictions on individual data points
+            var predEngine = mlContext.Model.CreatePredictionEngine<DataPoint, Prediction>(trainedModel);
+
+            // Make a prediction
+            var prediction = predEngine.Predict(new DataPoint() { Feature = 6 });
+            Console.WriteLine($"Predicted value: {prediction.PredictedValue}");
+
+        }
+
+        public class DataPoint
+        {
+            [LoadColumn(0)]
+            public float Feature { get; set; }
+
+            [LoadColumn(1)]
+            public float Label { get; set; }
+        }
+        public class DeviceStatusPoint
+        {
+            [LoadColumn(0)]
+            public DateTime TimeStamp { get; set; }
+
+            [LoadColumn(1)]
+            public float Temperature { get; set; }
+
+            [LoadColumn(2)]
+            public float Pressure { get; set; }
+
+            [LoadColumn(3)]
+            public bool IsFaulty { get; set; }
+
+
+            [LoadColumn(4)]
+            public float Label { get; set; }
+
+        }
+
+        public class Prediction
+        {
+            [ColumnName("Score")]
+            public float PredictedValue { get; set; }
+        }
+
+
+        [HttpPost]
+        public async void GetAI()
+        {
+            await GetData();
+           
+        }
+        private async Task GetData()
+        {
+
+            //// 查询最近 10 条 CPU 使用率数据
+            //    var query1 = "SELECT * FROM fanyidev ORDER BY time DESC LIMIT 10";
+            //    var results = await client.QueryMultiSeriesAsync("fanyidb", query1);
+
+            //    if (results != null && results.Count > 0)
+            //    {
+
+            //    }
+            //     if (results != null && results.Count > 0)
+            //    {
+            //        // 处理查询结果
+            //        foreach (var series in results)
+            //        {
+            //            Console.WriteLine($"查询结果集: {series.Name}");
+            //            foreach (var point in series.Entries)
+            //            {
+            //                // 根据字段名获取值
+            //                var time = point.GetTimeAsDateTime();
+            //        var host = point.GetTagAsString("host");
+            //        var value = point.GetFieldAsDouble("value");
+            //        Console.WriteLine($"时间: {time}, 主机: {host}, CPU 使用率: {value}");
+            //            }
+            //}
+            //    }
+
+
+
+
+
+            //传入查询命令,支持多条
+            var queries = new[]
+            {
+
+                " SELECT * FROM fanyidev WHERE time> now() -  1h "
+            };
+
+            var dbName = "fanyidb";
+
+            InfluxDbClient influxDbClient = new InfluxDbClient("http://10.126.126.131:8085/", "admin", "123456", InfluxDbVersion.Latest);
+            //从指定库中查询数据
+
+            var response = await influxDbClient.Client.QueryAsync(queries, dbName);
+
+            if (response.Any())
+            {
+                var series = response.ToList();
+                foreach (var value in series[0].Values)
+                {
+                    //var TimeStamp = DateTime.Parse((string)value[0]);
+                    var Pressure = Convert.ToDouble(value[2]);
+                }
+                //var dataPoints = series[0].Values.Select(value =>
+                //    new DeviceStatusDataPoint
+                //    {
+                //        //TimeStamp = DateTime.Parse((string)value[0]),
+                //        //Temperature = Convert.ToDouble(value[1]),
+                //        Pressure = Convert.ToDouble(value[2])//,
+                //        //IsFaulty = (bool)value[3]
+                //    }).ToList();
+
+                var dataPoints = new List<DeviceStatusPoint>();
+                var v1 = new DeviceStatusPoint
+                {
+                    TimeStamp = DateTime.Now.AddMilliseconds(-1),
+                    Temperature = 70,
+                    Pressure = 150,
+                    IsFaulty = true,
+                    Label = 10
+                };
+                var v2 = new DeviceStatusPoint
+                {
+                    TimeStamp = DateTime.Now,
+                    Temperature = 60,
+                    Pressure = 140,
+                    IsFaulty = false,
+                    Label = 20
+                };
+                dataPoints.Add(v1);
+                dataPoints.Add(v2);
+
+                // 使用 ML.NET 训练模型
+                var mlContext = new MLContext();
+
+                // 将数据加载到 IDataView
+                IDataView dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
+
+
+
+                //// Define the pipeline
+                //var pipeline1 = mlContext.Transforms.Concatenate("Features", nameof(DeviceStatusPoint.Temperature), nameof(DeviceStatusPoint.Pressure))
+                //    .Append(mlContext.Regression.Trainers.Sdca());
+
+                //// Train the model
+                //var trainedModel = pipeline1.Fit(dataView);
+
+                //// Create a prediction engine to make predictions on individual data points
+                //var predEngine = mlContext.Model.CreatePredictionEngine<DeviceStatusPoint, FaultPrediction>(trainedModel);
+
+                //// Make a prediction
+                //var prediction1 = predEngine.Predict(new DeviceStatusPoint { Temperature = 75, Pressure = 150 });
+                //Console.WriteLine($"Predicted value: {prediction1.PredictedLabel}");
+
+
+
+                // 分割数据集为训练集和测试集
+                var trainTestSplit = mlContext.Data.TrainTestSplit(dataView, testFraction: 0.2);
+                var trainingData = trainTestSplit.TrainSet;
+                var testData = trainTestSplit.TestSet;
+
+                // 定义管道
+                var pipeline = mlContext.Transforms.Concatenate("Features", nameof(DeviceStatusPoint.Temperature), nameof(DeviceStatusPoint.Pressure))
+                    .Append(mlContext.BinaryClassification.Trainers.SdcaLogisticRegression(labelColumnName: nameof(DeviceStatusPoint.IsFaulty)));
+
+                var progressHandler = new TrainingProgressHandler();
+
+                //Console.WriteLine("Starting model training...");
+                //var cvResults = mlContext.MulticlassClassification.CrossValidate(trainingData, pipeline, numberOfFolds: 5, progressHandler: progressHandler);
+
+                //Console.WriteLine("Training completed.");
+
+                // 训练模型
+                var model = pipeline.Fit(trainingData);
+
+                // 创建预测引擎
+                var predictionEngine = mlContext.Model.CreatePredictionEngine<DeviceStatusPoint, FaultPrediction>(model);
+
+                // 预测新样本
+                var sampleData = new DeviceStatusPoint { Temperature = 75, Pressure = 150 };
+                var prediction = predictionEngine.Predict(sampleData);
+                Console.WriteLine($"Predicted IsFaulty: {prediction.PredictedLabel}, Probability: {prediction.Probability}");
+
+                // 评估模型
+                var predictions = model.Transform(testData);
+                var metrics = mlContext.BinaryClassification.Evaluate(predictions);
+                Console.WriteLine($"Accuracy: {metrics.Accuracy}");
+            }
+            else
+            {
+                Console.WriteLine("Failed to retrieve data from InfluxDB.");
+            }
+
+
+        }
+    }
+
+    public class TrainingProgressHandler : IProgress<TrainCatalogBase.CrossValidationResult<MulticlassClassificationMetrics>>
+    {
+        public void Report(TrainCatalogBase.CrossValidationResult<MulticlassClassificationMetrics> value)
+        {
+            //Console.WriteLine(value: $"Fold: {value.Model.Properties.TrainingTime}");
+        }
     }
 }

+ 188 - 1
Ropin.IOT.MLService/Program.cs

@@ -8,18 +8,38 @@ using System.Linq;
 using System.Threading.Tasks;
 using Microsoft.ML;
 using Microsoft.ML.Data;
+using InfluxData.Net.Common.Enums;
+using InfluxData.Net.InfluxDb;
+using System.CodeDom.Compiler;
+using AdysTech.InfluxDB.Client.Net;
+using System.Drawing;
+using InfluxData.Net.InfluxDb.Models;
 
 namespace Ropin.IOT.MLService
 {
     public class Program
     {
+        //public static void Main(string[] args)
+        //{
+        //    CreateHostBuilder(args).Build().Run();
+
+        //}
         // 定义文件路径
         private static string _dataPath = "./accident_data.csv";
         private static string _modelPath = "./AccidentPredictionModel.zip";
         public static void Main(string[] args)
         {
+            //try
+            //{
+            //    GetData(args);
+            //}
+            //catch (Exception ex) { Console.WriteLine(ex.InnerException.Message); }
+
             
-            Console.OutputEncoding = System.Text.Encoding.UTF8;
+
+
+
+        Console.OutputEncoding = System.Text.Encoding.UTF8;
             Console.WriteLine("工厂事故预测系统启动...");
 
             // 创建ML.NET上下文  
@@ -99,6 +119,147 @@ namespace Ropin.IOT.MLService
                 {
                     webBuilder.UseStartup<Startup>();
                 });
+
+        #region 从Influxdb读取数据创建模型预测
+        private static readonly IInfluxDBClient client = new InfluxDBClient("http://60.204.212.71:8085/", "admin", "123456");
+        public static async Task GetData(string[] args)
+        {
+
+            //// 查询最近 10 条 CPU 使用率数据
+            //    var query1 = "SELECT * FROM fanyidev ORDER BY time DESC LIMIT 10";
+            //    var results = await client.QueryMultiSeriesAsync("fanyidb", query1);
+
+            //    if (results != null && results.Count > 0)
+            //    {
+
+            //    }
+            //     if (results != null && results.Count > 0)
+            //    {
+            //        // 处理查询结果
+            //        foreach (var series in results)
+            //        {
+            //            Console.WriteLine($"查询结果集: {series.Name}");
+            //            foreach (var point in series.Entries)
+            //            {
+            //                // 根据字段名获取值
+            //                var time = point.GetTimeAsDateTime();
+            //        var host = point.GetTagAsString("host");
+            //        var value = point.GetFieldAsDouble("value");
+            //        Console.WriteLine($"时间: {time}, 主机: {host}, CPU 使用率: {value}");
+            //            }
+            //}
+            //    }
+
+
+
+
+
+            //传入查询命令,支持多条
+            var queries = new[]
+            {
+
+                " SELECT * FROM fanyidev WHERE time> now() -  1h "
+            };
+
+            var dbName = "fanyidb";
+
+            InfluxDbClient influxDbClient = new InfluxDbClient("http://60.204.212.71:8085/", "admin", "123456", InfluxDbVersion.Latest);
+            //从指定库中查询数据
+
+            var response = await influxDbClient.Client.QueryAsync(queries, dbName);
+
+            if (response.Any())
+            {
+                var series = response.ToList();
+                foreach (var value in series[0].Values)
+                {
+                    //var TimeStamp = DateTime.Parse((string)value[0]);
+                    var Pressure = Convert.ToDouble(value[2]);
+                }
+                var dataPoints = series[0].Values.Select(value =>
+                    new DeviceStatusDataPoint
+                    {
+                        //TimeStamp = DateTime.Parse((string)value[0]),
+                        //Temperature = Convert.ToDouble(value[1]),
+                        Pressure = Convert.ToDouble(value[2])//,
+                        //IsFaulty = (bool)value[3]
+                    }).ToList();
+
+                dataPoints = new List<DeviceStatusDataPoint>();
+                var v1 = new DeviceStatusDataPoint
+                {
+                    TimeStamp = DateTime.Now.AddMilliseconds(-1),
+                    Temperature = 70,
+                    Pressure = 150,
+                    IsFaulty = true
+                };
+                var v2 = new DeviceStatusDataPoint
+                {
+                    TimeStamp = DateTime.Now,
+                    Temperature = 60,
+                    Pressure = 140,
+                    IsFaulty = false
+                };
+                dataPoints.Add(v1);
+                dataPoints.Add(v2);
+
+                // 使用 ML.NET 训练模型
+                var mlContext = new MLContext();
+
+                // 将数据加载到 IDataView
+                var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
+
+                // 分割数据集为训练集和测试集
+                var trainTestSplit = mlContext.Data.TrainTestSplit(dataView, testFraction: 0.2);
+                var trainingData = trainTestSplit.TrainSet;
+                var testData = trainTestSplit.TestSet;
+
+                // 定义管道
+                var pipeline = mlContext.Transforms.Concatenate("Features", nameof(DeviceStatusDataPoint.Temperature), nameof(DeviceStatusDataPoint.Pressure))
+                    .Append(mlContext.BinaryClassification.Trainers.SdcaLogisticRegression(labelColumnName: nameof(DeviceStatusDataPoint.IsFaulty)));
+
+                // 训练模型
+                var model = pipeline.Fit(trainingData);
+
+                // 创建预测引擎
+                var predictionEngine = mlContext.Model.CreatePredictionEngine<DeviceStatusDataPoint, FaultPrediction>(model);
+
+                // 预测新样本
+                var sampleData = new DeviceStatusDataPoint { Temperature = 75.0, Pressure = 150.0 };
+                var prediction = predictionEngine.Predict(sampleData);
+                Console.WriteLine($"Predicted IsFaulty: {prediction.PredictedLabel}, Probability: {prediction.Probability}");
+
+                // 评估模型
+                var predictions = model.Transform(testData);
+                var metrics = mlContext.BinaryClassification.Evaluate(predictions);
+                Console.WriteLine($"Accuracy: {metrics.Accuracy}");
+            }
+            else
+            {
+                Console.WriteLine("Failed to retrieve data from InfluxDB.");
+            }
+
+
+            //var response = await influxDbClient.Client.QueryAsync(query);
+
+            ////得到Serie集合对象(返回执行多个查询的结果)
+
+            //var series = response.ToList();
+
+            ////取出第一条命令的查询结果,是一个集合
+
+            //var list = series[0].Values;
+
+            ////从集合中取出第一条数据
+
+            //var info_model = list.FirstOrDefault();
+
+        }
+
+
+        #endregion
+
+
         private static void PredictSample(MLContext mlContext, ITransformer model)
         {
             // 创建预测引擎  
@@ -179,4 +340,30 @@ namespace Ropin.IOT.MLService
 
         public float[] Score { get; set; }
     }
+
+  
+
+    public class DeviceStatusDataPoint
+    {
+        [LoadColumn(0)]
+        public DateTime TimeStamp { get; set; }
+
+        [LoadColumn(1)]
+        public double Temperature { get; set; }
+
+        [LoadColumn(2)]
+        public double Pressure { get; set; }
+
+        [LoadColumn(3)]
+        public bool IsFaulty { get; set; }
+    }
+
+    public class FaultPrediction
+    {
+        [ColumnName("PredictedLabel")]
+        public bool PredictedLabel { get; set; }
+
+        [ColumnName("Probability")]
+        public float Probability { get; set; }
+    }
 }

+ 3 - 1
Ropin.IOT.MLService/Ropin.IOT.MLService.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
+<Project Sdk="Microsoft.NET.Sdk.Web">
 
 	<PropertyGroup>
 		<TargetFramework>net5.0</TargetFramework>
@@ -6,9 +6,11 @@
 	</PropertyGroup>
 
 	<ItemGroup>
+		<PackageReference Include="AdysTech.InfluxDB.Client.Net" Version="0.15.0" />
 		<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.2" />
 		<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
 		<PackageReference Include="Microsoft.ML" Version="4.0.2" />
+		<PackageReference Include="InfluxData.Net" Version="8.0.1" />
 	</ItemGroup>
 
 </Project>

BIN
Ropin.IOT.MLService/bin/Debug/net5.0/AdysTech.InfluxDB.Client.Net.dll


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.Common.dll


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.InfluxDb.dll


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.Kapacitor.dll


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/InfluxData.Net.dll


File diff suppressed because it is too large
+ 630 - 62
Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.deps.json


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.dll


BIN
Ropin.IOT.MLService/bin/Debug/net5.0/Ropin.IOT.MLService.pdb


BIN
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.assets.cache


BIN
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.AssemblyReference.cache


+ 1 - 1
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-49c07f7b46194360bd2a5bbb1308cb74efc5b11b
+9c05adafa28857a55500f97dac6a3fd638131b53

+ 5 - 0
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.csproj.FileListAbsolute.txt

@@ -65,3 +65,8 @@ E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\runtimes\osx-x64\nativeassets\netstandard2.0\libCpuMathNative.dylib.dwarf
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\runtimes\win-x64\nativeassets\netstandard2.0\CpuMathNative.dll
 E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\runtimes\win-x86\nativeassets\netstandard2.0\CpuMathNative.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\InfluxData.Net.Common.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\InfluxData.Net.InfluxDb.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\InfluxData.Net.Kapacitor.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\InfluxData.Net.dll
+E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.IOT.MLService\bin\Debug\net5.0\AdysTech.InfluxDB.Client.Net.dll

BIN
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.dll


BIN
Ropin.IOT.MLService/obj/Debug/net5.0/Ropin.IOT.MLService.pdb


BIN
Ropin.IOT.MLService/obj/Debug/net5.0/ref/Ropin.IOT.MLService.dll


BIN
Ropin.IOT.MLService/obj/Debug/net5.0/refint/Ropin.IOT.MLService.dll


+ 8 - 0
Ropin.IOT.MLService/obj/Ropin.IOT.MLService.csproj.nuget.dgspec.json

@@ -45,6 +45,14 @@
         "net5.0": {
           "targetAlias": "net5.0",
           "dependencies": {
+            "AdysTech.InfluxDB.Client.Net": {
+              "target": "Package",
+              "version": "[0.15.0, )"
+            },
+            "InfluxData.Net": {
+              "target": "Package",
+              "version": "[8.0.1, )"
+            },
             "Microsoft.ML": {
               "target": "Package",
               "version": "[4.0.2, )"

File diff suppressed because it is too large
+ 3223 - 394
Ropin.IOT.MLService/obj/project.assets.json


+ 65 - 3
Ropin.IOT.MLService/obj/project.nuget.cache

@@ -1,28 +1,90 @@
 {
   "version": 2,
-  "dgSpecHash": "0sHQaLURDb3V4ZRZRuSyOGNrVkwrNkoYSnz++veHDLbQ35MniRNr/Z7FtkknVdw9ftEgfoPSRKgD3hbKKOY+JA==",
+  "dgSpecHash": "xdJtoLF2y+RFUUjqTOd1mDUQ6toE3zNgbLpn8OS1SYlP27+hX67esqeCx+Wg2S/kJ2W1ZW8gcLWSysbkSjRjZQ==",
   "success": true,
   "projectFilePath": "E:\\Ropin\\svn\\SH_HB\\Source_SQ\\Ropin.Inspection.Api\\Ropin.IOT.MLService\\Ropin.IOT.MLService.csproj",
   "expectedPackageFiles": [
+    "D:\\.nuget\\packages\\adystech.influxdb.client.net\\0.15.0\\adystech.influxdb.client.net.0.15.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\influxdata.net\\8.0.1\\influxdata.net.8.0.1.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.bcl.numerics\\8.0.0\\microsoft.bcl.numerics.8.0.0.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.extensions.apidescription.server\\3.0.0\\microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.ml\\4.0.2\\microsoft.ml.4.0.2.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.ml.cpumath\\4.0.2\\microsoft.ml.cpumath.4.0.2.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.ml.dataview\\4.0.2\\microsoft.ml.dataview.4.0.2.nupkg.sha512",
+    "D:\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
     "D:\\.nuget\\packages\\microsoft.visualstudio.azure.containers.tools.targets\\1.17.2\\microsoft.visualstudio.azure.containers.tools.targets.1.17.2.nupkg.sha512",
     "D:\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.native.system.net.http\\4.3.0\\runtime.native.system.net.http.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\swashbuckle.aspnetcore\\5.6.3\\swashbuckle.aspnetcore.5.6.3.nupkg.sha512",
     "D:\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\5.6.3\\swashbuckle.aspnetcore.swagger.5.6.3.nupkg.sha512",
     "D:\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\5.6.3\\swashbuckle.aspnetcore.swaggergen.5.6.3.nupkg.sha512",
     "D:\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\5.6.3\\swashbuckle.aspnetcore.swaggerui.5.6.3.nupkg.sha512",
     "D:\\.nuget\\packages\\system.codedom\\8.0.0\\system.codedom.8.0.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\system.collections.immutable\\8.0.0\\system.collections.immutable.8.0.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\system.memory\\4.6.0\\system.memory.4.6.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.net.http\\4.3.2\\system.net.http.4.3.2.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\system.numerics.tensors\\8.0.0\\system.numerics.tensors.8.0.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\system.reflection.emit.lightweight\\4.7.0\\system.reflection.emit.lightweight.4.7.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
     "D:\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
-    "D:\\.nuget\\packages\\system.threading.channels\\8.0.0\\system.threading.channels.8.0.0.nupkg.sha512"
+    "D:\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.cng\\4.3.0\\system.security.cryptography.cng.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\system.security.cryptography.csp.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.openssl\\4.3.0\\system.security.cryptography.openssl.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.threading.channels\\8.0.0\\system.threading.channels.8.0.0.nupkg.sha512",
+    "D:\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512"
   ],
-  "logs": []
+  "logs": [
+    {
+      "code": "NU1701",
+      "level": "Warning",
+      "warningLevel": 1,
+      "message": "已使用“.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1”而不是项目目标框架“net5.0”还原包“AdysTech.InfluxDB.Client.Net 0.15.0”。此包可能与项目不完全兼容。",
+      "libraryId": "AdysTech.InfluxDB.Client.Net",
+      "targetGraphs": [
+        "net5.0"
+      ]
+    }
+  ]
 }

BIN
Ropin.IOT.MqttService/obj/Debug/net5.0/Ropin.IOT.MqttService.csproj.AssemblyReference.cache


BIN
Ropin.IOT.MsgService/obj/Debug/net5.0/Ropin.IOT.MsgService.csproj.AssemblyReference.cache


BIN
Ropin.Inspection.Api/obj/Debug/net5.0/Ropin.Inspection.Api.csproj.AssemblyReference.cache


BIN
Ropin.Inspection.Common/obj/Debug/net5.0/Ropin.Inspection.Common.csproj.AssemblyReference.cache


BIN
Ropin.Inspection.Model/bin/Debug/net5.0/Ropin.Inspection.Common.dll


BIN
Ropin.Inspection.Model/bin/Debug/net5.0/Ropin.Inspection.Common.pdb


Some files were not shown because too many files changed in this diff