mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-20 10:50:48 +08:00
fix: 字符串反转功能失效
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<PluginVersion>10.11.19</PluginVersion>
|
||||
<ProPluginVersion>10.11.19</ProPluginVersion>
|
||||
<DefaultVersion>10.11.19</DefaultVersion>
|
||||
<PluginVersion>10.11.20</PluginVersion>
|
||||
<ProPluginVersion>10.11.20</ProPluginVersion>
|
||||
<DefaultVersion>10.11.20</DefaultVersion>
|
||||
<AuthenticationVersion>10.11.2</AuthenticationVersion>
|
||||
<SourceGeneratorVersion>10.11.2</SourceGeneratorVersion>
|
||||
<NET8Version>8.0.19</NET8Version>
|
||||
|
@@ -145,7 +145,6 @@ public static class ByteExtensions
|
||||
|
||||
// 如果是奇数,自动补齐 0
|
||||
int evenLen = (len % 2 == 0) ? len : len + 1;
|
||||
if (evenLen == len) return inBytes;
|
||||
|
||||
Span<byte> result = new byte[evenLen];
|
||||
inBytes.CopyTo(result);
|
||||
@@ -177,7 +176,6 @@ public static class ByteExtensions
|
||||
|
||||
// 如果是奇数,自动补齐 0
|
||||
int evenLen = (len % 2 == 0) ? len : len + 1;
|
||||
if (evenLen == len) return inBytes;
|
||||
|
||||
byte[] result = new byte[evenLen];
|
||||
inBytes.CopyTo(result);
|
||||
|
@@ -37,7 +37,7 @@ public partial class SqlHistoryAlarm : BusinessBaseWithCacheAlarm
|
||||
get
|
||||
{
|
||||
#if !Management
|
||||
if (_driverPropertys.BigTextScriptHistoryTable.IsNullOrEmpty())
|
||||
if (_driverPropertys.VariableAlarmEnable && _driverPropertys.BigTextScriptHistoryTable.IsNullOrEmpty())
|
||||
return typeof(HistoryAlarmPage);
|
||||
else
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user