This commit is contained in:
2248356998 qq.com
2025-09-23 13:41:20 +08:00
parent f9cc1cbb05
commit 40c5acb522
6 changed files with 14 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<PluginVersion>10.11.65</PluginVersion> <PluginVersion>10.11.66</PluginVersion>
<ProPluginVersion>10.11.65</ProPluginVersion> <ProPluginVersion>10.11.66</ProPluginVersion>
<DefaultVersion>10.11.65</DefaultVersion> <DefaultVersion>10.11.66</DefaultVersion>
<AuthenticationVersion>10.11.6</AuthenticationVersion> <AuthenticationVersion>10.11.6</AuthenticationVersion>
<SourceGeneratorVersion>10.11.6</SourceGeneratorVersion> <SourceGeneratorVersion>10.11.6</SourceGeneratorVersion>
<NET8Version>8.0.20</NET8Version> <NET8Version>8.0.20</NET8Version>

View File

@@ -13,7 +13,7 @@ namespace ThingsGateway.Gateway.Razor;
public partial class ChannelRuntimeInfo public partial class ChannelRuntimeInfo
{ {
#if !Management #if !Management
private string Height { get; set; } = "calc(100% - 270px)"; private string Height { get; set; } = "calc(100% - 300px)";
#else #else
private string Height { get; set; } = "calc(100% - 330px)"; private string Height { get; set; } = "calc(100% - 330px)";

View File

@@ -5,7 +5,7 @@
<DeviceRuntimeInfo1 DeviceRuntime="DeviceRuntime" /> <DeviceRuntimeInfo1 DeviceRuntime="DeviceRuntime" />
<LogConsole HeightString="calc(100% - 270px)" LogLevel=@(LogLevel) <LogConsole HeightString=@Height LogLevel=@(LogLevel)
LogLevelChanged="async (logLevel)=> LogLevelChanged="async (logLevel)=>
{ {
LogLevel = logLevel; LogLevel = logLevel;

View File

@@ -12,6 +12,13 @@ namespace ThingsGateway.Gateway.Razor;
public partial class DeviceRuntimeInfo public partial class DeviceRuntimeInfo
{ {
#if !Management
private string Height { get; set; } = "calc(100% - 300px)";
#else
private string Height { get; set; } = "calc(100% - 330px)";
#endif
[Parameter, EditorRequired] [Parameter, EditorRequired]
public DeviceRuntime DeviceRuntime { get; set; } public DeviceRuntime DeviceRuntime { get; set; }

View File

@@ -77,7 +77,7 @@ ShowDesign=true;}" />
</RowButtonTemplate> </RowButtonTemplate>
</AdminTable> </AdminTable>
</div> </div>
<div class="col-12 col-sm-6 h-100"> <div class="col-12 col-sm-6 h-100 ps-2">
<RulesStatus RulesId="RulesId"></RulesStatus> <RulesStatus RulesId="RulesId"></RulesStatus>
</div> </div>

View File

@@ -11,7 +11,7 @@
@if (_rules != null) @if (_rules != null)
{ {
<LogConsole HeightString="100%" LogLevel=@(LogLevel) LogLevelChanged="(a)=>{ <LogConsole HeightString="calc(100% - 50px)" LogLevel=@(LogLevel) LogLevelChanged="(a)=>{
LogLevel=a; LogLevel=a;
return RulesEngineHostedService.SetRulesLogLevelAsync(RulesId, a); return RulesEngineHostedService.SetRulesLogLevelAsync(RulesId, a);
}" LogPath=@LogPath HeaderText="@_rules.Name"></LogConsole> }" LogPath=@LogPath HeaderText="@_rules.Name"></LogConsole>