mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +08:00
style(ReadStatusAsync): Move opening brace to new line
This commit is contained in:
@@ -318,7 +318,8 @@ namespace S7.Net
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is None.
|
||||
/// Please note that cancellation is advisory/cooperative and will not lead to immediate cancellation in all cases.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, with it's result set to the current PLC status on completion.</returns>
|
||||
public async Task<byte> ReadStatusAsync(CancellationToken cancellationToken = default) {
|
||||
public async Task<byte> ReadStatusAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
var dataToSend = BuildSzlReadRequestPackage(0x0424, 0);
|
||||
var s7data = await RequestTsduAsync(dataToSend, cancellationToken);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user