Skip to content

Commit 0042098

Browse files
committed
doc: 更新文档
1 parent 6ee1d0e commit 0042098

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/BootstrapBlazor.Server/Components/Samples/Modbus/ModbusFactories.razor.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,12 @@
33
// See the LICENSE file in the project root for more information.
44
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
55

6-
using Longbow.Modbus;
7-
86
namespace BootstrapBlazor.Server.Components.Samples.Modbus;
97

108
/// <summary>
119
/// IModbusFactory 服务说明文档
1210
/// </summary>
1311
public partial class ModbusFactories
1412
{
15-
[Inject, NotNull]
16-
private IModbusFactory? ModbusFactory { get; set; }
17-
18-
protected override void OnInitialized()
19-
{
20-
base.OnInitialized();
2113

22-
ModbusFactory.GetOrCreateTcpMaster();
23-
}
2414
}

0 commit comments

Comments
 (0)