This commit is contained in:
sc committed 2024-11-26 23:51:59 +08:00
commit 9bba26417c
2 files changed
+6 -9

No files matched your search

+3 -2
View File
@@ -75,8 +75,9 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
//从服务器收到信息。但是一般byteBlock和requestInfo会根据适配器呈现不同的值。
string SYSAPI = e.ByteBlock.Span.ToString(Encoding.ASCII).Substring(0, 5);
string DAT = e.ByteBlock.Span.ToString(Encoding.UTF8);
if (SYSAPI == "SC851")
if (SYSAPI == "SC800")
{ }
else if (SYSAPI == "SC851")
{
DAT = DAT.Substring(DAT.IndexOf("]") + 1);