This commit is contained in:
sc committed 2024-11-25 23:28:00 +08:00
commit 40c8f20496
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ namespace DyeingComputer.UserClass
string DAT = e.ByteBlock.Span.ToString(Encoding.ASCII).Substring(5); string DAT = e.ByteBlock.Span.ToString(Encoding.ASCII).Substring(5);
string SYSDAT ="";// = e.ByteBlock.Span.ToString(Encoding.ASCII).Substring(5); string SYSDAT ="";// = e.ByteBlock.Span.ToString(Encoding.ASCII).Substring(5);
string SYSKEY =""; string SYSKEY ="";
if(DAT.Length>=16) SYSKEY = DAT.Substring(0,16); if (DAT.Length >= 16) SYSKEY = DAT.Substring(0,16);
if (DAT.Length > 16) SYSDAT = DAT.Substring(16); if (DAT.Length > 16) SYSDAT = DAT.Substring(16);
//LogGing.LogSQLDATA("800", "TcpServer", "API:"+ SYSAPI); //LogGing.LogSQLDATA("800", "TcpServer", "API:"+ SYSAPI);
if (SYSAPI == "SC800") if (SYSAPI == "SC800")