You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35A1.cs
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
usingMicrosoft.Extensions.DependencyInjection;
9
9
usingMicrosoft.Extensions.Logging;
10
10
11
+
usingSmdn.Net.SkStackIP;
12
+
11
13
namespaceSmdn.Devices.BP35XX;
12
14
13
15
publicclassBP35A1:BP35Base{
@@ -49,15 +51,30 @@ public static ValueTask<BP35A1> CreateAsync(
49
51
cancellationToken:cancellationToken
50
52
);
51
53
54
+
/// <summary>
55
+
/// Initializes a new instance of the <see cref="BP35A1"/> class with specifying configurations.
56
+
/// </summary>
57
+
/// <param name="configurations">
58
+
/// A <see cref="BP35A1Configurations"/> that holds the configurations to the <see cref="BP35A1"/> instance.
59
+
/// </param>
60
+
/// <param name="serviceProvider">
61
+
/// The <see cref="IServiceProvider"/>.
62
+
/// This constructor overload attempts to get a service of <see cref="IBP35SerialPortStreamFactory"/>, to create an <see cref="System.IO.Ports.SerialPort"/>.
/// Gets or sets the <see cref="string"/> value that holds the serial port name for communicating with the device that implements the SKSTACK-IP protocol.
/// Initializes a new instance of the <see cref="BP35Base"/> class with specifying the serial port name.
95
95
/// </summary>
96
-
/// <param name="configurations">
97
-
/// A <see cref="IBP35Configurations"/> that holds the configurations to the <see cref="BP35Base"/> instance.
96
+
/// <param name="serialPortName">
97
+
/// A <see cref="string"/> that holds the serial port name to which <see cref="BP35Base"/> device is connected.
98
98
/// </param>
99
99
/// <param name="serialPortStreamFactory">
100
-
/// A <see cref="IBP35SerialPortStreamFactory"/> that provides the function to create the serial port stream according to the <paramref name="configurations"/>.
100
+
/// A <see cref="IBP35SerialPortStreamFactory"/> that provides the function to create the serial port stream.
101
+
/// </param>
102
+
/// <param name="erxudpDataFormat">
103
+
/// A <see cref="SkStackERXUDPDataFormat"/> that specifies the format of the data part received in the event <c>ERXUDP</c>. See <see cref="SkStackClient.ERXUDPDataFormat"/>.
101
104
/// </param>
102
105
/// <param name="logger">The <see cref="ILogger"/> to report the situation.</param>
0 commit comments