优化规则引擎
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<AdminVersion>7.2.0.35</AdminVersion>
|
||||
<PluginVersion>9.0.2.32</PluginVersion>
|
||||
<ProPluginVersion>9.0.2.55</ProPluginVersion>
|
||||
<ProPluginVersion>9.0.2.56</ProPluginVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
@@ -111,6 +111,8 @@ public static class CSharpScriptEngineExtension
|
||||
$@"
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>9.0.2.22</Version>
|
||||
<Version>9.0.2.23</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@@ -77,7 +77,7 @@ public static class GlobalData
|
||||
public static IReadOnlyDictionary<string, VariableRunTime> ReadOnlyVariables => Variables;
|
||||
|
||||
|
||||
public static bool TryGetVariable(string key, [MaybeNullWhen(false)] out VariableRunTime value) => Variables.TryGetValue(key ,out value);
|
||||
public static bool TryGetVariable(string key, [MaybeNullWhen(false)] out VariableRunTime value) => Variables.TryGetValue(key, out value);
|
||||
public static bool TryGetCollectDevice(string key, [MaybeNullWhen(false)] out CollectDeviceRunTime value) => CollectDevices.TryGetValue(key, out value);
|
||||
public static bool TryGetBusinessDevice(string key, [MaybeNullWhen(false)] out DeviceRunTime value) => BusinessDevices.TryGetValue(key, out value);
|
||||
|
||||
|
@@ -35,7 +35,7 @@ public class Startup : AppStartup
|
||||
return (
|
||||
!logMsg.LogName.StartsWith("System") &&
|
||||
!logMsg.LogName.StartsWith("Microsoft") &&
|
||||
!logMsg.LogName.StartsWith("Blazor")&&
|
||||
!logMsg.LogName.StartsWith("Blazor") &&
|
||||
!logMsg.LogName.StartsWith("BootstrapBlazor")
|
||||
);
|
||||
};
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>7.2.0.46</Version>
|
||||
<Version>7.2.0.47</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user