Weighing: Differentiate between scale and terminal
This commit is contained in:
@@ -10,13 +10,13 @@ namespace Elwig.Helpers.Weighing {
|
||||
/// Get the current weight on the scale without performing a weighing process
|
||||
/// </summary>
|
||||
/// <returns>Result of the weighing process (probably without a weighing id)</returns>
|
||||
Task<WeighingResult> GetCurrentWeight();
|
||||
Task<WeighingResult> GetCurrentWeight(int? scaleNr = null);
|
||||
|
||||
/// <summary>
|
||||
/// Perform a weighing process
|
||||
/// </summary>
|
||||
/// <returns>Result of the weighing process (including a weighing id)</returns>
|
||||
Task<WeighingResult> Weigh();
|
||||
Task<WeighingResult> Weigh(int? scaleNr = null);
|
||||
|
||||
/// <summary>
|
||||
/// Empty the scale container or grant clearance to do so
|
||||
|
||||
Reference in New Issue
Block a user