Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>10.0.0-beta03</Version>
<Version>10.0.0-beta04</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace BootstrapBlazor.Components;
/// <summary>
/// 模拟通道信息
/// </summary>
public class HikVisionAnalogChannelInfo()
public class HikVisionAnalogChannel()
{
/// <summary>
/// 获得 通道 Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ public class HikVisionChannel
/// <summary>
/// 获得/设置 模拟通道信息集合
/// </summary>
public List<HikVisionAnalogChannelInfo> AnalogChannels { get; set; } = [];
public List<HikVisionAnalogChannel> AnalogChannels { get; set; } = [];

/// <summary>
/// 获得/设置 数字通道信息集合
/// </summary>
public List<HikVisionDigitalChannelInfo> DigitalChannels { get; set; } = [];
public List<HikVisionDigitalChannel> DigitalChannels { get; set; } = [];

/// <summary>
/// 获得/设置 数字通道信息集合
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XML documentation comment says "数字通道信息集合" (digital channel information collection), but this property represents ZeroChannels. This appears to be a copy-paste error from the DigitalChannels property above. The comment should describe what a "Zero channel" represents or use a more appropriate description.

Suggested change
/// 获得/设置 数字通道信息集合
/// 获得/设置 零通道信息集合

Copilot uses AI. Check for mistakes.
/// </summary>
public List<HikVisionZeroChannelInfo> ZeroChannels { get; set; } = [];
public List<HikVisionZeroChannel> ZeroChannels { get; set; } = [];
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace BootstrapBlazor.Components;
/// <summary>
/// 模拟通道信息
/// </summary>
public class HikVisionDigitalChannelInfo()
public class HikVisionDigitalChannel()
{
/// <summary>
/// 获得 通道 Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace BootstrapBlazor.Components;
/// <summary>
/// 模拟通道信息
/// </summary>
public class HikVisionZeroChannelInfo()
public class HikVisionZeroChannel()
{
/// <summary>
/// 获得 通道 Id
Expand Down
Loading