初始化

This commit is contained in:
2025-12-11 14:04:39 +08:00
commit 1f65bbf628
2676 changed files with 838983 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,60 @@
# HELP UDP_Upload Total bytes uploaded via UDP.
# TYPE UDP_Upload gauge
UDP_Upload {1}
# HELP UDP_Sent Total UDP packets sent.
# TYPE UDP_Sent gauge
UDP_Sent {2}
# HELP RCU_Online Current number of online RCU units.
# TYPE RCU_Online gauge
RCU_Online {3}
# HELP RCU_TakeCard Total number of card take operations performed by RCU units.
# TYPE RCU_TakeCard gauge
RCU_TakeCard {4}
# HELP RCU_Heart Total number of heartbeats received from RCU units.
# TYPE RCU_Heart gauge
RCU_Heart {5}
# HELP RCU_SearchHost Total number of host search operations performed by RCU units.
# TYPE RCU_SearchHost gauge
RCU_SearchHost {6}
# HELP Intercept Number of intercept operations or intercepted items.
# TYPE Intercept gauge
Intercept {7}
# HELP WebUser Number of active web users currently connected.
# TYPE WebUser gauge
WebUser {8}
# HELP Energy Current energy consumption or energy level.
# TYPE Energy gauge
Energy {9}
# HELP RCU_0E Number of RCU units with type 0E status.
# TYPE RCU_0E gauge
RCU_OE {10}
# HELP TCL_Ctr Control counter or status for TCL devices.
# TYPE TCL_Ctr gauge
TCL_Ctr {11}
# HELP TM_Ctr Control counter or status for TM devices.
# TYPE TM_Ctr gauge
TM_Ctr {12}
# HELP XD_Ctr Control counter or status for XD devices.
# TYPE XD_Ctr gauge
XD_Ctr {13}
# HELP Hivi_Ctr Control counter or status for Hivi devices.
# TYPE Hivi_Ctr gauge
Hivi_Ctr {14}
# HELP UDP_Cnt_Wireshark Total UDP packets captured and analyzed by Wireshark.
# TYPE UDP_Cnt_Wireshark gauge
UDP_Cnt_Wireshark {15}

View File

@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View File

