Skip to content

Commit 1f3bf47

Browse files
committed
wip: 增加浏览功能
1 parent 1ef4d91 commit 1f3bf47

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<PackageReference Include="BootstrapBlazor.OctIcon" Version="9.0.4" />
6161
<PackageReference Include="BootstrapBlazor.OfficeViewer" Version="9.0.0" />
6262
<PackageReference Include="BootstrapBlazor.OnScreenKeyboard" Version="9.0.1" />
63-
<PackageReference Include="BootstrapBlazor.OpcDa" Version="9.0.0" />
63+
<PackageReference Include="BootstrapBlazor.OpcDa" Version="9.0.1" />
6464
<PackageReference Include="BootstrapBlazor.PdfReader" Version="9.0.1" />
6565
<PackageReference Include="BootstrapBlazor.PdfViewer" Version="9.0.6" />
6666
<PackageReference Include="BootstrapBlazor.Player" Version="9.0.1" />

src/BootstrapBlazor.Server/Components/Samples/OpcDa.razor

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PackageTips Name="BootstrapBlazor.OpcDa"/>
99

10-
<DemoBlock Title="@Localizer["OpcDaNormalTitle"]" Introduction="@Localizer["OpcDaNormalIntro"]" Name="Normal">
10+
<DemoBlock Title="@Localizer["OpcDaNormalTitle"]" Introduction="@Localizer["OpcDaNormalIntro"]" ShowCode="false" Name="Normal">
1111
<p class="code-label">1. 点击 <b>连接</b> 按钮与 <code>OpcDa</code> 服务器建立通讯连接</p>
1212
<p>
1313
<BootstrapInputGroup>
@@ -74,4 +74,7 @@
7474
<Button OnClick="OnCancelSubscription" Text="取消" IsDisabled="!_subscribed"></Button>
7575
</div>
7676
</div>
77+
78+
<p class="code-label">4. 浏览</p>
79+
<p>通过调用 <code>OpcDaServer</code> 的 <code>Browse</code> 方法可以构建一个节点树状结构</p>
7780
</DemoBlock>

0 commit comments

Comments
 (0)