Weighing: Add SetDateAndTime()
All checks were successful
Test / Run tests (push) Successful in 2m22s
All checks were successful
Test / Run tests (push) Successful in 2m22s
This commit is contained in:
@ -161,5 +161,10 @@ namespace Elwig.Helpers.Weighing {
|
||||
public async Task RevokeFillingClearance() {
|
||||
await SetFillingClearance(false);
|
||||
}
|
||||
|
||||
public async Task SetDateAndTime(DateTime dateTime) {
|
||||
await SendCommand($"ST{dateTime:dd.MM.yyHH:mm:ss}");
|
||||
await ReceiveResponse();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user