@@ -0,0 +1,13 @@
{
"ConnectionStrings": {
//"PGSqlStr": "Server=localhost;Database=postgres;user id=postgres;password=123456;port=5432;"
"PGSqlStr": "Server=122.152.232.170;Database=postgres;user id=postgres;password=t3414T\"7wCU.&15]*QFu%_4CDhJI7g2b;port=65433;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- enable asp.net core layout renderers -->
<targets>
<!--项目日志保存文件路径说明fileName="${basedir}/保存目录,以年月日的格式创建/${shortdate}/${记录器名称}-${单级记录}-${shortdate}.txt"-->
<target name="info_file" xsi:type="File"
fileName="${basedir}/Logs/${shortdate}/info_${shortdate}.txt"
layout="${longdate}|${level:uppercase=true}|${logger}|${message}|${exception:format=ToString} ${newline} ${stacktrace} ${newline}"
archiveFileName="${basedir}/archives/info_${shortdate}-{#####}.txt"
archiveAboveSize="102400"
archiveNumbering="Sequence"
concurrentWrites="true"
keepFileOpen="false" />
<target name="error_file" xsi:type="File"
fileName="${basedir}/Logs/${shortdate}/error_${shortdate}.txt"
layout="${longdate}|${level:uppercase=true}|${logger}|${message}|${exception:format=ToString} ${newline} ${stacktrace} ${newline}"
archiveFileName="${basedir}/archives/error_${shortdate}-{#####}.txt"
archiveAboveSize="102400"
archiveNumbering="Sequence"
concurrentWrites="true"
keepFileOpen="false" />
</targets>
<!--规则配置,final - 最终规则匹配后不处理任何规则-->
<!--规则配置,final - 最终规则匹配后不处理任何规则-->
<!--定义使用哪个target输出-->
<rules>
<!-- 优先级从高到低依次为OFF、FATAL、ERROR、WARN、INFO、DEBUG、TRACE、 ALL -->
<!-- 将所有日志输出到文件 -->
<logger name="*" minlevel="FATAL" maxlevel="FATAL" writeTo="info_file" />
<logger name="*" minlevel="ERROR" maxlevel="ERROR" writeTo="error_file" />
</rules>
</nlog>

View File

@@ -0,0 +1,182 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"看板定阅/1.0.0": {
"dependencies": {
"MySQLAccess": "1.0.0",
"NLog": "6.0.6"
},
"runtime": {
"看板定阅.dll": {}
}
},
"Microsoft.EntityFrameworkCore/8.0.16": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.16"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.dll": {
"assemblyVersion": "8.0.16.0",
"fileVersion": "8.0.1625.21606"
}
}
},
"Microsoft.EntityFrameworkCore.Abstractions/8.0.16": {
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
"assemblyVersion": "8.0.16.0",
"fileVersion": "8.0.1625.21606"
}
}
},
"Microsoft.EntityFrameworkCore.Relational/8.0.16": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.16"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll": {
"assemblyVersion": "8.0.16.0",
"fileVersion": "8.0.1625.21606"
}
}
},
"MySqlConnector/2.3.5": {
"runtime": {
"lib/net8.0/MySqlConnector.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.3.5.0"
}
}
},
"NLog/6.0.6": {
"runtime": {
"lib/netstandard2.1/NLog.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.6.4706"
}
}
},
"Npgsql/8.0.6": {
"runtime": {
"lib/net8.0/Npgsql.dll": {
"assemblyVersion": "8.0.6.0",
"fileVersion": "8.0.6.0"
}
}
},
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.11": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.16",
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.16",
"Microsoft.EntityFrameworkCore.Relational": "8.0.16",
"Npgsql": "8.0.6"
},
"runtime": {
"lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
"assemblyVersion": "8.0.11.0",
"fileVersion": "8.0.11.0"
}
}
},
"Pomelo.EntityFrameworkCore.MySql/8.0.3": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "8.0.16",
"MySqlConnector": "2.3.5"
},
"runtime": {
"lib/net8.0/Pomelo.EntityFrameworkCore.MySql.dll": {
"assemblyVersion": "8.0.3.0",
"fileVersion": "8.0.3.0"
}
}
},
"MySQLAccess/1.0.0": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.16",
"Microsoft.EntityFrameworkCore.Relational": "8.0.16",
"Npgsql.EntityFrameworkCore.PostgreSQL": "8.0.11",
"Pomelo.EntityFrameworkCore.MySql": "8.0.3"
},
"runtime": {
"MySQLAccess.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"看板定阅/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.EntityFrameworkCore/8.0.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-of6QttndQXVC6VOoWMDGGCkoo3I904R05g1GX55Qnw6EFXo6WuWe77/mNGbG1rlBbm7K0k68ila0AaUHHaVkiQ==",
"path": "microsoft.entityframeworkcore/8.0.16",
"hashPath": "microsoft.entityframeworkcore.8.0.16.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Abstractions/8.0.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pjkQ8mhtmzekC56TlWvMbHAme5viF81COeVlGMfpCe5KpC5sRCa1s6qcITwEpcKKVW9JT4EqKH3xHWpoHJUn2A==",
"path": "microsoft.entityframeworkcore.abstractions/8.0.16",
"hashPath": "microsoft.entityframeworkcore.abstractions.8.0.16.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Relational/8.0.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mZxHVSzGYmQWhvk98JEREmYke+NkBVsCL0q+yN23V3939qxXguSXBvnWc+zO9OfWGpYqzS80ES4I/H+xY33hoA==",
"path": "microsoft.entityframeworkcore.relational/8.0.16",
"hashPath": "microsoft.entityframeworkcore.relational.8.0.16.nupkg.sha512"
},
"MySqlConnector/2.3.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-AmEfUPkFl+Ev6jJ8Dhns3CYHBfD12RHzGYWuLt6DfG6/af6YvOMyPz74ZPPjBYQGRJkumD2Z48Kqm8s5DJuhLA==",
"path": "mysqlconnector/2.3.5",
"hashPath": "mysqlconnector.2.3.5.nupkg.sha512"
},
"NLog/6.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUd/LDIwPtufj5OxtzFYiwuoKpzaS87iqO9P9D05avLCk4jIoOlqMwRH0o/43LmzM+CmgVAdDrCOq/rOK0sDKw==",
"path": "nlog/6.0.6",
"hashPath": "nlog.6.0.6.nupkg.sha512"
},
"Npgsql/8.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KaS6CY5kY2Sd0P00MSeFcOI3t2DiQ4UWG8AuRpVOUeDWITOKfoEEG91DP3cmT6aerixPkjwKgXxnpDxIkDpO6g==",
"path": "npgsql/8.0.6",
"hashPath": "npgsql.8.0.6.nupkg.sha512"
},
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-leShR/O/nSIS3Jpj8yUBmkzaXzBbtlV326+MYkX2BwAj2qSNrUv/H6m8G9Hnv2zUkQYccTpmV5jIVq5vdciEUA==",
"path": "npgsql.entityframeworkcore.postgresql/8.0.11",
"hashPath": "npgsql.entityframeworkcore.postgresql.8.0.11.nupkg.sha512"
},
"Pomelo.EntityFrameworkCore.MySql/8.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gOHP6v/nFp5V/FgHqv9mZocGqCLGofihEX9dTbLhiXX3H7SJHmGX70GIPUpiqLT+1jIfDxg1PZh9MTUKuk7Kig==",
"path": "pomelo.entityframeworkcore.mysql/8.0.3",
"hashPath": "pomelo.entityframeworkcore.mysql.8.0.3.nupkg.sha512"
},
"MySQLAccess/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,20 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Reflection.NullabilityInfoContext.IsSupported": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long